Bug 461121 - python gtk2 programs segfaulting on x86_64
python gtk2 programs segfaulting on x86_64
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: pygtk2 (Show other bugs)
rawhide
x86_64 Linux
medium Severity urgent
: ---
: ---
Assigned To: Matthew Barnes
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-04 08:06 EDT by Saikat Guha
Modified: 2008-09-21 17:23 EDT (History)
0 users

See Also:
Fixed In Version: rawhide
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-09-21 17:23:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Saikat Guha 2008-09-04 08:06:47 EDT
A number of gtk2 based python programs (meld, bittorrent, etc.) are segfaulting on startup on x86_64 with pygtk2-2.13.0-2.fc10.x86_64.

Seems to be crashing during gtk init.

[saikat@dent ~]$ gdb python
(gdb) r /usr/bin/meld
Starting program: /usr/bin/python /usr/bin/meld
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff70536f0 (LWP 4582)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff081ccdb in pygtk_register_classes (d=0x708640) at gtk.c:119090
119090	    pyg_register_interface(d, "CellEditable", GTK_TYPE_CELL_EDITABLE, &PyGtkCellEditable_Type);
Missing separate debuginfos, use: debuginfo-install libX11.x86_64 libXau.x86_64 libXcomposite.x86_64 libXcursor.x86_64 libXdmcp.x86_64 libXext.x86_64 libXfixes.x86_64 libXi.x86_64 libXinerama.x86_64 libXrandr.x86_64 libXrender.x86_64 libpng.x86_64 libselinux.x86_64 libxcb.x86_64 pixman.x86_64 pycairo.x86_64 pygobject2.x86_64
(gdb) bt
#0  0x00007ffff081ccdb in pygtk_register_classes (d=0x708640) at gtk.c:119090
#1  0x00007ffff0731fff in init_gtk () at gtkmodule.c:225
#2  0x00007ffff7d4a0e6 in _PyImport_LoadDynamicModule (name=0x7fffffff8680 "gtk._gtk", 
    pathname=0x7fffffff75a0 "/usr/lib64/python2.5/site-packages/gtk-2.0/gtk/_gtk.so", fp=<value optimized out>) at Python/importdl.c:53
#3  0x00007ffff7d484d9 in import_submodule (mod=0x7ffff22f48d8, subname=0x7ffff22f6b64 "_gtk", fullname=0x7fffffff8680 "gtk._gtk")
    at Python/import.c:2394
#4  0x00007ffff7d48a69 in ensure_fromlist (mod=0x7ffff22f48d8, fromlist=0x7ffff22f07d0, buf=0x7fffffff8680 "gtk._gtk", buflen=3, 
    recursive=0) at Python/import.c:2305
#5  0x00007ffff7d48ff0 in import_module_level (name=0x0, globals=<value optimized out>, locals=<value optimized out>, 
    fromlist=0x7ffff22f07d0, level=<value optimized out>) at Python/import.c:2032
#6  0x00007ffff7d49125 in PyImport_ImportModuleLevel (name=0x7ffff7009f54 "gtk", globals=0x6bcc90, locals=0x6bcc90, 
    fromlist=0x7ffff22f07d0, level=-1) at Python/import.c:2066
#7  0x00007ffff7d2c9cd in builtin___import__ (self=<value optimized out>, args=<value optimized out>, kwds=<value optimized out>)
    at Python/bltinmodule.c:47
#8  0x00007ffff7cb2173 in PyObject_Call (func=0x708640, arg=0x7ffff0872fdd, kw=0x77d530) at Objects/abstract.c:1860
#9  0x00007ffff7d2cfc1 in PyEval_CallObjectWithKeywords (func=0x7ffff701f5f0, arg=0x7ffff22f55d0, kw=0x0) at Python/ceval.c:3433
#10 0x00007ffff7d2f940 in PyEval_EvalFrameEx (f=0x6bd0c0, throwflag=<value optimized out>) at Python/ceval.c:2063
#11 0x00007ffff7d34765 in PyEval_EvalCodeEx (co=0x7ffff22f87b0, globals=<value optimized out>, locals=<value optimized out>, args=0x0, 
    argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2831
#12 0x00007ffff7d349a2 in PyEval_EvalCode (co=0x708640, globals=0x7ffff0872fdd, locals=0x77d530) at Python/ceval.c:494
#13 0x00007ffff7d46b60 in PyImport_ExecCodeModuleEx (name=0x7fffffffccb0 "gtk", co=0x7ffff22f87b0, 
    pathname=0x7fffffff9b00 "/usr/lib64/python2.5/site-packages/gtk-2.0/gtk/__init__.pyc") at Python/import.c:669
#14 0x00007ffff7d46de8 in load_source_module (name=0x7fffffffccb0 "gtk", 
    pathname=0x7fffffff9b00 "/usr/lib64/python2.5/site-packages/gtk-2.0/gtk/__init__.pyc", fp=<value optimized out>)
    at Python/import.c:953
#15 0x00007ffff7d47d97 in load_package (name=0x7fffffffccb0 "gtk", pathname=<value optimized out>) at Python/import.c:1009
#16 0x00007ffff7d484d9 in import_submodule (mod=0x7ffff7fbe890, subname=0x7fffffffccb0 "gtk", fullname=0x7fffffffccb0 "gtk")
    at Python/import.c:2394
#17 0x00007ffff7d48772 in load_next (mod=0x7ffff7fbe890, altmod=0x7ffff7fbe890, p_name=<value optimized out>, buf=0x7fffffffccb0 "gtk", 
    p_buflen=0x7fffffffcca8) at Python/import.c:2214
#18 0x00007ffff7d48dbf in import_module_level (name=0x0, globals=0x6245a0, locals=<value optimized out>, fromlist=0x7ffff7fbe890, 
    level=-1) at Python/import.c:1995
#19 0x00007ffff7d49125 in PyImport_ImportModuleLevel (name=0x7ffff7009f54 "gtk", globals=0x6245a0, locals=0x6245a0, 
    fromlist=0x7ffff7fbe890, level=-1) at Python/import.c:2066
#20 0x00007ffff7d2c9cd in builtin___import__ (self=<value optimized out>, args=<value optimized out>, kwds=<value optimized out>)
    at Python/bltinmodule.c:47
#21 0x00007ffff7cb2173 in PyObject_Call (func=0x708640, arg=0x7ffff0872fdd, kw=0x77d530) at Objects/abstract.c:1860
#22 0x00007ffff7d2cfc1 in PyEval_CallObjectWithKeywords (func=0x7ffff701f5f0, arg=0x7ffff702c838, kw=0x0) at Python/ceval.c:3433
#23 0x00007ffff7d2f940 in PyEval_EvalFrameEx (f=0x61c300, throwflag=<value optimized out>) at Python/ceval.c:2063
#24 0x00007ffff7d34765 in PyEval_EvalCodeEx (co=0x7ffff6ff3af8, globals=<value optimized out>, locals=<value optimized out>, args=0x0, 
    argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2831
#25 0x00007ffff7d349a2 in PyEval_EvalCode (co=0x708640, globals=0x7ffff0872fdd, locals=0x77d530) at Python/ceval.c:494
#26 0x00007ffff7d50601 in run_mod (mod=<value optimized out>, filename=<value optimized out>, globals=0x6245a0, locals=0x6245a0, 
    flags=<value optimized out>, arena=<value optimized out>) at Python/pythonrun.c:1271
#27 0x00007ffff7d506d6 in PyRun_FileExFlags (fp=0x601010, filename=0x7fffffffe692 "/usr/bin/meld", start=257, globals=0x6245a0, 
    locals=0x6245a0, closeit=1, flags=0x7fffffffe2c0) at Python/pythonrun.c:1257
---Type <return> to continue, or q <return> to quit---
#28 0x00007ffff7d51cbd in PyRun_SimpleFileExFlags (fp=0x601010, filename=0x7fffffffe692 "/usr/bin/meld", closeit=1, flags=0x7fffffffe2c0)
    at Python/pythonrun.c:877
#29 0x00007ffff7d5bc11 in Py_Main (argc=1, argv=<value optimized out>) at Modules/main.c:523
#30 0x00007ffff7073566 in __libc_start_main (main=0x400710 <main>, argc=2, ubp_av=0x7fffffffe3d8, init=0x400730 <__libc_csu_init>,

Note You need to log in before you can comment on or make changes to this bug.