Your message dated Wed, 16 Mar 2011 12:48:12 +0000
with message-id <[email protected]>
and subject line Bug#580791: fixed in pygobject 2.28.0-1
has caused the Debian Bug report #580791,
regarding python-gobject: glib.main_context_default() causes immediate segfault
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
580791: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580791
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-gobject
Version: 2.21.1-1
Severity: normal
[crybaby /tmp/mdw]cat break.py
import glib
print glib.main_context_default()
[crybaby /tmp/mdw]python break.py
Segmentation fault
What's going on? glib/pyglib.c seems to be somewhat confused about how
it's getting hold of its type objects. Rather than just using the handy
PyGMainContext_Type structure lying around, it says
static PyTypeObject *_PyGMainContext_Type;
#define PyGMainContext_Type (*_PyGMainContext_Type)
and relies on pyglib_init() saying
_PyGMainContext_Type = (PyTypeObject*)PyObject_GetAttrString(glib,
"MainContext");
to initialize this -- but /doesn't call pyglib_init() anywhere/. Now,
when pyglib_main_context_new says
self = (PyGMainContext *)PyObject_NEW(PyGMainContext,
&PyGMainContext_Type);
it's using the macro, which indirects through _PyGMainContext_Type,
which is still a null pointer. Result: segfault.
Workaround: import gobject, which calls pyglib_init() and sets the
pointer up.
Proper fix: either initialize the pointers properly, or at least put
pyglib_main_context_new in a different source file.
This bug is also in Ubuntu Lucid and Maemo Fremantle.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.31.9 (PREEMPT)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-gobject depends on:
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libffi5 3.0.9-2 Foreign Function Interface library
ii libglib2.0-0 2.24.0-1 The GLib library of C routines
ii python 2.5.4-9 An interactive high-level object-o
ii python-support 1.0.8 automated rebuilding support for P
ii python2.5 2.5.5-6 An interactive high-level object-o
python-gobject recommends no packages.
Versions of packages python-gobject suggests:
pn python-gobject-dbg <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: pygobject
Source-Version: 2.28.0-1
We believe that the bug you reported is fixed in the latest version of
pygobject, which is due to be installed in the Debian FTP archive:
pygobject_2.28.0-1.debian.tar.gz
to main/p/pygobject/pygobject_2.28.0-1.debian.tar.gz
pygobject_2.28.0-1.dsc
to main/p/pygobject/pygobject_2.28.0-1.dsc
pygobject_2.28.0.orig.tar.gz
to main/p/pygobject/pygobject_2.28.0.orig.tar.gz
python-gobject-cairo_2.28.0-1_amd64.deb
to main/p/pygobject/python-gobject-cairo_2.28.0-1_amd64.deb
python-gobject-dbg_2.28.0-1_amd64.deb
to main/p/pygobject/python-gobject-dbg_2.28.0-1_amd64.deb
python-gobject-dev_2.28.0-1_all.deb
to main/p/pygobject/python-gobject-dev_2.28.0-1_all.deb
python-gobject_2.28.0-1_amd64.deb
to main/p/pygobject/python-gobject_2.28.0-1_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Laurent Bigonville <[email protected]> (supplier of updated pygobject package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 16 Mar 2011 13:28:29 +0100
Source: pygobject
Binary: python-gobject python-gobject-cairo python-gobject-dev
python-gobject-dbg
Architecture: source amd64 all
Version: 2.28.0-1
Distribution: experimental
Urgency: low
Maintainer: Josselin Mouette <[email protected]>
Changed-By: Laurent Bigonville <[email protected]>
Description:
python-gobject - Python bindings for the GObject library
python-gobject-cairo - Python Cairo bindings for the GObject library
python-gobject-dbg - Python bindings for the GObject library (debug extension)
python-gobject-dev - Development headers for the GObject Python bindings
Closes: 580791 618557
Changes:
pygobject (2.28.0-1) experimental; urgency=low
.
* New upstream stable release:
- Fix glib.main_context_default() causes immediate segfault
(Closes: #580791)
- Fix import error with GTK3 gir binding (Closes: #618557)
* debian/control.in:
- Bump python-cairo-dev and gobject-introspection build-dependencies
- Bump python-gobject-dev dependency against libglib2.0-dev
- Drop Build-Conflicts against python2.3-dev (<< 2.3.5)
- Drop C/R/P against python-gobject-doc
- Drop Conflicts against python-gtk2{-dev,} (<< 2.10)
* debian/rules: Adjust installation path for cairo binding
* debian/copyright: Update copyright file
* debian/rules: Remove explicit calls to quilt as we are using '3.0 (quilt)'
format
* d/p/30_[gi-overrides]-fix-exception-block-so-it-works-in-Python-2.5.patch:
Make exception compatible with python 2.5 (taken from upstream)
Checksums-Sha1:
d9ffc1139aed4f1216881896c5fb01bf8aad958d 2008 pygobject_2.28.0-1.dsc
a96dc1b97d31b5958af9f1e11034090c11070bd4 1161686 pygobject_2.28.0.orig.tar.gz
403e2d8459689db4bc9600a9ce29366093a38d48 9942 pygobject_2.28.0-1.debian.tar.gz
805a9f10c049d4115ebe33e87e3b227c7dfe13db 664022
python-gobject_2.28.0-1_amd64.deb
37eae718815ae7a9724b8df1d25c83122ba30a21 109326
python-gobject-cairo_2.28.0-1_amd64.deb
7c2f06c5d26a1e307470aedd381b227c6fb1d424 2154434
python-gobject-dbg_2.28.0-1_amd64.deb
a25a284be0cb579d0fd7ea3dff49136116bcea30 374294
python-gobject-dev_2.28.0-1_all.deb
Checksums-Sha256:
8c85ce974a5468075eaefa39689dd4c246969ea85c1f0529a71ebab8be292885 2008
pygobject_2.28.0-1.dsc
751bf3db76896261026e711fba42aa09b46a3cfee840abbbfe48edc44f51c139 1161686
pygobject_2.28.0.orig.tar.gz
dc51ed963a9407de7261ab1876a16c7916b49aadb770fa362b06f4cdaeed9130 9942
pygobject_2.28.0-1.debian.tar.gz
32551f88221505163265306559273dcc78358f38d72b81020e3cb5ffb14b6daa 664022
python-gobject_2.28.0-1_amd64.deb
db9cd1ec31ecd6d708d07f21869b1615c0224afba767a424ae9b401c3277ff40 109326
python-gobject-cairo_2.28.0-1_amd64.deb
d71a47e95550ea93b6fa538189e565a656cd127e29a65e435178cf83b6a5552a 2154434
python-gobject-dbg_2.28.0-1_amd64.deb
fdd20ffbeff75d39458922ba53649abedc55f825f241339671845419ab820d16 374294
python-gobject-dev_2.28.0-1_all.deb
Files:
30a8a68286be351b762d9d506730ce46 2008 python optional pygobject_2.28.0-1.dsc
b10c8afd22930ae40cb5878189389372 1161686 python optional
pygobject_2.28.0.orig.tar.gz
47ba9c9f29541ea6ee864d42385e6f67 9942 python optional
pygobject_2.28.0-1.debian.tar.gz
69f3887e6e8d61df7278d9868f3dcd52 664022 python optional
python-gobject_2.28.0-1_amd64.deb
1eb7ec3aa8dac4a54971ecbb732cbb5c 109326 python optional
python-gobject-cairo_2.28.0-1_amd64.deb
5f9edbc3096beb08f65aca46f75524bf 2154434 debug extra
python-gobject-dbg_2.28.0-1_amd64.deb
05469d6cf981e0e929fad122ffb07c85 374294 python optional
python-gobject-dev_2.28.0-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEcBAEBCAAGBQJNgK6HAAoJEB/FiR66sEPV2SUH/2110qVqn62YsRVtoYtQzIeG
6U91P3ggnaIRK885eJxk2nbsPwY7LSJKgyaAiNDG3rTmG5eNa64zbCpiWgN9TE/v
B+XHxVSTUpvMB1bv6PdbhX8FJwwAN/jwzI+on+6ZMsWGqQZqGhh8mCYzNLTJnpDC
ar2i3Yd9DJLs3B7AXnf7MhpX14O/REY8eImiCBqfQesClTFHg8EIAz5ni3KRamBM
hstkTKPweaO+/xZF58c8X6n6THE2iGZUveGNuA4a63PuB/C7azp9OZizco2lo8Z1
KcFqheN314CrihD2dMDMzgq3sMEOBbryWaC7IddXBuZOjqU4e3LO0Pp8Aa/hpXU=
=Pmgv
-----END PGP SIGNATURE-----
--- End Message ---