GNOME Bugzilla – Bug 550463
importing gtk crashes on x86_64
Last modified: 2008-09-04 00:19:47 UTC
This is on Mandriva Cooker x86_64, i586 is not affected: $ gdb python GNU gdb 6.8-2mdv2009.0 (Mandriva Linux release 2009.0) Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-mandriva-linux-gnu"... (gdb) run Starting program: /usr/bin/python [Thread debugging using libthread_db enabled] Python 2.5.2 (r252:60911, Aug 25 2008, 10:52:07) [GCC 4.3.1 20080626 (prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. [New Thread 0x2baa99323fa0 (LWP 20938)] >>> import gtk Program received signal SIGSEGV, Segmentation fault. 0x00002baa9a8ebd1b in pygtk_register_classes (d=0x75d540) at gtk.c:119090 119090 pyg_register_interface(d, "CellEditable", GTK_TYPE_CELL_EDITABLE, &PyGtkCellEditable_Type); Missing debug package(s), you should install: ncurses-debug readline-debug (gdb) bt
+ Trace 206157
This is with pygtk 2.13.0 and pygobject 2.15.3.
I get this too on x86-64 and not on i386; it's probably a pygobject 2.15.3 bug as it doesn't happen with pygobject 2.15.2 (pygtk 2.12 in both cases).
Bug 544946 is getting TONS of duplicates and its fix depends on pygtkobject 2.15.3 which is not shipped by distros because of amd64 platform. We can't block duplicates because the stacktrace is too short. This is an urgent issue because of the bugsquad workload.
*** Bug 547976 has been marked as a duplicate of this bug. ***
*** Bug 550517 has been marked as a duplicate of this bug. ***
*** Bug 550518 has been marked as a duplicate of this bug. ***
*** Bug 550522 has been marked as a duplicate of this bug. ***
*** Bug 550554 has been marked as a duplicate of this bug. ***
*** Bug 550534 has been marked as a duplicate of this bug. ***
*** Bug 550515 has been marked as a duplicate of this bug. ***
*** Bug 550511 has been marked as a duplicate of this bug. ***
*** Bug 550531 has been marked as a duplicate of this bug. ***
*** Bug 550544 has been marked as a duplicate of this bug. ***
Fixed in pygobject 2.15.4.
For the records: http://svn.gnome.org/viewvc/pygobject/trunk/gobject/pygpointer.c?r1=961&r2=960&pathrev=961