[Bug 636372] Re: pygtk-2.16.0 causes python-2.7 to segfault if warning settings are changed from default to "error"

Elan Ruusamäe 636372 at bugs.launchpad.net
Tue Sep 21 21:01:19 CEST 2010


main pkg built

python-pygtk-2.16.0-3.src.rpm (python-pygtk.spec -r HEAD) [th-x86_64:OK
th-i486:OK th-i686:OK]

two packages manually increased release (due bad / absent %rel macro usage)
neatx-0.1-0.r59.2.src.rpm (neatx.spec -r HEAD) [th-x86_64:OK th-i486:OK th-i686:OK]
compiz-fusion-icon-0.1.0-0.080712git.5.src.rpm (compiz-fusion-icon.spec -r HEAD) [th-x86_64:OK th-i486:OK th-i686:OK]

the rest sent with ./relup.sh -i */*.spec

-- 
pygtk-2.16.0 causes python-2.7 to segfault if warning settings are changed from default to "error"
https://bugs.launchpad.net/bugs/636372
You received this bug notification because you are subscribed to PLD
Linux.

Status in PyGTK: GTK+ for Python: Confirmed
Status in Fedora: Unknown
Status in PLD Linux Distribution: New

Bug description:
python-pygtk-2.16.0 causes python-2.7 to segfault if warning settings are changed from default to "error".
Because PyGTK-2.10+ throws only warnings applications which use PyGTK change warning settings to catch an exception while importing gtk module and X display is not available.

[kiesiu at beth ~]$ python -c "import warnings; warnings.filterwarnings('error', module='gtk'); import gtk"
python: Objects/dictobject.c:759: PyDict_SetItem: Assertion `value' failed.
Aborted

[kiesiu at beth ~]$ rpm -q python-pygtk-gtk
python-pygtk-gtk-2.16.0-2.i686

It's a known bug for upstream (https://bugzilla.gnome.org/show_bug.cgi?id=623965) and downstream (https://bugzilla.redhat.com/show_bug.cgi?id=621887).




More information about the pld-bugs mailing list