[PyKDE] itemviews puzzle crash
Andreas Pakulat
apaku at gmx.de
Sat Jun 10 00:40:30 BST 2006
On 09.06.06 15:46:41, Adam Tenderholt wrote:
> Anyone have problems with the PyQt4 puzzle example in the itemviews
> subdirectory? Whenever I try to drag a piece, it crashes with either a
> Seg Fault or a Bus Error. The same example bundled wtih Qt4 works
> fine.
>
> I'm running PyQt4-gpl-4.0beta1 with sip 4.4.3, Qt 4.1.2, and Universal
> Python 2.4.3 on an Intel Mac. I wanted to check here before upgrading
> Qt and sip, just in case there's a less time-consuming option.
Confirmed on Debian unstable using Python 2.4.3, Qt4.1.3, sip snapshot
0525 and PyQt-gpl-4 snapshot 0606.
Backtrace for Phil is attached as it's rather large. This happens as
soon as the drag begins.
Andreas
--
Save energy: be apathetic.
-------------- next part --------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210779968 (LWP 18941)]
0xb770ec84 in QListData::size (this=0xbfde1958) at qlist.h:66
66 qlist.h: Datei oder Verzeichnis nicht gefunden.
in qlist.h
Current language: auto; currently c++
(gdb) bt
#0 0xb770ec84 in QListData::size (this=0xbfde1958) at qlist.h:66
#1 0xb770efad in QList<QString>::size (this=0xbfde1958) at qlist.h:96
#2 0xb775791f in QtPrivate::QStringList_contains (that=0xbfde1958,
str=@0xbfde1870, cs=Qt::CaseSensitive) at tools/qstringlist.cpp:330
#3 0xb6a0fa26 in QStringList::contains (this=0xbfde1958, str=@0xbfde1870,
cs=Qt::CaseSensitive) at qstringlist.h:140
#4 0xb6a1482d in QInternalMimeData::formatsHelper (data=0x83ac1d8)
at kernel/qdnd.cpp:513
#5 0xb6a7ad77 in QDragManager::move (this=0x83853e8, globalPos=@0xbfde1b30)
at kernel/qdnd_x11.cpp:1228
#6 0xb6a7b670 in QDragManager::drag (this=0x83853e8, o=0x8396370)
at kernel/qdnd_x11.cpp:1611
#7 0xb6a122da in QDrag::start (this=0x8396370, request=@0xbfde1bbc)
at kernel/qdrag.cpp:208
#8 0xb6dca44e in QListView::internalDrag (this=0x82e37b0,
supportedActions=@0xbfde1bf8) at itemviews/qlistview.cpp:820
#9 0xb6dca4f7 in QListView::startDrag (this=0x82e37b0,
supportedActions=@0xbfde1c34) at itemviews/qlistview.cpp:765
#10 0xb731e36f in sipQListView::startDrag (this=0x82e37b0, a0=@0xbfde1d38)
at sipQtGuipart2.cpp:31604
#11 0xb6db04c6 in QAbstractItemView::mouseMoveEvent (this=0x82e37b0,
event=0xbfde27f8) at itemviews/qabstractitemview.cpp:1030
#12 0xb6dc4d56 in QListView::mouseMoveEvent (this=0x82e37b0, e=0xbfde27f8)
at itemviews/qlistview.cpp:632
---Type <return> to continue, or q <return> to quit---
#13 0xb731df51 in sipQListView::mouseMoveEvent (this=0x82e37b0, a0=0xbfde27f8)
at sipQtGuipart2.cpp:31478
#14 0xb6a51628 in QWidget::event (this=0x82e37b0, event=0xbfde27f8)
at kernel/qwidget.cpp:4978
#15 0xb6cc13b4 in QFrame::event (this=0x82e37b0, e=0xbfde27f8)
at widgets/qframe.cpp:599
#16 0xb6d4c4d7 in QAbstractScrollArea::viewportEvent (this=0x82e37b0, e=0xbfde27f8)
at widgets/qabstractscrollarea.cpp:478
#17 0xb6dab14f in QAbstractItemView::viewportEvent (this=0x82e37b0,
event=0xbfde27f8) at itemviews/qabstractitemview.cpp:970
#18 0xb731f611 in sipQListView::viewportEvent (this=0x82e37b0, a0=0xbfde27f8)
at sipQtGuipart2.cpp:32110
#19 0xb6d4cd73 in QAbstractScrollAreaPrivate::viewportEvent (this=0x82f6650,
e=0xbfde27f8) at widgets/qabstractscrollarea.cpp:93
#20 0xb6d4ccf7 in QAbstractScrollAreaViewport::event (this=0x82f6c60, e=0xbfde27f8)
at widgets/qabstractscrollarea.cpp:105
#21 0xb69fcbd9 in QApplicationPrivate::notify_helper (this=0x820de48,
receiver=0x82f6c60, e=0xbfde27f8) at kernel/qapplication.cpp:3175
#22 0xb69fd69a in QApplication::notify (this=0x82082e0, receiver=0x82f6c60,
e=0xbfde27f8) at kernel/qapplication.cpp:2905
#23 0xb7431453 in sipQApplication::notify (this=0x82082e0, a0=0x82f6c60,
a1=0xbfde27f8) at sipQtGuipart3.cpp:47821
#24 0xb6a05abb in QCoreApplication::sendSpontaneousEvent (receiver=0x82f6c60,
event=0xbfde27f8) at qcoreapplication.h:176
---Type <return> to continue, or q <return> to quit---
#25 0xb6a6bc39 in QETWidget::translateMouseEvent (this=0x82f6c60, event=0xbfde2bdc)
at kernel/qapplication_x11.cpp:3615
#26 0xb6a698ae in QApplication::x11ProcessEvent (this=0x82082e0, event=0xbfde2bdc)
at kernel/qapplication_x11.cpp:2725
#27 0xb6a7eb02 in QEventDispatcherX11::processEvents (this=0x822a1c0,
flags=@0xbfde2c84) at kernel/qeventdispatcher_x11.cpp:112
#28 0xb77b9e71 in QEventLoop::processEvents (this=0xbfde2d08, flags=@0xbfde2cbc)
at kernel/qeventloop.cpp:124
#29 0xb77ba126 in QEventLoop::exec (this=0xbfde2d08, flags=@0xbfde2d10)
at kernel/qeventloop.cpp:169
#30 0xb77bfd56 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:679
#31 0xb69fc068 in QApplication::exec () at kernel/qapplication.cpp:2720
#32 0xb7435438 in meth_QApplication_exec_ (sipArgs=0xb7d0f02c)
at sipQtGuipart3.cpp:49638
#33 0x080bb19e in PyEval_EvalFrame (f=0x8176e44) at Python/ceval.c:3563
#34 0x080bc10e in PyEval_EvalCodeEx (co=0xb7ab8aa0, globals=0xb7d28824,
locals=0xb7d28824, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at Python/ceval.c:2736
#35 0x080bc349 in PyEval_EvalCode (co=0x20, globals=0x20, locals=0x20)
at Python/ceval.c:484
#36 0x080de7a7 in PyRun_FileExFlags (fp=0x8144008,
filename=0xbfde371e "puzzle/puzzle.py", start=32, globals=0x20, locals=0x20,
closeit=1, flags=0xbfde3194) at Python/pythonrun.c:1265
#37 0x080dea64 in PyRun_SimpleFileExFlags (fp=<value optimized out>,
---Type <return> to continue, or q <return> to quit---
filename=0xbfde371e "puzzle/puzzle.py", closeit=1, flags=0xbfde3194)
at Python/pythonrun.c:860
#38 0x08055af8 in Py_Main (argc=1, argv=0xbfde3224) at Modules/main.c:493
#39 0xb7d65eb0 in __libc_start_main () from /lib/tls/libc.so.6
#40 0x08054f41 in _start () at ../sysdeps/i386/elf/start.S:119
More information about the PyQt
mailing list