[Eric] eric4 crashes while loading this .e3p project file

Detlev Offenbach detlev at die-offenbachs.de
Fri Jun 22 08:02:49 BST 2007


On Mittwoch, 20. Juni 2007, Andreas Pakulat wrote:
> On 20.06.07 19:43:33, Detlev Offenbach wrote:
> > On Mittwoch, 20. Juni 2007, Andreas Pakulat wrote:
> > > Hi,
> > >
> > > eric4 crashes when it loads the attached eric3 project file. If you
> > > need the other files as well let me know.
> > >
> > > Andreas
> >
> > Can you send the traceback as well?
>
> I wasn't sure wether I built sip and PyQt with debug symbols, thus I
> didn't sent it initially...
>
> (gdb) bt
> #0  0xb7c7fd86 in raise () from /lib/libc.so.6
> #1  0xb7c815b1 in abort () from /lib/libc.so.6
> #2  0xb751f3ff in qt_message_output (msgType=QtFatalMsg,
>     buf=0xbfb89130 "ASSERT: \"last >= first\" in file
> /home/andreas/KDE-work/4.0/qt-copy/src/corelib/kernel/qabstractitemmodel.cp
>p, line 2071") at
> /home/andreas/KDE-work/4.0/qt-copy/src/corelib/global/qglobal.cpp:2145 #3 
> 0xb751f463 in qFatal (msg=0xb761b830 "ASSERT: \"%s\" in file %s, line %d")
> at /home/andreas/KDE-work/4.0/qt-copy/src/corelib/global/qglobal.cpp:2376
> #4  0xb751f5bd in qt_assert (assertion=0xb7656ed2 "last >= first",
> file=0xb7656e68
> "/home/andreas/KDE-work/4.0/qt-copy/src/corelib/kernel/qabstractitemmodel.c
>pp", line=2071) at
> /home/andreas/KDE-work/4.0/qt-copy/src/corelib/global/qglobal.cpp:1904 #5 
> 0xb75d6532 in QAbstractItemModel::beginRemoveRows (this=0x8bc79b8,
> parent=@0x939a5b0, first=0, last=-1) at
> /home/andreas/KDE-work/4.0/qt-copy/src/corelib/kernel/qabstractitemmodel.cp
>p:2071 #6  0xb7809448 in sipQAbstractItemModel::sipProtect_beginRemoveRows
> (this=0x8bc79b8, a0=@0x939a5b0, a1=0, a2=-1) at sipQtCorepart3.cpp:14149
> #7  0xb780950b in meth_QAbstractItemModel_beginRemoveRows
> (sipSelf=0x8b2c82c, sipArgs=0x90f68ec) at sipQtCorepart3.cpp:15514
> #8  0xb7e3b37a in PyCFunction_Call (func=0x8bf972c, arg=0x90f68ec, kw=0x0)
>     at Objects/methodobject.c:73
> #9  0xb7e88bf7 in PyEval_EvalFrameEx (f=0x93b1d74, throwflag=0) at
> Python/ceval.c:3564 #10 0xb7e894a8 in PyEval_EvalFrameEx (f=0x93a636c,
> throwflag=0) at Python/ceval.c:3650 #11 0xb7e894a8 in PyEval_EvalFrameEx
> (f=0x9022914, throwflag=0) at Python/ceval.c:3650 #12 0xb7e894a8 in
> PyEval_EvalFrameEx (f=0x9355cf4, throwflag=0) at Python/ceval.c:3650 #13
> 0xb7e8a0fb in PyEval_EvalCodeEx (co=0x8c07920, globals=0x8e23824,
> locals=0x0, args=0x93559d8, argcount=2, kws=0x93559e0, kwcount=0,
> defs=0x8e40498, defcount=1, closure=0x0) at Python/ceval.c:2831
> #14 0xb7e87df1 in PyEval_EvalFrameEx (f=0x935588c, throwflag=0) at
> Python/ceval.c:3660 #15 0xb7e8a0fb in PyEval_EvalCodeEx (co=0x83fee78,
> globals=0x84052d4, locals=0x0, args=0x90f8a58, argcount=2, kws=0x0,
> kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2831 #16
> 0xb7e276df in function_call (func=0x8412684, arg=0x90f8a4c, kw=0x0) at
> Objects/funcobject.c:517 #17 0xb7e05ad7 in PyObject_Call (func=0x22cf,
> arg=0x90f8a4c, kw=0x0) at Objects/abstract.c:1860 #18 0xb7e0d208 in
> instancemethod_call (func=0x8412684, arg=0x90f8a4c, kw=0x0) at
> Objects/classobject.c:2497
> #19 0xb7e05ad7 in PyObject_Call (func=0x22cf, arg=0x90f8a4c, kw=0x0) at
> Objects/abstract.c:1860 #20 0xb7e84de5 in PyEval_EvalFrameEx (f=0x9021124,
> throwflag=0) at Python/ceval.c:3775 #21 0xb7e894a8 in PyEval_EvalFrameEx
> (f=0x93a4e2c, throwflag=0) at Python/ceval.c:3650 #22 0xb7e894a8 in
> PyEval_EvalFrameEx (f=0x93ad0bc, throwflag=0) at Python/ceval.c:3650 #23
> 0xb7e8a0fb in PyEval_EvalCodeEx (co=0x8747c38, globals=0x87c63e4,
> locals=0x0, args=0x908e9a0, argcount=2, kws=0x908e9a8, kwcount=0,
> defs=0x88b2df8, defcount=1, closure=0x0) at Python/ceval.c:2831
> #24 0xb7e87df1 in PyEval_EvalFrameEx (f=0x908e85c, throwflag=0) at
> Python/ceval.c:3660 #25 0xb7e8a0fb in PyEval_EvalCodeEx (co=0x87bdf08,
> globals=0x87c63e4, locals=0x0, args=0x908f0b0, argcount=2, kws=0x908f0b8,
> kwcount=0, defs=0x88bd2d8, defcount=1, closure=0x0) at Python/ceval.c:2831
> #26 0xb7e87df1 in PyEval_EvalFrameEx (f=0x908ef6c, throwflag=0) at
> Python/ceval.c:3660 #27 0xb7e8a0fb in PyEval_EvalCodeEx (co=0x87c7728,
> globals=0x87c63e4, locals=0x0, args=0x8e407d8, argcount=2, kws=0x0,
> kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2831 #28
> 0xb7e276df in function_call (func=0x88c11ec, arg=0x8e407cc, kw=0x0) at
> Objects/funcobject.c:517 #29 0xb7e05ad7 in PyObject_Call (func=0x22cf,
> arg=0x8e407cc, kw=0x0) at Objects/abstract.c:1860 #30 0xb7e0d208 in
> instancemethod_call (func=0x88c11ec, arg=0x8e407cc, kw=0x0) at
> Objects/classobject.c:2497
> #31 0xb7e05ad7 in PyObject_Call (func=0x22cf, arg=0x8bf88ec, kw=0x0) at
> Objects/abstract.c:1860 #32 0xb7e8188c in PyEval_CallObjectWithKeywords
> (func=0x832c4b4, arg=0x8bf88ec, kw=0x0) at Python/ceval.c:3433
> #33 0xb74b5071 in sip_api_emit_to_slot (slot=0x8fccde8, sigargs=0x8bf88ec)
> at qtlib.c:680 #34 0xb77613a3 in PyQtProxy::invokeSlot
> (slot_conn=@0x8fccde0, qargs=0xbfb8d480) at sip/QtCore/qobject.sip:1127
> #35 0xb7761d6b in PyQtProxy::unislot (this=0x8fccdc8, qargs=0xbfb8d47c)
>     at sip/QtCore/qobject.sip:986
> #36 0xb7761e79 in PyQtProxy::qt_metacall (this=0x8fccdc8,
> _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfb8d47c) at
> sip/QtCore/qobject.sip:940
> #37 0xb75f4610 in QMetaObject::activate (sender=0x8fc4850,
> from_signal_index=29, to_signal_index=29, argv=0xbfb8d47c)
>     at
> /home/andreas/KDE-work/4.0/qt-copy/src/corelib/kernel/qobject.cpp:3072 #38
> 0xb75f501b in QMetaObject::activate (sender=0x8fc4850, m=0xb68dcc58,
> local_signal_index=2, argv=0xbfb8d47c) at
> /home/andreas/KDE-work/4.0/qt-copy/src/corelib/kernel/qobject.cpp:3134 #39
> 0xb6660bcc in QMenu::triggered (this=0x8fc4850, _t1=0x9018af0) at
> .moc/debug-shared/moc_qmenu.cpp:155
> #40 0xb6663d90 in QMenuPrivate::_q_actionTriggered (this=0x8fc4b60)
>     at /home/andreas/KDE-work/4.0/qt-copy/src/gui/widgets/qmenu.cpp:960
> #41 0xb6667b05 in QMenu::qt_metacall (this=0x8fc4850,
> _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfb8da3c) at
> .moc/debug-shared/moc_qmenu.cpp:97
> #42 0xb6f24b7e in sipQMenu::qt_metacall (this=0x8fc4850,
> _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfb8da3c) at
> sipQtGuipart2.cpp:18546
> #43 0xb75f4610 in QMetaObject::activate (sender=0x9018af0,
> from_signal_index=5, to_signal_index=6, argv=0xbfb8da3c) at
> /home/andreas/KDE-work/4.0/qt-copy/src/corelib/kernel/qobject.cpp:3072 #44
> 0xb75f47c6 in QMetaObject::activate (sender=0x9018af0, m=0xb68d7660,
> from_local_signal_index=1, to_local_signal_index=2, argv=0xbfb8da3c) at
> /home/andreas/KDE-work/4.0/qt-copy/src/corelib/kernel/qobject.cpp:3154 #45
> 0xb628d9fc in QAction::triggered (this=0x9018af0, _t1=false)
>     at .moc/debug-shared/moc_qaction.cpp:208
> #46 0xb628f452 in QAction::activate (this=0x9018af0,
> event=QAction::Trigger) at
> /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qaction.cpp:1087 #47
> 0xb6669434 in QMenuPrivate::activateAction (this=0x8fc4b60,
> action=0x9018af0, action_e=QAction::Trigger, self=true)
>     at /home/andreas/KDE-work/4.0/qt-copy/src/gui/widgets/qmenu.cpp:903
> #48 0xb666bd4e in QMenu::mouseReleaseEvent (this=0x8fc4850, e=0xbfb8e178)
>     at /home/andreas/KDE-work/4.0/qt-copy/src/gui/widgets/qmenu.cpp:2009
> #49 0xb6f249a4 in sipQMenu::mouseReleaseEvent (this=0x8fc4850,
> a0=0xbfb8e178) at sipQtGuipart2.cpp:18620
> #50 0xb62e79c5 in QWidget::event (this=0x8fc4850, event=0xbfb8e178)
>     at /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qwidget.cpp:6032
> #51 0xb666740d in QMenu::event (this=0x8fc4850, e=0xbfb8e178)
>     at /home/andreas/KDE-work/4.0/qt-copy/src/gui/widgets/qmenu.cpp:2098
> #52 0xb6f22061 in sipQMenu::event (this=0x8fc4850, a0=0xbfb8e178) at
> sipQtGuipart2.cpp:18799 #53 0xb6295643 in
> QApplicationPrivate::notify_helper (this=0x849e038, receiver=0x8fc4850,
> e=0xbfb8e178) at
> /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qapplication.cpp:3538 #54
> 0xb629621e in QApplication::notify (this=0x849a5e8, receiver=0x8fc4850,
> e=0xbfb8e178) at
> /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qapplication.cpp:3237 #55
> 0xb701176f in sipQApplication::notify (this=0x849a5e8, a0=0x8fc4850,
> a1=0xbfb8e178) at sipQtGuipart3.cpp:79701
> #56 0xb75e0480 in QCoreApplication::notifyInternal (this=0x849a5e8,
> receiver=0x8fc4850, event=0xbfb8e178)
>     at
> /home/andreas/KDE-work/4.0/qt-copy/src/corelib/kernel/qcoreapplication.cpp:
>509 #57 0xb62a0a0d in QCoreApplication::sendSpontaneousEvent
> (receiver=0x8fc4850, event=0xbfb8e178) at
> ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplicatio
>n.h:189 #58 0xb6304f67 in QETWidget::translateMouseEvent (this=0x8fc4850,
> event=0xbfb8e640) at
> /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qapplication_x11.cpp:3751
> #59 0xb6303019 in QApplication::x11ProcessEvent (this=0x849a5e8,
> event=0xbfb8e640) at
> /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qapplication_x11.cpp:2907
> #60 0xb632ca1e in x11EventSourceDispatch (s=0x814e388, callback=0,
> user_data=0x0) at
> /home/andreas/KDE-work/4.0/qt-copy/src/gui/kernel/qguieventdispatcher_glib.
>cpp:122 #61 0xb7428952 in g_main_context_dispatch () from
> /usr/lib/libglib-2.0.so.0 #62 0xb742b91f in ?? () from
> /usr/lib/libglib-2.0.so.0
> #63 0x084ea978 in ?? ()
> #64 0x00000000 in ?? ()
>
> Andreas

I cannot reproduce the problem over here. Seems I need the whole project.

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list