[PyQt] Bug report (where?)

Martin Blais blais at furius.ca
Thu Jul 12 23:28:29 BST 2007

Where does one send bug reports for PyQt?
Is there a public bug tracker?

(here it is otherwise)



Here is a bug report, an assertion that occurs within Qt.  I'm not
sure this is enough information, but my application is rather complex,
and I will try to simplify to isolate later.  Any further question let
me know.

I'm getting this assertion:

ASSERT failure in QVector<T>::at: "index out of range", file
../../include/QtCore/../../src/corelib/tools/qvector.h, line 284

I cannot trace it to a specific call within my application (it occurs
right after I return from a callback.)

Platform details:

Python 2.5.1 (r251:54863, May 22 2007, 17:18:06)

Platform: Linux/Gentoo (the assertion does not trigger on Windows)

I recompiled PyQt with --debug switch on, and ran in gdb and got a stack trace:

Program received signal SIGABRT, Aborted.
[Switching to Thread -1211599184 (LWP 15919)]
0xffffe410 in __kernel_vsyscall ()
(gdb) where
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7cb0269 in raise () from /lib/libc.so.6
#2  0xb7cb1761 in abort () from /lib/libc.so.6
#3  0xb75cadf5 in qt_message_output () from /usr/lib/qt4/libQtCore.so.4
#4  0xb75caeaf in qFatal () from /usr/lib/qt4/libQtCore.so.4
#5  0xb75caef6 in qt_assert_x () from /usr/lib/qt4/libQtCore.so.4
#6  0xb6943b6c in QListView::updateGeometries () from /usr/lib/qt4/libQtGui.so.4
#7  0xb70a7628 in sipQListWidget::updateGeometries (this=0x8df8c38) at
#8  0xb691cc9f in QAbstractItemView::doItemsLayout () from
#9  0xb6944cae in QListView::doItemsLayout () from /usr/lib/qt4/libQtGui.so.4
#10 0xb70b1dd6 in sipQListWidget::doItemsLayout (this=0x8df8c38) at
#11 0xb6944dc5 in QListView::timerEvent () from /usr/lib/qt4/libQtGui.so.4
#12 0xb70a9097 in sipQListWidget::timerEvent (this=0x8df8c38,
a0=0xbfbbe528) at sipQtGuiQListWidget.cpp:975
#13 0xb769ead7 in QObject::event () from /usr/lib/qt4/libQtCore.so.4
#14 0xb652204a in QWidget::event () from /usr/lib/qt4/libQtGui.so.4
#15 0xb681c33b in QFrame::event () from /usr/lib/qt4/libQtGui.so.4
#16 0xb689fb31 in QAbstractScrollArea::event () from /usr/lib/qt4/libQtGui.so.4
#17 0xb691e7d4 in QAbstractItemView::event () from /usr/lib/qt4/libQtGui.so.4
#18 0xb693b956 in QListView::event () from /usr/lib/qt4/libQtGui.so.4
#19 0xb698051a in QListWidget::event () from /usr/lib/qt4/libQtGui.so.4
#20 0xb70a6102 in sipQListWidget::event (this=0x8df8c38,
a0=0xbfbbe528) at sipQtGuiQListWidget.cpp:731
#21 0xb64dc54f in QApplicationPrivate::notify_helper () from
#22 0xb64dd2a1 in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4
#23 0xb727da7b in sipQApplication::notify (this=0x8993120,
a0=0x8df8c38, a1=0xbfbbe528) at sipQtGuiQApplication.cpp:489
#24 0xb768e780 in QCoreApplication::notifyInternal () from
#25 0xb76b3924 in ?? () from /usr/lib/qt4/libQtCore.so.4
#26 0xb76b3a9a in QEventDispatcherUNIX::activateTimers () from
#27 0xb76b4381 in QEventDispatcherUNIX::processEvents () from
#28 0xb65585a1 in ?? () from /usr/lib/qt4/libQtGui.so.4
#29 0xb768dcad in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore.so.4
#30 0xb768dd96 in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4
#31 0xb768fc61 in QCoreApplication::exec () from /usr/lib/qt4/libQtCore.so.4
#32 0xb64db885 in QApplication::exec () from /usr/lib/qt4/libQtGui.so.4
#33 0xb727eab6 in meth_QApplication_exec_ (sipArgs=0xb7c4702c) at
#34 0xb7e5a8cb in PyCFunction_Call () from /usr/lib/libpython2.5.so.1.0
#35 0x08ceefac in ?? ()
#36 0x00000002 in ?? ()
#37 0xb727ea46 in meth_QApplication_focusWidget (sipArgs=0xfd8c0f00)
at sipQtGuiQApplication.cpp:1482
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

thanks for any help.

More information about the PyQt mailing list