Bug 203118 - Umbrello crashed opening specific .xmi file
Summary: Umbrello crashed opening specific .xmi file
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
: 238775 255596 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-08 22:04 UTC by FiNeX
Modified: 2013-11-06 17:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.4


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FiNeX 2009-08-08 22:04:04 UTC
While testing bug #112552, I've had a crash opening a test file:
  https://bugs.kde.org/attachment.cgi?id=12685

I'm using umbrello from current trunk (r1008912).

Backtrace:



Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[KCrash Handler]
#5  0x0000000000bd2c99 in UMLPackage::addObject (this=0x0, pObject=0x1ea3be0) at /usr/include/QtCore/qlist.h:87
#6  0x0000000000c0a902 in UMLDoc::loadUMLObjectsFromXMI (this=<value optimized out>, element=<value optimized out>) at /home/test/KDE4/src/kdesdk/umbrello/umbrello/umldoc.cpp:2082
#7  0x0000000000c0a33a in UMLDoc::loadUMLObjectsFromXMI (this=<value optimized out>, element=<value optimized out>) at /home/test/KDE4/src/kdesdk/umbrello/umbrello/umldoc.cpp:2019
#8  0x0000000000c0c75e in UMLDoc::loadFromXMI (this=0x13fda20, file=<value optimized out>, encode=<value optimized out>) at /home/test/KDE4/src/kdesdk/umbrello/umbrello/umldoc.cpp:1853
#9  0x0000000000c08a29 in UMLDoc::openDocument (this=0x13fda20, url=@0x7fff6b2821a0, format=<value optimized out>) at /home/test/KDE4/src/kdesdk/umbrello/umbrello/umldoc.cpp:548
#10 0x0000000000bf132f in UMLApp::slotFileOpen (this=0x13e5da0) at /home/test/KDE4/src/kdesdk/umbrello/umbrello/uml.cpp:1031
#11 0x0000000000bf183a in UMLApp::qt_metacall (this=0x13e5da0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff6b2823a0) at /home/test/KDE4/src/build/kdesdk/umbrello/umbrello/uml.moc:224
#12 0x00007f3a43ee6e0c in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0x00007f3a4435cfd7 in QAction::triggered () from /usr/lib/libQtGui.so.4
#14 0x00007f3a4435e41f in QAction::activate () from /usr/lib/libQtGui.so.4
#15 0x00007f3a446c56fa in ?? () from /usr/lib/libQtGui.so.4
#16 0x00007f3a446c5985 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#17 0x00007f3a447942da in QToolButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#18 0x00007f3a443b1810 in QWidget::event () from /usr/lib/libQtGui.so.4
#19 0x00007f3a44362e2c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#20 0x00007f3a44369f41 in QApplication::notify () from /usr/lib/libQtGui.so.4
#21 0x00007f3a45e527f6 in KApplication::notify (this=0x7fff6b2849c0, receiver=0x15271a0, event=0x7fff6b282c50) at /home/test/KDE4/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#22 0x00007f3a43ed1d0c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#23 0x00007f3a44369810 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#24 0x00007f3a443cf714 in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007f3a443ce409 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#26 0x00007f3a443f65fc in ?? () from /usr/lib/libQtGui.so.4
#27 0x00007f3a3ec3adbe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007f3a3ec3e568 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#29 0x00007f3a3ec3e690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007f3a43efa1d6 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#31 0x00007f3a443f5dde in ?? () from /usr/lib/libQtGui.so.4
#32 0x00007f3a43ed0612 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#33 0x00007f3a43ed09e4 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#34 0x00007f3a43ed2b99 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#35 0x0000000000bc06d5 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/test/KDE4/src/kdesdk/umbrello/umbrello/main.cpp:111
Comment 1 Christoph Feck 2010-09-13 13:09:55 UTC
*** Bug 238775 has been marked as a duplicate of this bug. ***
Comment 2 Andi Fischer 2010-11-21 19:31:09 UTC
SVN commit 1199372 by fischer:

BUG: 203118, 238775 seems to be fixed now. XMI file attached to the bug 238775 is loading now.

 M  +2 -2      package.cpp  
 U             package.h  
 M  +12 -1     umldoc.cpp  
 M  +2 -3      umlobjectlist.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1199372
Comment 3 Dario Andres 2010-12-12 20:12:27 UTC
*** Bug 255596 has been marked as a duplicate of this bug. ***
Comment 4 Ralf Habacker 2013-11-06 17:32:00 UTC
set version-fixed-in from 4.7.4 changelog