[PyQt] Re: segfaults in a couple libraries with sip 4.7.6 and pyqt4 4.4.2 on linux

Erick Tryzelaar idadesub at users.sourceforge.net
Wed May 28 22:35:44 BST 2008


We managed to get the stack trace inside sip, if this helps:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912506839232 (LWP 11879)]
0x00002aaab4432cab in getClassType (enc=0x2aaaaf8d9b30, em=0x0) at siplib.c:6108
6108            em = em->em_imports[enc->sc_module].im_module;
(gdb) bt
#0  0x00002aaab4432cab in getClassType (enc=0x2aaaaf8d9b30, em=0x0) at
siplib.c:6108
#1  0x00002aaab443becf in sip_api_export_module
(client=0x2aaaaf8d9740, api_major=Variable "api_major" is not
available.
) at siplib.c:3786
#2  0x00002aaaaf461435 in sip_init_QtHelp () at sipQtHelpcmodule.cpp:215
#3  0x00002aaaaf54b973 in sip_init (arg=Variable "arg" is not available.
) at sip_qtcmodule.cpp:9741
#4  0x00002aaaaabfc7e0 in PyObject_Call () from /usr/lib64/libpython2.4.so.1.0
#5  0x00002aaaaabfd2ac in PyObject_CallMethod () from
/usr/lib64/libpython2.4.so.1.0
#6  0x00002aaaae8b7694 in initQtHelp () at sipQtHelpcmodule.c:56
#7  0x00002aaaaac7390d in _PyImport_LoadDynamicModule () from
/usr/lib64/libpython2.4.so.1.0
#8  0x00002aaaaac71e4d in PyImport_ReloadModule () from
/usr/lib64/libpython2.4.so.1.0
#9  0x00002aaaaac722cc in PyImport_ReloadModule () from
/usr/lib64/libpython2.4.so.1.0
#10 0x00002aaaaac72511 in PyImport_ImportModuleEx () from
/usr/lib64/libpython2.4.so.1.0
#11 0x00002aaaaac52fb3 in _PyBuiltin_Init () from /usr/lib64/libpython2.4.so.1.0
#12 0x00002aaaaabfc7e0 in PyObject_Call () from /usr/lib64/libpython2.4.so.1.0
#13 0x00002aaaaac55f4d in PyEval_CallObjectWithKeywords () from
/usr/lib64/libpython2.4.so.1.0
#14 0x00002aaaaac57d01 in PyEval_EvalFrame () from
/usr/lib64/libpython2.4.so.1.0
#15 0x00002aaaaac5c485 in PyEval_EvalCodeEx () from
/usr/lib64/libpython2.4.so.1.0
#16 0x00002aaaaac5c4d2 in PyEval_EvalCode () from /usr/lib64/libpython2.4.so.1.0
#17 0x00002aaaaac788e9 in Py_CompileString () from
/usr/lib64/libpython2.4.so.1.0
#18 0x00002aaaaac79b80 in PyRun_SimpleStringFlags () from
/usr/lib64/libpython2.4.so.1.0
#19 0x00002aaaaac7fe56 in Py_Main () from /usr/lib64/libpython2.4.so.1.0
#20 0x00002aaaab2b6e54 in __libc_start_main () from /lib64/libc.so.6
#21 0x0000000000400659 in _start ()
#22 0x00007fff52877108 in ?? ()
#23 0x0000000000000000 in ?? ()
(gdb) p em
$1 = (sipExportedModuleDef *) 0x0


More information about the PyQt mailing list