Bug 281384

Summary: Umbrello crashed when drawing connection between two interfaces in a class diagram
Product: [Applications] umbrello Reporter: underline
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description underline 2011-09-05 12:31:16 UTC
Application: umbrello (2.6.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
Crash occurred while building a class diagram. Presses Undo/Redo several times. Then  drew "Implements" line from one interface to another. Crash took place when the mouse button has been released so a new connection had to be drawn.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[Current thread is 1 (Thread 0xb771d710 (LWP 4639))]

Thread 3 (Thread 0xb47b9b70 (LWP 4640)):
#0  0x00904d41 in clock_gettime (clock_id=1, tp=0xb47b9000) at ../sysdeps/unix/clock_gettime.c:116
#1  0x045a0dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0466d4f2 in updateCurrentTime (this=0xa4f2534, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xa4f2534, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0466bd32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb47b90dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0466bdcd in timerSourcePrepare (source=0xa4f2500, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x013e3fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x013e4e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x013e5524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x0466c577 in QEventDispatcherGlib::processEvents (this=0xa4f12c8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x0463e289 in QEventLoop::processEvents (this=0xb47b9290, flags=...) at kernel/qeventloop.cpp:149
#12 0x0463e522 in QEventLoop::exec (this=0xb47b9290, flags=...) at kernel/qeventloop.cpp:201
#13 0x045482a0 in QThread::exec (this=0xa4eae80) at thread/qthread.cpp:492
#14 0x0461ffdb in QInotifyFileSystemWatcherEngine::run (this=0xa4eae80) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x0454ada2 in QThreadPrivate::start (arg=0xa4eae80) at thread/qthread_unix.cpp:320
#16 0x00588e99 in start_thread (arg=0xb47b9b70) at pthread_create.c:304
#17 0x00a7c73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb3d95b70 (LWP 4642)):
#0  0x00904d41 in clock_gettime (clock_id=1, tp=0xb3d95000) at ../sysdeps/unix/clock_gettime.c:116
#1  0x045a0dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0466d4f2 in updateCurrentTime (this=0xa59c1b4, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xa59c1b4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0466bd32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb3d950dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0466bdcd in timerSourcePrepare (source=0xa59c180, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x013e3fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x013e4e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x013e5524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x0466c577 in QEventDispatcherGlib::processEvents (this=0xa59baf8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x0463e289 in QEventLoop::processEvents (this=0xb3d95290, flags=...) at kernel/qeventloop.cpp:149
#12 0x0463e522 in QEventLoop::exec (this=0xb3d95290, flags=...) at kernel/qeventloop.cpp:201
#13 0x045482a0 in QThread::exec (this=0xa59a048) at thread/qthread.cpp:492
#14 0x0461ffdb in QInotifyFileSystemWatcherEngine::run (this=0xa59a048) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x0454ada2 in QThreadPrivate::start (arg=0xa59a048) at thread/qthread_unix.cpp:320
#16 0x00588e99 in start_thread (arg=0xb3d95b70) at pthread_create.c:304
#17 0x00a7c73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb771d710 (LWP 4639)):
[KCrash Handler]
#7  0x07391d3c in QString (this=0x74006f) at ../../include/QtCore/../../src/corelib/tools/qstring.h:728
#8  QUndoCommand::text (this=0x74006f) at util/qundostack.cpp:241
#9  0x07392158 in QUndoStack::undoText (this=0xa29db80) at util/qundostack.cpp:795
#10 0x0739226e in QUndoStackPrivate::setIndex (this=0xa29db90, idx=92, clean=false) at util/qundostack.cpp:401
#11 0x07393556 in QUndoStack::push (this=0xa29db80, cmd=0xadedb20) at util/qundostack.cpp:579
#12 0x0838109b in UMLApp::executeCommand (this=0xa2a0b90, cmd=0xadedb20) at ../../../umbrello/umbrello/uml.cpp:2820
#13 0x082c7a05 in AssociationWidget::syncToModel (this=0xb347780) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:1418
#14 0x082cee73 in AssociationWidget::qt_metacall (this=0xb347780, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd9ecdc) at ./associationwidget.moc:88
#15 0x046456ba in QMetaObject::metacall (object=0xb347780, cl=QMetaObject::InvokeMetaMethod, idx=9, argv=0xbfd9ecdc) at kernel/qmetaobject.cpp:237
#16 0x046554ff in QMetaObject::activate (sender=0xb436340, m=0x8441ce0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#17 0x083be109 in UMLObject::modified (this=0xb436340) at ./umlobject.moc:87
#18 0x083c20c3 in UMLObject::qt_metacall (this=0xb436340, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd9eddc) at ./umlobject.moc:75
#19 0x046456ba in QMetaObject::metacall (object=0xb436340, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfd9eddc) at kernel/qmetaobject.cpp:237
#20 0x046554ff in QMetaObject::activate (sender=0xaec8708, m=0x8441ce0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#21 0x083be109 in UMLObject::modified (this=0xaec8708) at ./umlobject.moc:87
#22 0x083c6b9b in UMLRole::setObject (this=0xaec8708, obj=0xb14f250) at ../../../umbrello/umbrello/umlrole.cpp:121
#23 0x082d1a2e in AssociationWidget::AssociationWidget (this=0xb347780, view=0xaf1bec0, pWidgetA=0xb3f8eb8, assocType=Uml::at_Realization, pWidgetB=0xb39bc08, umlobject=0x0) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:108
#24 0x083750f1 in ToolBarStateAssociation::setSecondWidget (this=0xa6ebcc8) at ../../../umbrello/umbrello/toolbarstateassociation.cpp:233
#25 0x08373806 in ToolBarState::mouseRelease (this=0xa6ebcc8, ome=0xbfd9f010) at ../../../umbrello/umbrello/toolbarstate.cpp:123
#26 0x05cf87c8 in Q3ScrollView::viewportMouseReleaseEvent (this=0xaf1bec0, e=0xbfd9f5a4) at widgets/q3scrollview.cpp:1763
#27 0x05cf8f87 in Q3ScrollView::eventFilter (this=0xaf1bec0, obj=0xb50e590, e=0xbfd9f5a4) at widgets/q3scrollview.cpp:1481
#28 0x0463f25a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0xa235ae0, receiver=0xb50e590, event=0xbfd9f5a4) at kernel/qcoreapplication.cpp:846
#29 0x06cbfd00 in QApplicationPrivate::notify_helper (this=0xa235ae0, receiver=0xb50e590, e=0xbfd9f5a4) at kernel/qapplication.cpp:4458
#30 0x06cc5201 in QApplication::notify (this=0xbfd9fe40, receiver=0xb50e590, e=0xbfd9f5a4) at kernel/qapplication.cpp:4023
#31 0x00d193ca in KApplication::notify (this=0xbfd9fe40, receiver=0xb50e590, event=0xbfd9f5a4) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x0463f0bb in QCoreApplication::notifyInternal (this=0xbfd9fe40, receiver=0xb50e590, event=0xbfd9f5a4) at kernel/qcoreapplication.cpp:731
#33 0x06cc0c3b in sendSpontaneousEvent (receiver=0xb50e590, event=0xbfd9f5a4, alienWidget=0x0, nativeWidget=0xb50e590, buttonDown=0x760ec60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#34 QApplicationPrivate::sendMouseEvent (receiver=0xb50e590, event=0xbfd9f5a4, alienWidget=0x0, nativeWidget=0xb50e590, buttonDown=0x760ec60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#35 0x06d4c04c in QETWidget::translateMouseEvent (this=0xb50e590, event=0xbfd9facc) at kernel/qapplication_x11.cpp:4558
#36 0x06d4a9b5 in QApplication::x11ProcessEvent (this=0xbfd9fe40, event=0xbfd9facc) at kernel/qapplication_x11.cpp:3680
#37 0x06d765f4 in x11EventSourceDispatch (s=0xa2398f8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x013e4aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0x013e5270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0x013e5524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0x0466c53c in QEventDispatcherGlib::processEvents (this=0xa1e9aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#42 0x06d761e5 in QGuiEventDispatcherGlib::processEvents (this=0xa1e9aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x0463e289 in QEventLoop::processEvents (this=0xbfd9fd94, flags=...) at kernel/qeventloop.cpp:149
#44 0x0463e522 in QEventLoop::exec (this=0xbfd9fd94, flags=...) at kernel/qeventloop.cpp:201
#45 0x04642ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#46 0x06cbd8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#47 0x08355a27 in main (argc=1, argv=0x7b) at ../../../umbrello/umbrello/main.cpp:111

This bug may be a duplicate of or related to bug 207690.

Possible duplicates by query: bug 262848.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-07-05 23:23:41 UTC

*** This bug has been marked as a duplicate of bug 207690 ***