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-22-generic x86_64 Distribution: Ubuntu 10.04 LTS -- Information about the crash: I was importing XMI file generated from PHP source using PEAR PHP_UML Following command was issued to when generating XMI: ${HOME}/PathToProject/Lib -x 1 -n ProjectName -o ${HOME}/tmp/ I can provide XMI file used. I am running Ubuntu 10.04 The crash can be reproduced every time. -- Backtrace: Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault [KCrash Handler] #5 0x0000000000b7e309 in QListData::size (this=0x0, pObject=0x179e810) at /usr/include/qt4/QtCore/qlist.h:90 #6 QList<UMLObject*>::indexOf (this=0x0, pObject=0x179e810) at /usr/include/qt4/QtCore/qlist.h:726 #7 UMLPackage::addObject (this=0x0, pObject=0x179e810) at ../../../umbrello/umbrello/package.cpp:136 #8 0x0000000000baa822 in UMLDoc::loadUMLObjectsFromXMI (this=<value optimized out>, element=<value optimized out>) at ../../../umbrello/umbrello/umldoc.cpp:2102 #9 0x0000000000baa29a in UMLDoc::loadUMLObjectsFromXMI (this=<value optimized out>, element=<value optimized out>) at ../../../umbrello/umbrello/umldoc.cpp:2038 #10 0x0000000000bb301e in UMLDoc::loadFromXMI (this=0x1494ab0, file=<value optimized out>, encode=<value optimized out>) at ../../../umbrello/umbrello/umldoc.cpp:1866 #11 0x0000000000bb54a9 in UMLDoc::openDocument (this=0x1494ab0, url=..., format=<value optimized out>) at ../../../umbrello/umbrello/umldoc.cpp:537 #12 0x0000000000b9c0ef in UMLApp::slotFileOpen (this=0x14d2f60) at ../../../umbrello/umbrello/uml.cpp:1035 #13 0x0000000000b9c5fa in UMLApp::qt_metacall (this=0x14d2f60, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffa14ea5e0) at ./uml.moc:231 #14 0x00007f7bfb613e3f in QMetaObject::activate (sender=0x14d4c10, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1374c00) at kernel/qobject.cpp:3293 #15 0x00007f7bfbace032 in QAction::triggered (this=0x0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #16 0x00007f7bfbad00ab in QAction::activate (this=0x14d4c10, event=<value optimized out>) at kernel/qaction.cpp:1255 #17 0x00007f7bfbf0f39d in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x14d4c10, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011 #18 0x00007f7bfbf14dda in QMenuPrivate::activateAction (this=0x1678540, action=0x14d4c10, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103 #19 0x00007f7bfcfb7cee in KMenu::mouseReleaseEvent (this=0x1678500, e=0x179e810) at ../../kdeui/widgets/kmenu.cpp:471 #20 0x00007f7bfbb2a582 in QWidget::event (this=0x1678500, event=0x7fffa14eb230) at kernel/qwidget.cpp:7998 #21 0x00007f7bfbf16f9b in QMenu::event (this=0x1678500, e=0x7fffa14eb230) at widgets/qmenu.cpp:2414 #22 0x00007f7bfbad422c in QApplicationPrivate::notify_helper (this=0x1318f80, receiver=0x1678500, e=0x7fffa14eb230) at kernel/qapplication.cpp:4300 #23 0x00007f7bfbadaecb in QApplication::notify (this=0x7fffa14ebf40, receiver=0x1678500, e=0x7fffa14eb230) at kernel/qapplication.cpp:3865 #24 0x00007f7bfcedb526 in KApplication::notify (this=0x7fffa14ebf40, receiver=0x1678500, event=0x7fffa14eb230) at ../../kdeui/kernel/kapplication.cpp:302 #25 0x00007f7bfb60106c in QCoreApplication::notifyInternal (this=0x7fffa14ebf40, receiver=0x1678500, event=0x7fffa14eb230) at kernel/qcoreapplication.cpp:704 #26 0x00007f7bfbada0ae in QCoreApplication::sendEvent (receiver=0x1678500, event=0x7fffa14eb230, alienWidget=0x0, nativeWidget=0x1678500, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #27 QApplicationPrivate::sendMouseEvent (receiver=0x1678500, event=0x7fffa14eb230, alienWidget=0x0, nativeWidget=0x1678500, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965 #28 0x00007f7bfbb5a3dd in QETWidget::translateMouseEvent (this=0x1678500, event=<value optimized out>) at kernel/qapplication_x11.cpp:4302 #29 0x00007f7bfbb588ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffa14ebb50) at kernel/qapplication_x11.cpp:3501 #30 0x00007f7bfbb84882 in x11EventSourceDispatch (s=0x131cc50, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #31 0x00007f7bf6e528c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #32 0x00007f7bf6e56748 in ?? () from /lib/libglib-2.0.so.0 #33 0x00007f7bf6e568fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #34 0x00007f7bfb62a513 in QEventDispatcherGlib::processEvents (this=0x12f17c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #35 0x00007f7bfbb8446e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #36 0x00007f7bfb5ff992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #37 0x00007f7bfb5ffd6c in QEventLoop::exec (this=0x7fffa14ebe80, flags=) at kernel/qeventloop.cpp:201 #38 0x00007f7bfb603aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #39 0x0000000000b6c6c5 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../umbrello/umbrello/main.cpp:111 Possible duplicates by query: bug 217387. Reported using DrKonqi
Created attachment 43871 [details] XMI file imported on crash
Created attachment 50831 [details] New crash information added by DrKonqi The Crash happens when importing a XMI file generated by Gaphor. I'm running Ubuntu 10.04.
*** This bug has been marked as a duplicate of bug 203118 ***
Created attachment 51606 [details] New crash information added by DrKonqi umbrello (2.5.1) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0 - What I was doing when the application crashed: importing xmi from poseidon - Unusual behavior I noticed: during import processing umbrello asked 3 times for an already existing class renaming then it crashed - Custom settings of the application: import of 12Mo XMI file generated by poseidon -- Backtrace (Reduced): #6 0x0000000000a098dc in QListData::size (this=0x0, pObject=0x863d330) at /usr/include/qt4/QtCore/qlist.h:94 #7 QList<UMLObject*>::indexOf (this=0x0, pObject=0x863d330) at /usr/include/qt4/QtCore/qlist.h:829 #8 UMLPackage::addObject (this=0x0, pObject=0x863d330) at ../../../umbrello/umbrello/package.cpp:136 #9 0x0000000000a35d42 in UMLDoc::loadUMLObjectsFromXMI (this=<value optimized out>, element=<value optimized out>) at ../../../umbrello/umbrello/umldoc.cpp:2102 #10 0x0000000000a357ba in UMLDoc::loadUMLObjectsFromXMI (this=<value optimized out>, element=<value optimized out>) at ../../../umbrello/umbrello/umldoc.cpp:2038
To comment #3 I really have difficulty to see a duplicate between #5 0x0000000000bd2c99 in UMLPackage::addObject (this=0x0, pObject=0x1ea3be0) at /usr/include/QtCore/qlist.h:87 and the current : #6 0x0000000000a098dc in QListData::size (this=0x0, pObject=0x863d330) at /usr/include/qt4/QtCore/qlist.h:94
Created attachment 53521 [details] New crash information added by DrKonqi umbrello (2.5.3) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0 Can we work on this bug please ? I'll attach the XMI model. -- Backtrace (Reduced): #6 0x0000000000a0f88c in size (this=0x0, pObject=0x8e8a700) at /usr/include/qt4/QtCore/qlist.h:94 #7 indexOf (this=0x0, pObject=0x8e8a700) at /usr/include/qt4/QtCore/qlist.h:829 #8 UMLPackage::addObject (this=0x0, pObject=0x8e8a700) at ../../../umbrello/umbrello/package.cpp:136 #9 0x0000000000a3c2e2 in UMLDoc::loadUMLObjectsFromXMI (this=<value optimized out>, element=<value optimized out>) at ../../../umbrello/umbrello/umldoc.cpp:2102 #10 0x0000000000a3bd5a in UMLDoc::loadUMLObjectsFromXMI (this=<value optimized out>, element=<value optimized out>) at ../../../umbrello/umbrello/umldoc.cpp:2038
Created attachment 53522 [details] XMI model that crashes umbrello after 3 objects name collisions
set version-fixed-in from 4.7.4 changelog