[PyKDE] Segmentation fault, when compiling with gcc-3.2
Willi Richert
w.richert at gmx.net
Mon Nov 11 21:08:01 GMT 2002
Hi,
everytime I instantiate a QApplication object I get a segfault.
I compiled it using qt-3.0.5 and gcc-3.2
sip and qt both v3.4
Any hint, what's wrong?
wr
Dump =================================================================
(gdb) bt
#0 0x4002e0cd in pthread_mutex_lock () from /lib/libpthread.so.0
#1 0x4018c628 in free () from /lib/libc.so.6
#2 0x41162037 in _XimCheckIfLocalProcessing () from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
#3 0x411618a9 in _XimOpenIM () from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
#4 0x408edb98 in _XDynamicOpenIM () from /usr/X11R6/lib/libX11.so.6
#5 0x411610bf in _XimRegisterIMInstantiateCallback () from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
#6 0x408edcc6 in _XDynamicRegisterIMInstantiateCallback () from /usr/X11R6/lib/libX11.so.6
#7 0x408cd548 in XRegisterIMInstantiateCallback () from /usr/X11R6/lib/libX11.so.6
#8 0x403be246 in qt_init_internal(int*, char**, _XDisplay*, unsigned long, unsigned long) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#9 0x403bf89e in qt_init(int*, char**, QApplication::Type) () from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x40420dc0 in QApplication::construct(int&, char**, QApplication::Type) ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x40420a0c in QApplication::QApplication(int&, char**) () from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x410a7ac0 in sipQApplication::sipQApplication(int&, char**) ()
from /usr/lib/python2.2/site-packages/libqtcmodule.so
#13 0x410ad2ad in sipNew_QApplication(_object*, _object*) ()
from /usr/lib/python2.2/site-packages/libqtcmodule.so
#14 0x4001c670 in sipCallCtor () from /usr/lib/python2.2/site-packages/libsip.so
#15 0x40d4bb49 in callCtor(_object*, _object*) () from /usr/lib/python2.2/site-packages/libqtcmodule.so
#16 0x080dd607 in PyCFunction_Call (func=0x8147270, arg=0x823b588, kw=0x83353e0) at Objects/methodobject.c:89
#17 0x080791c2 in eval_frame (f=0x81426a4) at Python/ceval.c:2014
#18 0x08079bfc in PyEval_EvalCodeEx (co=0x82a57f8, globals=0x410, locals=0x0, args=0x825a610, argcount=2,
kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2595
#19 0x080d0574 in function_call (func=0x8183e94, arg=0x825a604, kw=0x0) at Objects/funcobject.c:374
#20 0x080bd8fe in PyObject_Call (func=0x0, arg=0x825a604, kw=0x0) at Objects/abstract.c:1688
#21 0x080c4f81 in instancemethod_call (func=0x8183e94, arg=0x825a604, kw=0x0) at Objects/classobject.c:2292
#22 0x080bd8fe in PyObject_Call (func=0x0, arg=0x8133c34, kw=0x0) at Objects/abstract.c:1688
#23 0x0807a9a9 in PyEval_CallObjectWithKeywords (func=0x8185634, arg=0x8133c34, kw=0x0) at Python/ceval.c:3058
#24 0x080bf60c in PyInstance_New (klass=0x8183dcc, arg=0x8133c34, kw=0x0) at Objects/classobject.c:557
#25 0x080bd8fe in PyObject_Call (func=0x0, arg=0x8133c34, kw=0x0) at Objects/abstract.c:1688
#26 0x0807ac66 in do_call (func=0x8183dcc, pp_stack=0xbffff124, na=1, nk=135806412) at Python/ceval.c:3271
#27 0x0807909b in eval_frame (f=0x813a55c) at Python/ceval.c:2037
#28 0x08079bfc in PyEval_EvalCodeEx (co=0x8131300, globals=0x8183dcc, locals=0x0, args=0x812aeec, argcount=0,
kws=0x812aeec, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2595
#29 0x0807abad in fast_function (func=0x8183dcc, pp_stack=0x8183dcc, n=135806412, na=0, nk=135442156)
at Python/ceval.c:3170
#30 0x08079119 in eval_frame (f=0x812ad9c) at Python/ceval.c:2034
#31 0x08079bfc in PyEval_EvalCodeEx (co=0x82711e8, globals=0x8183dcc, locals=0x8123e34, args=0x0, argcount=0,
kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2595
#32 0x0807c205 in PyEval_EvalCode (co=0x82711e8, globals=0x8123e34, locals=0x8123e34) at Python/ceval.c:481
#33 0x080a1209 in run_node (n=0x811a888, filename=0x80e34ea "<stdin>", globals=0x8123e34, locals=0x8123e34,
flags=0xbffff468) at Python/pythonrun.c:1079
#34 0x080a07e3 in PyRun_InteractiveOneFlags (fp=0x40233de0, filename=0x80e34ea "<stdin>", flags=0xbffff468)
at Python/pythonrun.c:590
#35 0x080a05dc in PyRun_InteractiveLoopFlags (fp=0x40233de0, filename=0x80e34ea "<stdin>", flags=0xbffff468)
at Python/pythonrun.c:526
#36 0x080a1bc6 in PyRun_AnyFileExFlags (fp=0x40233de0, filename=0x80e34ea "<stdin>", closeit=0,
flags=0xbffff468) at Python/pythonrun.c:489
#37 0x08053235 in Py_Main (argc=0, argv=0xbffff4f4) at Modules/main.c:364
#38 0x08052dd9 in main (argc=1, argv=0xbffff4f4) at Modules/python.c:10
#39 0x401364a2 in __libc_start_main () from /lib/libc.so.6
More information about the PyQt
mailing list