<div class="gmail_quote">Our system manager upgraded our development server this past weekend as follows:<br>ubuntu 9.04 to 10.04<br>pyqt 4.4.4-2ubuntu6 to 4.7.2<br>qt 4.5.0-0ubuntu4.3 to 4.6.2<br><br>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.<br>
<br>Has anyone else seen this issue? I hope you can help, because we want to upgrade the production server, too.<br><br>Kerri<br><font color="#888888"><br></font>GDB backtrace:<br>
<br>
(gdb) bt<br>
#0 0x0000000000000000 in ?? ()<br>
#1 0x00007f258caaaf66 in ~QMultiInputContext (this=0x329de50,<br>
__in_chrg=<value optimized out>) at qmultiinputcontext.cpp:110<br>
#2 0x00007f25a69bf76e in qt_cleanup () at kernel/qapplication_x11.cpp:<div id=":27o" class="ii gt">2605<br>
#3 0x00007f25a694d66c in ~QApplication (this=0x2e5c010,<br>
__in_chrg=<value optimized out>) at
kernel/qapplication.cpp:1084<br>
#4 0x00007f25a78ea898 in ~sipQApplication (this=0x2e5c010,<br>
__in_chrg=<value optimized out>) at sipQtGuipart9.cpp:18458<br>
#5 0x00007f25a78d87f7 in release_QApplication (sipCppV=0x2e5c010,<br>
sipState=<value optimized out>) at sipQtGuipart9.cpp:21076<br>
#6 0x00007f25a2f4179c in forgetObject (sw=0x2e6b790)<br>
at /build/buildd/sip4-qt3-4.10.1/siplib/siplib.c:9663<br>
#7 0x00007f25a2f40e6e in sipWrapper_dealloc (self=0x2e6b790)<br>
at /build/buildd/sip4-qt3-4.10.1/siplib/siplib.c:9218<br>
#8 0x0000000000486a47 in subtype_dealloc (self=<br>
<QApplication at remote 0x2e6b790>) at
../Objects/typeobject.c:1019<br>
#9 0x0000000000463d4e in _Py_Dealloc (op=<QApplication at remote
0x2e6b790>)<br>
at ../Objects/object.c:2198<br>
#10 0x0000000000458baa in insertdict (mp=0x17ba560, key='app',<br>
hash=1453079729206098186, value=None) at ../Objects/dictobject.c:459<br>
#11 0x00000000004594b8 in PyDict_SetItem (op=Traceback (most recent call
last):<br>
File "/usr/lib/debug/usr/bin/<a href="http://python2.6-dbg-gdb.py/" target="_blank">python2.6-dbg-gdb.py</a>", line 1054, in to_string<br>
pyop = PyObjectPtr.from_pyobject_ptr(self.gdbval)<br>
File "/usr/lib/debug/usr/bin/<a href="http://python2.6-dbg-gdb.py/" target="_blank">python2.6-dbg-gdb.py</a>", line 343, in<br>
from_pyobject_ptr</div><br clear="all"><font color="#888888"><br>-- <br>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.<br>
.·:*¨¨*:·. .·:*¨¨*:·. .·:*¨¨*:·.<br>Yuma Educational Computer Consortium<br>Compass Development Team<br>Kerri Reno<br><a href="mailto:kreno@yumaed.org" target="_blank">kreno@yumaed.org</a> (928) 502-4240<br>.·:*¨¨*:·. .·:*¨¨*:·. .·:*¨¨*:·.<br>
<br>
<div style="display: inline;"></div>
</font></div><br>
<div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>