Bug 251094 - Crash when opening file
Summary: Crash when opening file
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-13 14:31 UTC by Dave Stikkolorum
Modified: 2013-11-06 17:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.1


Attachments
Model Statemachine - XMI file (25.14 KB, text/x-xmi)
2010-09-13 14:59 UTC, Dave Stikkolorum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Stikkolorum 2010-09-13 14:31:47 UTC
Application: umbrello-soc (2.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-25-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Every time i open a certain file umbrello (soc) crashes. Not all the files cause this.
It seem to go ok when a diagram is simple (2 classes).


The crash can be reproduced every time.

 -- Backtrace:
Application: Umbrello UML Modeller (umbrello-soc), signal: Aborted
[KCrash Handler]
#5  0x00007f81f1733a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f81f17375c0 in *__GI_abort () at abort.c:92
#7  0x00007f81f29c0844 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#8  0x00007f81f29c0a22 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f81f29c0bd5 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#10 0x00000000006f21b9 in QVector<QPointF>::at (this=0x29f7a60, i=-2) at /usr/include/qt4/QtCore/qvector.h:338
#11 0x00000000006eb184 in AssociationLine::point (this=0x29f7a60, index=-2) at /home/dave/soc-umbrello/umbrello/widgets/associationline.cpp:301
#12 0x00000000006fb8d6 in AssociationWidget::constrainTextPos (this=0x29f7570, textX=@0x7fffb276fef8, textY=@0x7fffb276fef0, textWidth=0, textHeight=0, tr=Uml::tr_MultiB)
    at /home/dave/soc-umbrello/umbrello/widgets/associationwidget.cpp:382
#13 0x0000000000715265 in FloatingTextWidget::setText (this=0x2a029d0, t=...) at /home/dave/soc-umbrello/umbrello/widgets/floatingtextwidget.cpp:123
#14 0x0000000000702b64 in AssociationWidget::slotUMLObjectDataChanged (this=0x29f7570) at /home/dave/soc-umbrello/umbrello/widgets/associationwidget.cpp:1512
#15 0x000000000074336d in WidgetBase::setUMLObject (this=0x29f7570, obj=0x1fe48a0, notifyAsSlot=false) at /home/dave/soc-umbrello/umbrello/widgets/widgetbase.cpp:174
#16 0x00000000006fa743 in AssociationWidget::setUMLObject (this=0x29f7570, obj=0x1fe48a0, notifyAsSlot=false) at /home/dave/soc-umbrello/umbrello/widgets/associationwidget.cpp:196
#17 0x00000000006ffe7a in AssociationWidget::loadFromXMI (this=0x29f7570, qElement=..., widgets=..., pMessages=0x291d608) at /home/dave/soc-umbrello/umbrello/widgets/associationwidget.cpp:1117
#18 0x0000000000700d88 in AssociationWidget::loadFromXMI (this=0x29f7570, element=...) at /home/dave/soc-umbrello/umbrello/widgets/associationwidget.cpp:1265
#19 0x000000000081b8cf in UMLScene::loadAssociationsFromXMI (this=0x291d400, qElement=...) at /home/dave/soc-umbrello/umbrello/umlscene.cpp:4008
#20 0x000000000081a96d in UMLScene::loadFromXMI (this=0x291d400, qElement=...) at /home/dave/soc-umbrello/umbrello/umlscene.cpp:3902
#21 0x00000000007774a4 in UMLFolder::loadDiagramsFromXMI (this=0x1c17890, diagrams=...) at /home/dave/soc-umbrello/umbrello/folder.cpp:381
#22 0x0000000000778049 in UMLFolder::load (this=0x1c17890, element=...) at /home/dave/soc-umbrello/umbrello/folder.cpp:473
#23 0x000000000080041b in UMLObject::loadFromXMI (this=0x1c17890, element=...) at /home/dave/soc-umbrello/umbrello/umlobject.cpp:1042
#24 0x00000000007ddcd9 in UMLDoc::loadUMLObjectsFromXMI (this=0x1c17c10, element=...) at /home/dave/soc-umbrello/umbrello/umldoc.cpp:2021
#25 0x00000000007ddece in UMLDoc::loadUMLObjectsFromXMI (this=0x1c17c10, element=...) at /home/dave/soc-umbrello/umbrello/umldoc.cpp:2038
#26 0x00000000007dc6eb in UMLDoc::loadFromXMI (this=0x1c17c10, file=..., encode=1) at /home/dave/soc-umbrello/umbrello/umldoc.cpp:1866
#27 0x00000000007d39a0 in UMLDoc::openDocument (this=0x1c17c10, url=..., format=0x0) at /home/dave/soc-umbrello/umbrello/umldoc.cpp:538
#28 0x00000000007c27e0 in UMLApp::slotFileOpenRecent (this=0x1ce8f10, url=...) at /home/dave/soc-umbrello/umbrello/uml.cpp:1067
#29 0x00000000007c8f86 in UMLApp::qt_metacall (this=0x1ce8f10, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fffb2772990) at /home/dave/soc-umbrello/build/umbrello/uml.moc:217
#30 0x00007f81f2acfe3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#31 0x00007f81f4542282 in KRecentFilesAction::urlSelected(KUrl const&) () from /usr/lib/libkdeui.so.5
#32 0x00007f81f4542603 in ?? () from /usr/lib/libkdeui.so.5
#33 0x00007f81f45426b3 in KRecentFilesAction::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#34 0x00007f81f2acfe3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#35 0x00007f81f454616f in KSelectAction::triggered(QAction*) () from /usr/lib/libkdeui.so.5
#36 0x00007f81f4547aa9 in KSelectAction::actionTriggered(QAction*) () from /usr/lib/libkdeui.so.5
#37 0x00007f81f4548d75 in KSelectAction::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#38 0x00007f81f4542665 in KRecentFilesAction::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#39 0x00007f81f2acfe3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#40 0x00007f81f2f8ea3f in QActionGroup::triggered(QAction*) () from /usr/lib/libQtGui.so.4
#41 0x00007f81f2f8f247 in ?? () from /usr/lib/libQtGui.so.4
#42 0x00007f81f2f8f4a1 in QActionGroup::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#43 0x00007f81f2acfe3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#44 0x00007f81f2f8a032 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#45 0x00007f81f2f8c0ab in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#46 0x00007f81f33cb39d in ?? () from /usr/lib/libQtGui.so.4
#47 0x00007f81f33d0dda in ?? () from /usr/lib/libQtGui.so.4
#48 0x00007f81f46eccee in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#49 0x00007f81f2fe6582 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#50 0x00007f81f33d2f9b in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#51 0x00007f81f2f9022c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#52 0x00007f81f2f96ecb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#53 0x00007f81f4610526 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#54 0x00007f81f2abd06c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#55 0x00007f81f2f960ae in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#56 0x00007f81f30163dd in ?? () from /usr/lib/libQtGui.so.4
#57 0x00007f81f30148ac in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#58 0x00007f81f3040882 in ?? () from /usr/lib/libQtGui.so.4
#59 0x00007f81ee8b48c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#60 0x00007f81ee8b8748 in ?? () from /lib/libglib-2.0.so.0
#61 0x00007f81ee8b88fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#62 0x00007f81f2ae6513 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#63 0x00007f81f304046e in ?? () from /usr/lib/libQtGui.so.4
#64 0x00007f81f2abb992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#65 0x00007f81f2abbd6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#66 0x00007f81f2abfaab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#67 0x00000000007933ad in main (argc=1, argv=0x7fffb2774c48) at /home/dave/soc-umbrello/umbrello/main.cpp:111

Reported using DrKonqi
Comment 1 Christoph Feck 2010-09-13 14:41:36 UTC
Please attach the file that causes the crash.
Comment 2 Dave Stikkolorum 2010-09-13 14:59:53 UTC
Created attachment 51596 [details]
Model Statemachine - XMI file

Here's the file that causes the crash.
Comment 3 Dave Stikkolorum 2010-09-24 23:03:45 UTC
Did someone maybe looked into this?
Comment 4 Dario Andres 2010-11-20 18:15:48 UTC
[Comment from a bug triager]
I just tested opening that file with Umbrello from KDE SC 4.5.3 and it didn't crashed. Additionally the file contents was shown properly. 
- Are you still experiencing this crash with an updated Umbrello ?
Thanks
Comment 5 Ralf Habacker 2012-01-10 12:02:59 UTC
recent umbrello from svn trunk on windows/msvc do not crash opening this file. If this problems persists, feel free to reopen the bug.
Comment 6 Ralf Habacker 2013-11-06 17:24:49 UTC
set version-fixed-in from 4.8.1 changelog