[PyQt] Fwd: segfault after upgrades

Kerri Reno kreno at yumaed.org
Wed May 12 20:56:32 BST 2010


Our system manager upgraded our development server this past weekend as
follows:
ubuntu 9.04 to 10.04
pyqt 4.4.4-2ubuntu6 to 4.7.2
qt 4.5.0-0ubuntu4.3 to 4.6.2

Since the upgrade, I've been getting 'Segmentation fault (core dumped)' when
I close any pyqt UI (with either a menu or the close box).  I tried to track
down the issue to send you a small piece of code, but it's not consistent.
It seems like when there are lots of widgets on the UI, it always gives the
segfault upon closing.  If there are few widgets, for example 8 widgets and
3 layouts, then it only segfaults about every third time.  I can send you a
small bit of code, but I'm not sure that will help, since it's so
inconsistent.  Below is the backtrace that my system manager provided from
the core dump.

Has anyone else seen this issue?  I hope you can help, because we want to
upgrade the production server, too.

Kerri

GDB backtrace:

(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007f258caaaf66 in ~QMultiInputContext (this=0x329de50,
   __in_chrg=<value optimized out>) at qmultiinputcontext.cpp:110
#2  0x00007f25a69bf76e in qt_cleanup () at kernel/qapplication_x11.cpp:
2605
#3  0x00007f25a694d66c in ~QApplication (this=0x2e5c010,
   __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1084
#4  0x00007f25a78ea898 in ~sipQApplication (this=0x2e5c010,
   __in_chrg=<value optimized out>) at sipQtGuipart9.cpp:18458
#5  0x00007f25a78d87f7 in release_QApplication (sipCppV=0x2e5c010,
   sipState=<value optimized out>) at sipQtGuipart9.cpp:21076
#6  0x00007f25a2f4179c in forgetObject (sw=0x2e6b790)
   at /build/buildd/sip4-qt3-4.10.1/siplib/siplib.c:9663
#7  0x00007f25a2f40e6e in sipWrapper_dealloc (self=0x2e6b790)
   at /build/buildd/sip4-qt3-4.10.1/siplib/siplib.c:9218
#8  0x0000000000486a47 in subtype_dealloc (self=
   <QApplication at remote 0x2e6b790>) at ../Objects/typeobject.c:1019
#9  0x0000000000463d4e in _Py_Dealloc (op=<QApplication at remote
0x2e6b790>)
   at ../Objects/object.c:2198
#10 0x0000000000458baa in insertdict (mp=0x17ba560, key='app',
   hash=1453079729206098186, value=None) at ../Objects/dictobject.c:459
#11 0x00000000004594b8 in PyDict_SetItem (op=Traceback (most recent call
last):
 File "/usr/lib/debug/usr/bin/python2.6-dbg-gdb.py", line 1054, in to_string
   pyop = PyObjectPtr.from_pyobject_ptr(self.gdbval)
 File "/usr/lib/debug/usr/bin/python2.6-dbg-gdb.py", line 343, in
from_pyobject_ptr


-- 
If you have an emergency, and can't reach me, please call Craig at
928-257-4980 or the help desk at 928-502-4202.
.·:*¨¨*:·.   .·:*¨¨*:·.   .·:*¨¨*:·.
Yuma Educational Computer Consortium
Compass Development Team
Kerri Reno
kreno at yumaed.org      (928) 502-4240
.·:*¨¨*:·.   .·:*¨¨*:·.   .·:*¨¨*:·.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100512/01880018/attachment.html>


More information about the PyQt mailing list