[PyQt] Does this crash look like a known bug?
David Cortesi
davecortesi at gmail.com
Wed Feb 13 16:47:31 GMT 2013
The following is the top bit of an apple crash report.
Latest mac binary PyQt4, plus Qt 4.8.4. Only happens in the
version bundled by pyinstaller - never running from source
in the IDE.
The crash follows cmd-q quit after a normal work session.
The main window closeEvent does a number of settings writes
in a beginWriteArray loop.
However, I notice now, that after settings, it never calls
event.accept() on the closeEvent object -- could that matter?
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 QtGui 0x000000011309ac20
QList<QWidget*>::append(QWidget* const&) + 64
1 QtGui 0x000000011311334f
QSet<QWidget*>::toList() const + 143
2 QtGui 0x0000000113105a80
QApplication::allWidgets() + 32
3 QtGui 0x0000000113105ade
QApplication::topLevelWidgets() + 46
4 PyQt4.QtGui.so 0x0000000112abb8b0 release_QApplication + 32
5 sip.so 0x0000000111b0b33b forgetObject + 115
6 sip.so 0x0000000111b0cbbc sipWrapper_dealloc + 17
7 Python 0x000000011184ee16
_PyObject_SlotCompare + 2865
8 Python 0x0000000111833b8e PyLong_FromUnicode + 6315
9 Python 0x0000000111835e39 PyDict_SetItem + 147
10 Python 0x000000011183747c _PyModule_Clear + 287
11 Python 0x000000011189401b PyImport_Cleanup + 476
12 Python 0x000000011189f0cf Py_Finalize + 200
13 cobro 0x0000000100004102 main + 450
14 cobro 0x00000001000016d4 start + 52
More information about the PyQt
mailing list