Bug 329938 - Crash adding interface to component diagram
Summary: Crash adding interface to component diagram
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-01-13 23:04 UTC by Ralf Habacker
Modified: 2014-04-07 20:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.13.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2014-01-13 23:04:13 UTC
Application: umbrello (2.12.99-fd26bdd)
KDE Platform Version: 4.11.2 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.4.67-1.gc5211a6-default x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
I created a new component diagram, selected interface in the toolbar and pressed left mouse button on the component diagram to add the interface. Then umbrello crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f62e841cd25 in raise () from /lib64/libc.so.6
#7  0x00007f62e841e1a8 in abort () from /lib64/libc.so.6
#8  0x00007f62e9eeec44 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=<optimized out>) at global/qglobal.cpp:2323
#9  0x00007f62e9eeedf8 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7f62ea057f28 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff2d646698) at global/qglobal.cpp:2369
#10 0x00007f62e9eeef84 in qFatal (msg=msg@entry=0x7f62ea057f28 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2552
#11 0x00007f62e9eeefca in qt_assert (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at global/qglobal.cpp:2018
#12 0x00000000005e0388 in Uml::CmdBaseWidgetCommand::widget (this=0x1da55e0) at /home/ralf/src/umbrello/umbrello/cmds/widget/cmd_baseWidgetCommand.cpp:55
#13 0x00000000005e1a59 in Uml::CmdChangeVisualProperty::redo (this=0x1da55e0) at /home/ralf/src/umbrello/umbrello/cmds/widget/cmd_changeVisualProperty.cpp:42
#14 0x00007f62e97cf563 in QUndoStack::push (this=0x1ac5a30, cmd=0x1da55e0) at util/qundostack.cpp:583
#15 0x00000000006815fe in UMLApp::executeCommand (this=0x1b03930, cmd=0x1da55e0) at /home/ralf/src/umbrello/umbrello/uml.cpp:3079
#16 0x00000000005ff6b6 in ClassifierWidget::setDrawAsCircle (this=0x20a9060, drawAsCircle=<optimized out>) at /home/ralf/src/umbrello/umbrello/widgets/classifierwidget.cpp:814
#17 0x0000000000629131 in Widget_Factory::createWidget (scene=0x1fb0c10, o=0x207a090) at /home/ralf/src/umbrello/umbrello/widgets/widget_factory.cpp:133
#18 0x00000000006ca917 in UMLScene::slotObjectCreated (this=0x1fb0c10, o=0x207a090) at /home/ralf/src/umbrello/umbrello/umlscene.cpp:597
#19 0x000000000043c0f4 in UMLScene::qt_static_metacall (_o=0x1fb0c10, _c=<optimized out>, _id=13, _a=0x7fff2d646b70) at /home/ralf/src/umbrello-build/umbrello/moc_umlscene.cpp:109
#20 0x00007f62ea00a37f in QMetaObject::activate (sender=0x1b11640, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2d646b70) at kernel/qobject.cpp:3556
#21 0x00000000006946e0 in UMLDoc::sigObjectCreated (this=<optimized out>, _t1=0x207a090) at /home/ralf/src/umbrello-build/umbrello/umldoc.moc:166
#22 0x000000000066e2e0 in Object_Factory::createNewUMLObject (type=type@entry=UMLObject::ot_Interface, name=..., parentPkg=parentPkg@entry=0x1ade800) at /home/ralf/src/umbrello/umbrello/object_factory.cpp:149
#23 0x000000000066e849 in Object_Factory::createUMLObject (type=UMLObject::ot_Interface, n=..., parentPkg=0x1ade800, solicitNewName=<optimized out>) at /home/ralf/src/umbrello/umbrello/object_factory.cpp:229
#24 0x000000000067ec21 in ToolBarStateOther::mouseReleaseEmpty (this=0x1df4860) at /home/ralf/src/umbrello/umbrello/toolbarstateother.cpp:84
#25 0x000000000067a756 in ToolBarState::mouseRelease (this=0x1df4860, ome=<optimized out>) at /home/ralf/src/umbrello/umbrello/toolbarstate.cpp:127
#26 0x00007f62e977b32c in QGraphicsScene::event (this=0x1fb0c10, event=0x7fff2d6473e0) at graphicsview/qgraphicsscene.cpp:3458
#27 0x00007f62e918191c in QApplicationPrivate::notify_helper (this=this@entry=0x18b0ba0, receiver=receiver@entry=0x1fb0c10, e=e@entry=0x7fff2d6473e0) at kernel/qapplication.cpp:4562
#28 0x00007f62e9185d9a in QApplication::notify (this=0x7fff2d648b20, receiver=0x1fb0c10, e=0x7fff2d6473e0) at kernel/qapplication.cpp:4423
#29 0x00007f62eaf2de16 in KApplication::notify (this=0x7fff2d648b20, receiver=0x1fb0c10, event=0x7fff2d6473e0) at /usr/src/debug/kdelibs-4.11.2/kdeui/kernel/kapplication.cpp:311
#30 0x00007f62e9ff4e7e in QCoreApplication::notifyInternal (this=0x7fff2d648b20, receiver=0x1fb0c10, event=0x7fff2d6473e0) at kernel/qcoreapplication.cpp:949
#31 0x00007f62e9791631 in QGraphicsView::mouseReleaseEvent (this=0x202d110, event=0x7fff2d647d10) at graphicsview/qgraphicsview.cpp:3338
#32 0x00007f62e91d13d9 in QWidget::event (this=0x202d110, event=0x7fff2d647d10) at kernel/qwidget.cpp:8376
#33 0x00007f62e957ca86 in QFrame::event (this=0x202d110, e=0x7fff2d647d10) at widgets/qframe.cpp:557
#34 0x00007f62e9794aab in QGraphicsView::viewportEvent (this=0x202d110, event=0x7fff2d647d10) at graphicsview/qgraphicsview.cpp:2866
#35 0x00007f62e9ff4fe6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x1fb12f0, event=0x7fff2d647d10) at kernel/qcoreapplication.cpp:1059
#36 0x00007f62e91818ec in QApplicationPrivate::notify_helper (this=this@entry=0x18b0ba0, receiver=receiver@entry=0x1fb12f0, e=e@entry=0x7fff2d647d10) at kernel/qapplication.cpp:4558
#37 0x00007f62e91865fb in QApplication::notify (this=<optimized out>, receiver=0x1fb12f0, e=0x7fff2d647d10) at kernel/qapplication.cpp:4105
#38 0x00007f62eaf2de16 in KApplication::notify (this=0x7fff2d648b20, receiver=0x1fb12f0, event=0x7fff2d647d10) at /usr/src/debug/kdelibs-4.11.2/kdeui/kernel/kapplication.cpp:311
#39 0x00007f62e9ff4e7e in QCoreApplication::notifyInternal (this=0x7fff2d648b20, receiver=0x1fb12f0, event=0x7fff2d647d10) at kernel/qcoreapplication.cpp:949
#40 0x00007f62e918275b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#41 QApplicationPrivate::sendMouseEvent (receiver=0x1fb12f0, event=0x7fff2d647d10, alienWidget=0x1fb12f0, nativeWidget=0x1d5aed0, buttonDown=0x7f62e9c57268 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#42 0x00007f62e91fd034 in QETWidget::translateMouseEvent (this=this@entry=0x1d5aed0, event=event@entry=0x7fff2d648480) at kernel/qapplication_x11.cpp:4528
#43 0x00007f62e91fbdc1 in QApplication::x11ProcessEvent (this=0x7fff2d648b20, event=0x7fff2d648480) at kernel/qapplication_x11.cpp:3651
#44 0x00007f62e9222162 in x11EventSourceDispatch (s=0x18bb170, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x00007f62e471c3b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f62e471c6e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#47 0x00007f62e471c7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#48 0x00007f62ea0234d6 in QEventDispatcherGlib::processEvents (this=0x187fc60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#49 0x00007f62e9221dde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007f62e9ff3b2f in QEventLoop::processEvents (this=this@entry=0x7fff2d648850, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007f62e9ff3db8 in QEventLoop::exec (this=0x7fff2d648850, flags=...) at kernel/qeventloop.cpp:204
#52 0x00007f62e9ff8af8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#53 0x0000000000439352 in main (argc=<optimized out>, argv=0x7fff2d648c78) at /home/ralf/src/umbrello/umbrello/main.cpp:113

Reported using DrKonqi
Comment 1 Ralf Habacker 2014-01-15 17:22:04 UTC
Git commit c89c25ab738a3169e5fd341740e76512eb0b3abf by Ralf Habacker.
Committed on 15/01/2014 at 17:18.
Pushed by habacker into branch 'master'.

Crash fix.

CCMAIL: jorissteyn@gmail.com

M  +9    -2    umbrello/cmds/widget/cmd_changeVisualProperty.cpp

http://commits.kde.org/umbrello/c89c25ab738a3169e5fd341740e76512eb0b3abf