[PyKDE] mandelbrot.py

Andreas Pakulat apaku at gmx.de
Sat May 13 01:29:43 BST 2006


On 12.05.06 16:50:50, Mike Rovner wrote:
> PyQt4-x11-commercial-snapshot-20060511
> 
> After exit got:
> 
> Error in sys.excepthook:
> 
> Original exception was:
> Segmentation fault (core dumped)

I can confirm a segfault, however my Backtrace looks a bit different:

(gdb) bt
#0  0xb7dd101c in free () from /lib/tls/libc.so.6
#1  0xb692e98f in _IceFreeConnection () from /usr/lib/libICE.so.6
#2  0xb692eb6a in IceCloseConnection () from /usr/lib/libICE.so.6
#3  0xb69366f7 in SmcCloseConnection () from /usr/lib/libSM.so.6
#4  0xb6a9e6e1 in ~QSessionManager (this=0x83014a8)
    at kernel/qapplication_x11.cpp:5648
#5  0xb6a48594 in ~QApplication (this=0x8203098) at kernel/qapplication.cpp:872
#6  0xb747e595 in ~sipQApplication (this=0x8203098) at sipQtGuipart3.cpp:47778
#7  0xb7144845 in sipDelayedDtors (ddlist=0xb7d30028) at qapplication.sip:410
#8  0xb7fd49d3 in finalise () at siplib.c:901
#9  0x080ffe5e in call_ll_exitfuncs () at Python/pythonrun.c:1564
#10 0x080fd087 in Py_Finalize () at Python/pythonrun.c:451
#11 0x080ffe8e in Py_Exit (sts=0) at Python/pythonrun.c:1573
#12 0x080fe710 in handle_system_exit () at Python/pythonrun.c:1041
#13 0x080fe72e in PyErr_PrintEx (set_sys_last_vars=1) at Python/pythonrun.c:1051
#14 0x080fe44a in PyErr_Print () at Python/pythonrun.c:965
#15 0x080fdea9 in PyRun_SimpleFileExFlags (fp=0x8177008,
    filename=0xbfefb672 "mandelbrot.py", closeit=1, flags=0xbfefac00)
    at Python/pythonrun.c:864
#16 0x080fd5ce in PyRun_AnyFileExFlags (fp=0x8177008,
    filename=0xbfefb672 "mandelbrot.py", closeit=1, flags=0xbfefac00)
    at Python/pythonrun.c:664
#17 0x08056041 in Py_Main (argc=2, argv=0xbfefacf4) at Modules/main.c:484
#18 0x08055402 in main (argc=2, argv=0xbfefacf4) at Modules/python.c:23

IIRC there is another thread running about mandelbrot.py where Phil
already said that the problem seems to be that the python process has
ended before QApplication is completely deleted...

Andreas

-- 
You will attract cultured and artistic people to your home.




More information about the PyQt mailing list