Application: umbrello (2.4.2) KDE Platform Version: 4.4.2 (KDE 4.4.2) Qt Version: 4.6.2 Operating System: Linux 2.6.32-26-generic x86_64 Distribution: Ubuntu 10.04.1 LTS -- Information about the crash: Class A is parent and Class B is a child. Trying to add one-to-one aggregation (named as controller) between them: Instance of Class B is master controlling Class A objects. This worked before, but there was strange behaviour. When generating C++ code roles were "upside down". To get this working correctly I changed the roles upside down, but after a while removed the aggregation and tried to add a new one. Then crash happened. And it is reproducible after restart. File corrupted? Sometimes it says "aggregation not allowed" or something, but sometimes it crashes. This strange behaviour (roles upside down) was also happening with few compositions, but after removing and adding them again they started to work. This was before trying to change aggregations between these classes. The crash can be reproduced some of the time. -- Backtrace: Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault [KCrash Handler] #5 0x0000000000000021 in ?? () #6 0x0000000000ae5de8 in AssociationWidget::calculateTextPosition (this=0x2da1fc0, role=Uml::tr_Name) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:2097 #7 0x0000000000ae878e in AssociationWidget::saveIdealTextPositions (this=0x2da1fc0) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:1486 #8 0x0000000000b1e4e5 in UMLWidget::adjustAssocs (this=0x2d93130, x=754, y=293) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:617 #9 0x0000000000aef6d9 in ClassifierWidget::adjustAssocs (this=0x2da1fc0, x=2, y=48166432) at ../../../umbrello/umbrello/widgets/classifierwidget.cpp:790 #10 0x0000000000b1e209 in UMLWidget::updateWidget (this=0x2da1fc0) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:185 #11 0x0000000000b1cf8d in UMLWidget::qt_metacall (this=0x2d93130, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3e05eba0) at ./umlwidget.moc:92 #12 0x00007fc0cad65e3f in QMetaObject::activate (sender=0x2d15bb0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293 #13 0x0000000000b9dc8e in UMLCanvasObject::addAssociationEnd (this=0x2d15bb0, assoc=0x24455e0) at ../../../umbrello/umbrello/umlcanvasobject.cpp:90 #14 0x0000000000b7e143 in UMLPackage::addAssocToConcepts (this=<value optimized out>, assoc=0x24455e0) at ../../../umbrello/umbrello/package.cpp:96 #15 0x0000000000b7df82 in UMLPackage::addAssocToConcepts (this=<value optimized out>, assoc=0x24455e0) at ../../../umbrello/umbrello/package.cpp:100 #16 0x0000000000b7e8a8 in UMLPackage::addObject (this=<value optimized out>, pObject=<value optimized out>) at ../../../umbrello/umbrello/package.cpp:151 #17 0x0000000000ba58ed in UMLDoc::addAssociation (this=0x1c8ee90, assoc=0x24455e0) at ../../../umbrello/umbrello/umldoc.cpp:1133 #18 0x0000000000b89085 in ToolBarStateAssociation::addAssociationInViewAndDoc (this=<value optimized out>, assoc=<value optimized out>) at ../../../umbrello/umbrello/toolbarstateassociation.cpp:312 #19 0x0000000000b8945f in ToolBarStateAssociation::setSecondWidget (this=0x23a7770) at ../../../umbrello/umbrello/toolbarstateassociation.cpp:234 #20 0x0000000000b8783e in ToolBarState::mouseRelease (this=0x23a7770, ome=<value optimized out>) at ../../../umbrello/umbrello/toolbarstate.cpp:123 #21 0x00007fc0ca63dfdb in Q3ScrollView::viewportMouseReleaseEvent (this=0x2d95110, e=0x7fff3e05f910) at widgets/q3scrollview.cpp:1763 #22 0x00007fc0ca63f95e in Q3ScrollView::eventFilter (this=0x2d95110, obj=0x2da7630, e=0x7fff3e05f910) at widgets/q3scrollview.cpp:1481 #23 0x00007fc0cad52487 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2da7630, event=0x7fff3e05f910) at kernel/qcoreapplication.cpp:819 #24 0x00007fc0cb2261fc in QApplicationPrivate::notify_helper (this=0x1addf20, receiver=0x2da7630, e=0x7fff3e05f910) at kernel/qapplication.cpp:4296 #25 0x00007fc0cb22cecb in QApplication::notify (this=0x7fff3e060620, receiver=0x2da7630, e=0x7fff3e05f910) at kernel/qapplication.cpp:3865 #26 0x00007fc0cc62d526 in KApplication::notify (this=0x7fff3e060620, receiver=0x2da7630, event=0x7fff3e05f910) at ../../kdeui/kernel/kapplication.cpp:302 #27 0x00007fc0cad5306c in QCoreApplication::notifyInternal (this=0x7fff3e060620, receiver=0x2da7630, event=0x7fff3e05f910) at kernel/qcoreapplication.cpp:704 #28 0x00007fc0cb22c0ae in QCoreApplication::sendEvent (receiver=0x2da7630, event=0x7fff3e05f910, alienWidget=0x0, nativeWidget=0x2da7630, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #29 QApplicationPrivate::sendMouseEvent (receiver=0x2da7630, event=0x7fff3e05f910, alienWidget=0x0, nativeWidget=0x2da7630, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965 #30 0x00007fc0cb2abf65 in QETWidget::translateMouseEvent (this=0x2da7630, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368 #31 0x00007fc0cb2aa8ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff3e060230) at kernel/qapplication_x11.cpp:3501 #32 0x00007fc0cb2d6882 in x11EventSourceDispatch (s=0x1ae1c50, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #33 0x00007fc0c65a38c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #34 0x00007fc0c65a7748 in ?? () from /lib/libglib-2.0.so.0 #35 0x00007fc0c65a78fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #36 0x00007fc0cad7c513 in QEventDispatcherGlib::processEvents (this=0x1ab67c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #37 0x00007fc0cb2d646e in QGuiEventDispatcherGlib::processEvents (this=0x2da1fc0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #38 0x00007fc0cad51992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #39 0x00007fc0cad51d6c in QEventLoop::exec (this=0x7fff3e060560, flags=) at kernel/qeventloop.cpp:201 #40 0x00007fc0cad55aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #41 0x0000000000b6c6c5 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../umbrello/umbrello/main.cpp:111 Possible duplicates by query: bug 255815. Reported using DrKonqi
*** This bug has been marked as a duplicate of bug 152074 ***