Bug 188340

Summary: Crash when placing a sync message between 2 life lines on a sequence diagram.
Product: [Applications] umbrello Reporter: Onno Hommes <ohommes>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Onno Hommes 2009-03-28 15:54:09 UTC
Version:           2.2.1 (using 4.2.1 (KDE 4.2.1), 4.2.1-4.fc10 Fedora)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.7-134.fc10.i686

Maybe this is just a duplicate of Umbrello crashes after a few clicks because for me Umbrello is near unusable. I have not mastered to use this tool for a long time before it crashes. Any way here is 1 of the many reasons that crashes Umbrello:

1) Create anew sequence diagram
2) place to classes on that diagram which will result in showing their life lines (or swim lanes if you will)
3) Try to attempt to create a synchronous message between the two
4) Crash.
Comment 1 Onno Hommes 2009-03-28 16:00:22 UTC
Now I have been able to create a synchronous message. It seems hit and miss with Umbrello. As I started this bug maybe it should just be marked duplicate of the bug that discusses Umbrello crashes after a few clicks. There is just no clear reason why things crash. Sometimes things work, many times things crash.
Comment 2 Onno Hommes 2009-03-28 18:07:57 UTC
I decided to build a later version from march 25 2009 and still Umbrello crashes left and right. Here is a trace captured while working in a Sequence Diagram. I deleted one Combinded block alternative and after I selected a message in this view and see below:

Application: Umbrello UML Modeller (umbrello), signal SIGSEGV
[Current thread is 1 (Thread 0xb8038770 (LWP 7264))]

Thread 1 (Thread 0xb8038770 (LWP 7264)):
[KCrash Handler]
#6  0x0878089e in UMLView::getWidgetAt (this=0xa5cd740, p=@0xbfd79b64) at /u01/tmp/kdesdk-944099/umbrello/umbrello/umlview.cpp:743
#7  0x086b7cd5 in UMLWidget::setSelected (this=0xa5cd3d8, _select=false) at /u01/tmp/kdesdk-944099/umbrello/umbrello/widgets/umlwidget.cpp:763
#8  0x086b2bc9 in UMLWidget::slotClearAllSelected (this=0xa5cd3d8) at /u01/tmp/kdesdk-944099/umbrello/umbrello/widgets/umlwidget.cpp:780
#9  0x086b2ef3 in UMLWidget::qt_metacall (this=0xa5cd3d8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfd79c88) at /u01/tmp/kdesdk-944099/umbrello/umbrello/umlwidget.moc:90
#10 0x086a406f in ObjectWidget::qt_metacall (this=0xa5cd3d8, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfd79c88) at /u01/tmp/kdesdk-944099/umbrello/umbrello/objectwidget.moc:64
#11 0x02158750 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0x021594d2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0x0877edb9 in UMLView::sigClearAllSelected (this=0xa5cd740) at /u01/tmp/kdesdk-944099/umbrello/umbrello/umlview.moc:171
#14 0x0808cf70 in UMLWidgetController::selectSingle (this=0xa5e9db8, me=0xa3b08d0) at /u01/tmp/kdesdk-944099/umbrello/umbrello/controller/umlwidgetcontroller.cpp:362
#15 0x0808d71a in UMLWidgetController::mousePressEvent (this=0xa5e9db8, me=0xa3b08d0) at /u01/tmp/kdesdk-944099/umbrello/umbrello/controller/umlwidgetcontroller.cpp:119
#16 0x08727207 in ToolBarStateArrow::mousePressWidget (this=0xa5cdb20) at /u01/tmp/kdesdk-944099/umbrello/umbrello/toolbarstatearrow.cpp:51
#17 0x08726b83 in ToolBarState::mousePress (this=0xa5cdb20, ome=0xbfd79dcc) at /u01/tmp/kdesdk-944099/umbrello/umbrello/toolbarstate.cpp:68
#18 0x0877f6df in UMLView::contentsMousePressEvent (this=0xa5cd740, ome=0xbfd79dcc) at /u01/tmp/kdesdk-944099/umbrello/umbrello/umlview.cpp:1243
#19 0x0246db31 in Q3ScrollView::viewportMousePressEvent () from /usr/lib/libQt3Support.so.4
#20 0x0246f710 in Q3ScrollView::eventFilter () from /usr/lib/libQt3Support.so.4
#21 0x02142d0a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#22 0x00f82fca in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#23 0x00f8b7e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#24 0x008570fd in KApplication::notify () from /usr/lib/libkdeui.so.5
#25 0x02143b21 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#26 0x00f8aa6e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#27 0x00ff4db6 in ?? () from /usr/lib/libQtGui.so.4
#28 0x00ff4145 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#29 0x0101c77a in ?? () from /usr/lib/libQtGui.so.4
#30 0x09471238 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x094748e3 in ?? () from /lib/libglib-2.0.so.0
#32 0x09474aa1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x0216e158 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#34 0x0101be75 in ?? () from /usr/lib/libQtGui.so.4
#35 0x021421ea in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#36 0x021423aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#37 0x02144a65 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#38 0x00f82e67 in QApplication::exec () from /usr/lib/libQtGui.so.4
#39 0x087098b5 in main (argc=3, argv=0xbfd7acf4) at /u01/tmp/kdesdk-944099/umbrello/umbrello/main.cpp:118
Comment 3 Jekyll Wu 2012-07-05 23:38:26 UTC

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