[PyKDE] bug in pyqt or in example?

mancausoft mancausoft at email.it
Thu Nov 30 11:47:38 GMT 2006


Phil Thompson <phil at riverbankcomputing.co.uk> scrisse:

> On Thursday 30 November 2006 11:02 am, mancausoft wrote:
> > Phil Thompson <phil at riverbankcomputing.co.uk> scrisse:
> > > Can you try with tonight's SIP and PyQt4 snapshots? (Not the
> > > current PyQt snapshot - the one that will be generated
> > > tonight.)Can you try
> >
> > the result it the same
> >
> >  ~/PyQt-x11-gpl-4-snapshot-20061129/examples/draganddrop/draggableicons
> > $ ./draggableicons.py Segmentation fault
> 
> Can you find where it's crashing with gdb?
> 
> Can anybody else reproduce the problem?
> 
> Phil

gdb --args
python /home/andrea/PyQt-x11-gpl-4-snapshot-20061129/examples/draganddrop/draggableicons/draggableicons.py
GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are welcome to change it and/or distribute copies of it under
certain conditions. Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details. This GDB was configured as "i686-pc-linux-gnu"...(no debugging
symbols found) Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting
program: /usr/bin/python /home/andrea/PyQt-x11-gpl-4-snapshot-20061129/examples/draganddrop/draggableicons/draggableicons.py
Failed to read a valid object file image from memory. (no debugging
symbols found) (no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1211578704 (LWP 18368)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211578704 (LWP 18368)]
0xb6d8e9b9 in QPixmap::isNull () from /usr/lib/qt4/libQtGui.so.4
(gdb) bt
#0  0xb6d8e9b9 in QPixmap::isNull () from /usr/lib/qt4/libQtGui.so.4
#1  0xb6d8f422 in QPixmap::serialNumber ()
from /usr/lib/qt4/libQtGui.so.4 #2  0xb6f60d35 in QLabel::setPixmap ()
from /usr/lib/qt4/libQtGui.so.4 #3  0xb745fa87 in initQtGui ()
from /usr/lib/python2.4/site-packages/PyQt4/QtGui.so #4  0xb7e320ba in
PyCFunction_Call () from /usr/lib/libpython2.4.so.1.0 #5  0xb7e68709 in
PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0 #6  0xb7e6abc5 in
PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0 #7  0xb7e2288c
in PyFunction_SetClosure () from /usr/lib/libpython2.4.so.1.0 #8
0xb7e0d467 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0 #9
0xb7e15063 in PyMethod_New () from /usr/lib/libpython2.4.so.1.0 #10
0xb7e0d467 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0 #11
0xb7e64a88 in PyEval_CallObjectWithKeywords ()
from /usr/lib/libpython2.4.so.1.0 #12 0xb7a94f3d in initsip ()
from /usr/lib/python2.4/site-packages/sip.so #13 0xb7259c5c in ?? ()
from /usr/lib/python2.4/site-packages/PyQt4/QtGui.so #14 0xb754b3ee in
initQtGui () from /usr/lib/python2.4/site-packages/PyQt4/QtGui.so #15
0xb6d36d18 in QWidget::event () from /usr/lib/qt4/libQtGui.so.4 #16
0xb6f5cd94 in QFrame::event () from /usr/lib/qt4/libQtGui.so.4 #17
0xb754af60 in initQtGui ()
from /usr/lib/python2.4/site-packages/PyQt4/QtGui.so #18 0xb6cef0df in
QApplicationPrivate::notify_helper () from /usr/lib/qt4/libQtGui.so.4
#19 0xb6cefb8d in QApplication::notify ()
from /usr/lib/qt4/libQtGui.so.4 #20 0xb752e413 in initQtGui ()
from /usr/lib/python2.4/site-packages/PyQt4/QtGui.so #21 0xb6d4c1d4 in
QETWidget::translateMouseEvent () from /usr/lib/qt4/libQtGui.so.4 #22
0xb6d4afa2 in QApplication::x11ProcessEvent ()
from /usr/lib/qt4/libQtGui.so.4 #23 0xb6d5bf82 in
QEventDispatcherX11::processEvents () from /usr/lib/qt4/libQtGui.so.4
#24 0xb797b899 in QEventLoop::processEvents ()
from /usr/lib/qt4/libQtCore.so.4 #25 0xb797bad2 in QEventLoop::exec ()
from /usr/lib/qt4/libQtCore.so.4 #26 0xb7980a48 in
QCoreApplication::exec () from /usr/lib/qt4/libQtCore.so.4 #27
0xb6cee747 in QApplication::exec () from /usr/lib/qt4/libQtGui.so.4 #28
0xb7531add in initQtGui ()
from /usr/lib/python2.4/site-packages/PyQt4/QtGui.so #29 0xb7e320ba in
PyCFunction_Call () from /usr/lib/libpython2.4.so.1.0 #30 0xb7e68709 in
PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0 #31 0xb7e6abc5 in
PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0 #32 0xb7e6ae43
in PyEval_EvalCode () from /usr/lib/libpython2.4.so.1.0 #33 0xb7e85745
in PyErr_Display () from /usr/lib/libpython2.4.so.1.0 #34 0xb7e86aa4 in
PyRun_SimpleFileExFlags () from /usr/lib/libpython2.4.so.1.0 #35
0xb7e8762e in PyRun_AnyFileExFlags () from /usr/lib/libpython2.4.so.1.0
#36 0xb7e8d848 in Py_Main () from /usr/lib/libpython2.4.so.1.0 #37
0x0804860a in main () (gdb)




More information about the PyQt mailing list