Bug 259404

Summary: crash on new entity (entity relationship model)
Product: [Applications] umbrello Reporter: Liviu Vasut <liviu.vasut>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED WORKSFORME    
Severity: crash CC: ozsmhext, ralf.habacker
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.0
Sentry Crash Report:

Description Liviu Vasut 2010-12-10 07:56:29 UTC
Application: umbrello (2.5.3)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-63.fc13.i686.PAE i686
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
- What I was doing when the application crashed:
I have a database diagram with 15 entities. I wanted to add one more table.
- I right-clicked on an empty space on the diagrama nd choosed "New entity"
- I entered an name for the entity and pressed <OK>
- crash occured

The same happens if I use the "entity" tool from the toolbar.

The crash can be reproduced every time.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[KCrash Handler]
#7  operator!= (this=0x9f8cb88, position=818, assoc=0xa1d9120) at /usr/include/QtCore/qbasicatomic.h:75
#8  detach (this=0x9f8cb88, position=818, assoc=0xa1d9120) at /usr/include/QtCore/qlist.h:122
#9  insert (this=0x9f8cb88, position=818, assoc=0xa1d9120) at /usr/include/QtCore/qlist.h:516
#10 AssociationWidget::insertIntoLists (this=0x9f8cb88, position=818, assoc=0xa1d9120) at /usr/src/debug/kdesdk-4.5.3/umbrello/umbrello/widgets/associationwidget.cpp:3175
#11 0x085849b5 in AssociationWidget::updateAssociations (this=0x9f8cb88, totalCount=104, region=AssociationWidget::West, role=Uml::A)
    at /usr/src/debug/kdesdk-4.5.3/umbrello/umbrello/widgets/associationwidget.cpp:3244
#12 0x08584e27 in AssociationWidget::doUpdates (this=0x9f8cb88, otherX=553, otherY=238, role=Uml::A) at /usr/src/debug/kdesdk-4.5.3/umbrello/umbrello/widgets/associationwidget.cpp:1378
#13 0x0858f4b3 in AssociationWidget::calculateEndingPoints (this=0x9f8cb88) at /usr/src/debug/kdesdk-4.5.3/umbrello/umbrello/widgets/associationwidget.cpp:1324
#14 0x08590fae in AssociationWidget::AssociationWidget (this=0x9f8cb88, view=0xa496430, pWidgetA=0xa4a7d78, assocType=Uml::at_Relationship, pWidgetB=0xa4a80b0, umlobject=0x0)
    at /usr/src/debug/kdesdk-4.5.3/umbrello/umbrello/widgets/associationwidget.cpp:112
#15 0x08685518 in UMLView::createAutoConstraintAssociation (this=0xa496430, refEntity=0xa490ca8, fkConstraint=0xa492f78, widget=0xa4a80b0)
    at /usr/src/debug/kdesdk-4.5.3/umbrello/umbrello/umlview.cpp:2420
#16 0x08685730 in UMLView::createAutoConstraintAssociations (this=0xa496430, widget=0xa4a80b0) at /usr/src/debug/kdesdk-4.5.3/umbrello/umbrello/umlview.cpp:2398
#17 0x08687514 in UMLView::slotObjectCreated (this=0xa496430, o=0xa1a0988) at /usr/src/debug/kdesdk-4.5.3/umbrello/umbrello/umlview.cpp:526
#18 0x08687f02 in UMLView::qt_metacall (this=0xa496430, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbffd1a98) at /usr/src/debug/kdesdk-4.5.3/i686-redhat-linux-gnu/umbrello/umbrello/umlview.moc:134
#19 0x06f3dbcb in QMetaObject::metacall (object=0xa496430, cl=QMetaObject::InvokeMetaMethod, idx=64, argv=0xbffd1a98) at kernel/qmetaobject.cpp:237
#20 0x06f4ca75 in QMetaObject::activate (sender=0x9d77e58, m=0x86ed0a8, local_signal_index=4, argv=0xbffd1a98) at kernel/qobject.cpp:3295
#21 0x0863e276 in UMLDoc::sigObjectCreated (this=0x9d77e58, _t1=0xa1a0988) at /usr/src/debug/kdesdk-4.5.3/i686-redhat-linux-gnu/umbrello/umbrello/umldoc.moc:153
#22 0x08578bac in Uml::CmdCreateUMLObject::redo (this=0xa543f28) at /usr/src/debug/kdesdk-4.5.3/umbrello/umbrello/cmds/generic/cmd_create_umlobject.cpp:51
#23 0x031b60c6 in QUndoStack::push (this=0x9d77ac8, cmd=0xa543f28) at util/qundostack.cpp:541
#24 0x0862b0ec in UMLApp::executeCommand (this=0x9d80260, cmd=0xa543f28) at /usr/src/debug/kdesdk-4.5.3/umbrello/umbrello/uml.cpp:2794
#25 0x0861235f in Object_Factory::createNewUMLObject (type=Uml::ot_Entity, name=..., parentPkg=0x9d82740) at /usr/src/debug/kdesdk-4.5.3/umbrello/umbrello/object_factory.cpp:141
#26 0x086142e5 in Object_Factory::createUMLObject (type=Uml::ot_Entity, n=..., parentPkg=0x9d82740, solicitNewName=true) at /usr/src/debug/kdesdk-4.5.3/umbrello/umbrello/object_factory.cpp:211
#27 0x0867eae3 in UMLView::slotMenuSelection (this=0xa496430, action=0xa4d11b0) at /usr/src/debug/kdesdk-4.5.3/umbrello/umbrello/umlview.cpp:2673
#28 0x08687f34 in UMLView::qt_metacall (this=0xa496430, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbffd1f28) at /usr/src/debug/kdesdk-4.5.3/i686-redhat-linux-gnu/umbrello/umbrello/umlview.moc:136
#29 0x06f3dbcb in QMetaObject::metacall (object=0xa496430, cl=QMetaObject::InvokeMetaMethod, idx=66, argv=0xbffd1f28) at kernel/qmetaobject.cpp:237
#30 0x06f4ca75 in QMetaObject::activate (sender=0x9fcdbd0, m=0x33fb9e8, local_signal_index=2, argv=0xbffd1f28) at kernel/qobject.cpp:3295
#31 0x02f6a1d4 in QMenu::triggered (this=0x9fcdbd0, _t1=0xa4d11b0) at .moc/release-shared/moc_qmenu.cpp:164
#32 0x02f6b72f in QMenuPrivate::activateCausedStack (this=0x9fcc160, causedStack=..., action=0xa4d11b0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1012
#33 0x02f7152b in QMenuPrivate::activateAction (this=0x9fcc160, action=0xa4d11b0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1094
#34 0x02f7236f in QMenu::mouseReleaseEvent (this=0xa5586a8, e=0xbffd2780) at widgets/qmenu.cpp:2312
#35 0x07ab38f6 in KMenu::mouseReleaseEvent (this=0xa5586a8, e=0xbffd2780) at /usr/src/debug/kdelibs-4.5.3/kdeui/widgets/kmenu.cpp:471
#36 0x02b5a61d in QWidget::event (this=0xa5586a8, event=0xbffd2780) at kernel/qwidget.cpp:8044
#37 0x02f7396c in QMenu::event (this=0xa5586a8, e=0xbffd2780) at widgets/qmenu.cpp:2421
#38 0x02b0777c in QApplicationPrivate::notify_helper (this=0x9cf1bb0, receiver=0xa5586a8, e=0xbffd2780) at kernel/qapplication.cpp:4306
#39 0x02b0ed7e in QApplication::notify (this=0xbffd3030, receiver=0xa5586a8, e=0xbffd2780) at kernel/qapplication.cpp:3871
#40 0x079cec8b in KApplication::notify (this=0xbffd3030, receiver=0xa5586a8, event=0xbffd2780) at /usr/src/debug/kdelibs-4.5.3/kdeui/kernel/kapplication.cpp:310
#41 0x06f39133 in QCoreApplication::notifyInternal (this=0xbffd3030, receiver=0xa5586a8, event=0xbffd2780) at kernel/qcoreapplication.cpp:726
#42 0x02b0dae8 in sendEvent (receiver=0xa5586a8, event=0xbffd2780, alienWidget=0x0, nativeWidget=0xa5586a8, buttonDown=0x3410318, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#43 QApplicationPrivate::sendMouseEvent (receiver=0xa5586a8, event=0xbffd2780, alienWidget=0x0, nativeWidget=0xa5586a8, buttonDown=0x3410318, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2971
#44 0x02b8b83a in QETWidget::translateMouseEvent (this=0xa5586a8, event=0xbffd2c9c) at kernel/qapplication_x11.cpp:4314
#45 0x02b8a743 in QApplication::x11ProcessEvent (this=0xbffd3030, event=0xbffd2c9c) at kernel/qapplication_x11.cpp:3391
#46 0x02bb674a in x11EventSourceDispatch (s=0x9cf4d68, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0x00e31525 in g_main_dispatch (context=0x9cf3e90) at gmain.c:1960
#48 IA__g_main_context_dispatch (context=0x9cf3e90) at gmain.c:2513
#49 0x00e35268 in g_main_context_iterate (context=0x69e490, block=1, dispatch=1, self=0x9cf1df8) at gmain.c:2591
#50 0x00e35449 in IA__g_main_context_iteration (context=0x9cf3e90, may_block=1) at gmain.c:2654
#51 0x06f61446 in QEventDispatcherGlib::processEvents (this=0x9cd4428, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#52 0x02bb6336 in QGuiEventDispatcherGlib::processEvents (this=0x9cd4428, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x06f3780a in QEventLoop::processEvents (this=0xbffd2f94, flags=...) at kernel/qeventloop.cpp:149
#54 0x06f37b4a in QEventLoop::exec (this=0xbffd2f94, flags=...) at kernel/qeventloop.cpp:201
#55 0x06f3b807 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#56 0x02b07828 in QApplication::exec () at kernel/qapplication.cpp:3585
#57 0x0860a35d in main (argc=) at /usr/src/debug/kdesdk-4.5.3/umbrello/umbrello/main.cpp:111

Possible duplicates by query: bug 258263.

Reported using DrKonqi
Comment 1 Ralf Habacker 2011-12-07 12:58:53 UTC
This bug is not reproducable on windows using msvc and recent svn trunk build
Comment 2 Ralf Habacker 2013-11-06 17:29:41 UTC
set version-fixed-in from 4.8.0 changelog
Comment 3 Ralf Habacker 2014-12-02 02:06:29 UTC
*** Bug 272695 has been marked as a duplicate of this bug. ***