pygtk-2.16.0 causes python-2.7 to segfault if warning settings are changed from default to "error"
Bug #636372 reported by
Lukasz Kies
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyGTK |
Won't Fix
|
High
|
|||
Fedora |
Won't Fix
|
Medium
|
|||
PLD Linux |
Fix Released
|
Undecided
|
Unassigned |
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@beth ~]$ python -c "import warnings; warnings.
python: Objects/
Aborted
[kiesiu@beth ~]$ rpm -q python-pygtk-gtk
python-
It's a known bug for upstream (https:/
Changed in pygtk: | |
importance: | Unknown → High |
status: | Unknown → Confirmed |
Changed in pld-linux: | |
status: | New → Fix Committed |
Changed in pld-linux: | |
status: | Fix Committed → Fix Released |
Changed in fedora: | |
importance: | Unknown → Medium |
status: | Unknown → Won't Fix |
Changed in pygtk: | |
status: | Confirmed → Won't Fix |
To post a comment you must log in.
Description of problem:
Gajim crashes on startup in F-14. A minimal reproducer points to a bug either in pygtk2, gtk2, or python:
$ python filterwarnings( 'error' , module='gtk') build/BUILD/ Python- 2.7/Objects/ dictobject. c:759: PyDict_SetItem: Assertion `value' failed.
Python 2.7 (r27:82500, Jul 26 2010, 18:19:48)
[GCC 4.5.0 20100716 (Red Hat 4.5.0-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import warnings
>>> warnings.
>>> import gtk
python: /builddir/
Aborted (core dumped)
Version-Release number of selected component (if applicable): 2.17.0- 7.fc14. x86_64 21.5-2. fc14.x86_ 64 2.7-7.fc14. x86_64
pygtk2-
gtk2-2.
python-
How reproducible:
always
Steps to Reproduce:
1. execute the 3 lines in python
Actual results:
assertion failure
Expected results:
no crash