Bug 250629 - crash opening the context menu of a node
Summary: crash opening the context menu of a node
Status: RESOLVED FIXED
Alias: None
Product: Rocs
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Tomaz Canabrava
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-09 09:15 UTC by Burkhard Lück
Modified: 2011-03-25 17:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Burkhard Lück 2010-09-09 09:15:36 UTC
Application: rocs (1.5)
KDE Platform Version: 4.5.1 (KDE 4.5.1) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I opended the context menu of a node using the right mouse button

The crash can be reproduced every time.

-- Backtrace:
Application: Rocs (rocs), signal: Aborted
[Current thread is 1 (Thread 0x7f90e4d63760 (LWP 24266))]

Thread 2 (Thread 0x7f90d3136710 (LWP 24268)):
#0  0x00007f90df857f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f90dc3034a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f90dc3038fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f90e09c7f66 in QEventDispatcherGlib::processEvents (this=0x156e310, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f90e0987f98 in QEventLoop::processEvents (this=0x7f90d3135d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f90e09880ee in QEventLoop::exec (this=0x7f90d3135d90, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f90e085b9e5 in QThread::exec (this=0x1587760) at thread/qthread.cpp:487
#7  0x00007f90e497ff60 in ThreadDocument::run (this=0x1587760) at /home/kde42/svn/kdeedu/rocs/src/Core/threadDocument.cpp:75
#8  0x00007f90e085e491 in QThreadPrivate::start (arg=0x1587760) at thread/qthread_unix.cpp:248
#9  0x00007f90e05aa9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f90df8646fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f90e4d63760 (LWP 24266)):
[KCrash Handler]
#6  0x00007f90df7b1a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f90df7b55c0 in *__GI_abort () at abort.c:92
#8  0x00007f90e0852568 in qt_message_output (msgType=QtFatalMsg, buf=0x1f6e638 "ASSERT: \"last >= first\" in file kernel/qabstractitemmodel.cpp, line 2393") at global/qglobal.cpp:2266
#9  0x00007f90e085276a in qt_message (msgType=QtFatalMsg, msg=0x7f90e0a15c98 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff6c342230) at global/qglobal.cpp:2312
#10 0x00007f90e0852fd7 in qFatal (msg=0x7f90e0a15c98 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2495
#11 0x00007f90e08520cf in qt_assert (assertion=0x7f90e0a5ebdb "last >= first", file=0x7f90e0a5e97e "kernel/qabstractitemmodel.cpp", line=2393) at global/qglobal.cpp:2011
#12 0x00007f90e097efda in QAbstractItemModel::beginInsertRows (this=0x1cc7110, parent=..., first=0, last=-1) at kernel/qabstractitemmodel.cpp:2393
#13 0x000000000043305a in GraphPropertiesModel::setDataSource (this=0x1cc7110, dataSource=0x1ea3040) at /home/kde42/svn/kdeedu/rocs/src/Models/model_GraphProperties.cpp:96
#14 0x000000000042da39 in NodePropertiesWidget::setNode (this=0x15a1e70, n=<value optimized out>, pos=...) at /home/kde42/svn/kdeedu/rocs/src/Interface/NodePropertiesWidget.cpp:49
#15 0x000000000042667d in GraphScene::mousePressEvent (this=0x156e400, mouseEvent=0x7fff6c342d60) at /home/kde42/svn/kdeedu/rocs/src/Interface/GraphScene.cpp:188
#16 0x00007f90e1eada06 in QGraphicsScene::event (this=0x156e400, event=0x7fff6c342d60) at graphicsview/qgraphicsscene.cpp:3404
#17 0x00007f90e16b74fc in QApplicationPrivate::notify_helper (this=0x149ad50, receiver=0x156e400, e=0x7fff6c342d60) at kernel/qapplication.cpp:4306
#18 0x00007f90e16b4a01 in QApplication::notify (this=0x7fff6c3448a0, receiver=0x156e400, e=0x7fff6c342d60) at kernel/qapplication.cpp:3710
#19 0x00007f90e4545156 in KApplication::notify (this=0x7fff6c3448a0, receiver=0x156e400, event=0x7fff6c342d60) at /home/kde42/svn/kdelibs/kdeui/kernel/kapplication.cpp:310
#20 0x00007f90e098afa0 in QCoreApplication::notifyInternal (this=0x7fff6c3448a0, receiver=0x156e400, event=0x7fff6c342d60) at kernel/qcoreapplication.cpp:726
#21 0x00007f90e16b9b03 in QCoreApplication::sendSpontaneousEvent (receiver=0x156e400, event=0x7fff6c342d60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#22 0x00007f90e16b784d in qt_sendSpontaneousEvent (receiver=0x156e400, event=0x7fff6c342d60) at kernel/qapplication.cpp:5285
#23 0x00007f90e1ee182b in QGraphicsView::mousePressEvent (this=0x16c6440, event=0x7fff6c3439b0) at graphicsview/qgraphicsview.cpp:3085
#24 0x00007f90e172ab3b in QWidget::event (this=0x16c6440, event=0x7fff6c3439b0) at kernel/qwidget.cpp:8040
#25 0x00007f90e1c06637 in QFrame::event (this=0x16c6440, e=0x7fff6c3439b0) at widgets/qframe.cpp:557
#26 0x00007f90e1cbec95 in QAbstractScrollArea::viewportEvent (this=0x16c6440, e=0x7fff6c3439b0) at widgets/qabstractscrollarea.cpp:1036
#27 0x00007f90e1ee05bc in QGraphicsView::viewportEvent (this=0x16c6440, event=0x7fff6c3439b0) at graphicsview/qgraphicsview.cpp:2787
#28 0x00007f90e1cbf915 in QAbstractScrollAreaPrivate::viewportEvent (this=0x18515a0, event=0x7fff6c3439b0) at widgets/qabstractscrollarea_p.h:100
#29 0x00007f90e1cbfa1e in QAbstractScrollAreaFilter::eventFilter (this=0x1690530, o=0x1635710, e=0x7fff6c3439b0) at widgets/qabstractscrollarea_p.h:116
#30 0x00007f90e098b2bb in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x149ad50, receiver=0x1635710, event=0x7fff6c3439b0) at kernel/qcoreapplication.cpp:841
#31 0x00007f90e16b74d3 in QApplicationPrivate::notify_helper (this=0x149ad50, receiver=0x1635710, e=0x7fff6c3439b0) at kernel/qapplication.cpp:4302
#32 0x00007f90e16b5395 in QApplication::notify (this=0x7fff6c3448a0, receiver=0x1635710, e=0x7fff6c3439b0) at kernel/qapplication.cpp:3871
#33 0x00007f90e4545156 in KApplication::notify (this=0x7fff6c3448a0, receiver=0x1635710, event=0x7fff6c3439b0) at /home/kde42/svn/kdelibs/kdeui/kernel/kapplication.cpp:310
#34 0x00007f90e098afa0 in QCoreApplication::notifyInternal (this=0x7fff6c3448a0, receiver=0x1635710, event=0x7fff6c3439b0) at kernel/qcoreapplication.cpp:726
#35 0x00007f90e16b9b03 in QCoreApplication::sendSpontaneousEvent (receiver=0x1635710, event=0x7fff6c3439b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#36 0x00007f90e16b386f in QApplicationPrivate::sendMouseEvent (receiver=0x1635710, event=0x7fff6c3439b0, alienWidget=0x1635710, nativeWidget=0x15a0e40, buttonDown=0x7f90e249c6f8, 
    lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2969
#37 0x00007f90e1766c95 in QETWidget::translateMouseEvent (this=0x15a0e40, event=0x7fff6c344410) at kernel/qapplication_x11.cpp:4380
#38 0x00007f90e17633ed in QApplication::x11ProcessEvent (this=0x7fff6c3448a0, event=0x7fff6c344410) at kernel/qapplication_x11.cpp:3391
#39 0x00007f90e179f931 in x11EventSourceDispatch (s=0x149eb70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x00007f90dc2ff8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#41 0x00007f90dc303748 in ?? () from /lib/libglib-2.0.so.0
#42 0x00007f90dc3038fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#43 0x00007f90e09c7f43 in QEventDispatcherGlib::processEvents (this=0x1484410, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#44 0x00007f90e17a0054 in QGuiEventDispatcherGlib::processEvents (this=0x1484410, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f90e0987f98 in QEventLoop::processEvents (this=0x7fff6c3447e0, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f90e09880ee in QEventLoop::exec (this=0x7fff6c3447e0, flags=...) at kernel/qeventloop.cpp:201
#47 0x00007f90e098b6a2 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#48 0x00007f90e16b4588 in QApplication::exec () at kernel/qapplication.cpp:3585
#49 0x000000000041769c in main (argc=<value optimized out>, argv=<value optimized out>) at /home/kde42/svn/kdeedu/rocs/src/Main.cpp:53

Reported using DrKonqi
Comment 1 Tomaz Canabrava 2011-03-25 17:07:00 UTC
fixed in 4.6