Hi, I am experimenting with PyQt/PyKDE and I am finding my app crashes on exit all the time. I found a work around in the list http://www.mail-archive.com/pyqt%40riverbankcomputing.com/msg05561.html
I am not sure if it counts as a known bug, or perhaps can't be fixed without a lot of invasive changes, however it would be nice if it was documented somewhere to make it easier to find :) I am running FreeBSD -current (gcc 4.2.1), Python 2.5.1, Qt 3.3.8, KDE 3.5.8, py-qt 3.17.1 and py-kde 3.16.0. I have attached the code that demonstrates the problem (work around commented out). Here is the backtrace.. #0 0x2909e573 in XFreeCursor () from /usr/local/lib/libX11.so.6 #1 0x28b5e224 in QCursorData::~QCursorData () from /usr/local/lib/libqt-mt.so.3 #2 0x28b5e417 in QCursor::~QCursor () from /usr/local/lib/libqt-mt.so.3 #3 0x28c4a603 in QWidget::deleteExtra () from /usr/local/lib/libqt-mt.so.3 #4 0x28c4c509 in QWidget::~QWidget () from /usr/local/lib/libqt-mt.so.3 #5 0x28d1f5fa in QScrollBar::~QScrollBar () from /usr/local/lib/libqt-mt.so.3 #6 0x2997ee3d in sipQScrollBar::~sipQScrollBar () from /usr/local/lib/python2.5/site-packages/qt.so #7 0x28c4c4a9 in QWidget::~QWidget () from /usr/local/lib/libqt-mt.so.3 #8 0x29c143b8 in sipQWidget::~sipQWidget () from /usr/local/lib/python2.5/site-packages/qt.so #9 0x28c4c4a9 in QWidget::~QWidget () from /usr/local/lib/libqt-mt.so.3 #10 0x28d082c2 in QMainWindow::~QMainWindow () from /usr/local/lib/libqt-mt.so.3 #11 0x29a38728 in sipQMainWindow::~sipQMainWindow () from /usr/local/lib/python2.5/site-packages/qt.so #12 0x29a2d86b in release_QMainWindow () from /usr/local/lib/python2.5/site-packages/qt.so #13 0x29a2d8bf in dealloc_QMainWindow () from /usr/local/lib/python2.5/site-packages/qt.so #14 0x29617e5e in sipWrapper_dealloc () from /usr/local/lib/python2.5/site-packages/sip.so #15 0x08093c7f in _PyObject_SlotCompare () #16 0x08078476 in PyLong_FromUnicode () #17 0x0807a566 in PyDict_SetItem () #18 0x0807b893 in _PyModule_Clear () #19 0x080c45eb in PyImport_Cleanup () #20 0x080cb7e1 in Py_Finalize () #21 0x080cb8ab in Py_Exit () #22 0x080cba16 in Py_Exit () #23 0x080cba3f in PyErr_PrintEx () #24 0x080cbd22 in PyErr_Print () #25 0x080cc119 in PyRun_SimpleFileExFlags () #26 0x080cc63b in PyRun_AnyFileExFlags () #27 0x08056e98 in Py_Main () #28 0x080562d5 in main () PS as someone coming from a Tcl/Tk background Py-Qt/KDE are amazingly nice and easy to look at. Thanks for all the work :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
pykde-crash.tgz
Description: application/tgz
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt