Bug 238775 - Crash on importing XMI file
Summary: Crash on importing XMI file
Status: RESOLVED DUPLICATE of bug 203118
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-25 11:43 UTC by Goran Miskovic
Modified: 2013-11-06 17:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.4
Sentry Crash Report:


Attachments
XMI file imported on crash (73.44 KB, application/xml)
2010-05-25 11:46 UTC, Goran Miskovic
Details
New crash information added by DrKonqi (5.06 KB, text/plain)
2010-08-22 15:36 UTC, fabian.greif
Details
New crash information added by DrKonqi (6.55 KB, text/plain)
2010-09-13 17:32 UTC, p92
Details
New crash information added by DrKonqi (6.51 KB, text/plain)
2010-11-18 15:04 UTC, p92
Details
XMI model that crashes umbrello after 3 objects name collisions (425.68 KB, application/x-download)
2010-11-18 15:06 UTC, p92
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Goran Miskovic 2010-05-25 11:43:41 UTC
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
Comment 1 Goran Miskovic 2010-05-25 11:46:57 UTC
Created attachment 43871 [details]
XMI file imported on crash
Comment 2 fabian.greif 2010-08-22 15:36:59 UTC
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.
Comment 3 Christoph Feck 2010-09-13 13:09:55 UTC

*** This bug has been marked as a duplicate of bug 203118 ***
Comment 4 p92 2010-09-13 17:32:37 UTC
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
Comment 5 p92 2010-09-13 17:38:14 UTC
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
Comment 6 p92 2010-11-18 15:04:57 UTC
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
Comment 7 p92 2010-11-18 15:06:37 UTC
Created attachment 53522 [details]
XMI model that crashes umbrello after 3 objects name collisions
Comment 8 Ralf Habacker 2013-11-06 17:32:23 UTC
set version-fixed-in from 4.7.4 changelog