[umbrello-devel] [umbrello] [Bug 340151] New: Umbrello crashed when opening a project containing multiple sequence and collaboration diagrams

Matthew Cooke matthew.cooke at omlis.com
Mon Oct 20 11:04:24 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=340151

            Bug ID: 340151
           Summary: Umbrello crashed when opening a project containing
                    multiple sequence and collaboration diagrams
           Product: umbrello
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: umbrello-devel at kde.org
          Reporter: matthew.cooke at omlis.com

Application: umbrello (2.13.3)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-38-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
Crash occurs when opening the project.  Occurs whether the project is opened
from withing Umbrello, or the project file is opened with Umbrello.

The crash can be reproduced every time.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f43822517c0 (LWP 3287))]

Thread 2 (Thread 0x7f43591ef700 (LWP 3289)):
#0  0x00007f437b4c761d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f437b4c7979 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f437b485557 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f437b485f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f437b48630a in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4374722336 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f437b4aaf05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f437b952182 in start_thread (arg=0x7f43591ef700) at
pthread_create.c:312
#8  0x00007f437e95efbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f43822517c0 (LWP 3287)):
[KCrash Handler]
#6  operator QGraphicsScene* (this=<error reading variable: Cannot access
memory at address 0x8>) at
../../include/QtCore/../../src/corelib/kernel/qpointer.h:78
#7  QGraphicsView::scene (this=0x0) at graphicsview/qgraphicsview.cpp:1592
#8  0x00000000006d5be5 in UMLView::umlScene (this=<optimized out>) at
../../umbrello/umlview.cpp:60
#9  0x00000000005daf76 in Uml::CmdBaseWidgetCommand::scene
(this=this at entry=0x2bbae60) at
../../umbrello/cmds/widget/cmd_baseWidgetCommand.cpp:49
#10 0x00000000005db06a in Uml::CmdBaseWidgetCommand::addWidgetToScene
(this=this at entry=0x2bbae60, umlWidget=umlWidget at entry=0x2b2df30) at
../../umbrello/cmds/widget/cmd_baseWidgetCommand.cpp:73
#11 0x00000000005dcb32 in Uml::CmdCreateWidget::CmdCreateWidget
(this=0x2bbae60, widget=0x2b2df30) at
../../umbrello/cmds/widget/cmd_createWidget.cpp:31
#12 0x00000000006c3f82 in UMLScene::setupNewWidget (this=0x2bb6e10,
w=0x2b2df30, setPosition=setPosition at entry=true) at
../../umbrello/umlscene.cpp:542
#13 0x00000000005f9f42 in CombinedFragmentWidget::setCombinedFragmentType
(this=0x2b2d860, combinedfragmentType=<optimized out>) at
../../umbrello/widgets/combinedfragmentwidget.cpp:234
#14 0x00000000005fc3e1 in CombinedFragmentWidget::loadFromXMI (this=0x2b2d860,
qElement=...) at ../../umbrello/widgets/combinedfragmentwidget.cpp:355
#15 0x00000000006ceeb1 in UMLScene::loadWidgetFromXMI
(this=this at entry=0x2bb6e10, widgetElement=...) at
../../umbrello/umlscene.cpp:3764
#16 0x00000000006cef9d in UMLScene::loadWidgetsFromXMI
(this=this at entry=0x2bb6e10, qElement=...) at ../../umbrello/umlscene.cpp:3731
#17 0x00000000006d0408 in UMLScene::loadFromXMI (this=0x2bb6e10, qElement=...)
at ../../umbrello/umlscene.cpp:3701
#18 0x000000000064ef68 in UMLFolder::loadDiagramsFromXMI
(this=this at entry=0x1685790, diagrams=...) at ../../umbrello/folder.cpp:383
#19 0x0000000000650962 in UMLFolder::load (this=0x1685790, element=...) at
../../umbrello/folder.cpp:475
#20 0x00000000006bdc9f in UMLObject::loadFromXMI (this=0x1685790, element=...)
at ../../umbrello/umlobject.cpp:1074
#21 0x00000000006a220a in UMLDoc::loadUMLObjectsFromXMI
(this=this at entry=0x18ffb60, element=...) at ../../umbrello/umldoc.cpp:2201
#22 0x00000000006a205e in UMLDoc::loadUMLObjectsFromXMI
(this=this at entry=0x18ffb60, element=...) at ../../umbrello/umldoc.cpp:2220
#23 0x00000000006a628a in UMLDoc::loadFromXMI (this=0x18ffb60, file=...,
encode=<optimized out>) at ../../umbrello/umldoc.cpp:2003
#24 0x00000000006a73ef in UMLDoc::openDocument (this=0x18ffb60, url=...,
format=format at entry=0x0) at ../../umbrello/umldoc.cpp:551
#25 0x00000000006908e1 in UMLApp::slotFileOpenRecent (this=0x18db490, url=...)
at ../../umbrello/uml.cpp:1230
#26 0x00007f438007887a in QMetaObject::activate (sender=sender at entry=0x1afc1e0,
m=m at entry=0x7f4381101080 <KRecentFilesAction::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7fff959bdcc0)
at kernel/qobject.cpp:3539
#27 0x00007f4380c371a2 in KRecentFilesAction::urlSelected
(this=this at entry=0x1afc1e0, _t1=...) at ./krecentfilesaction.moc:137
#28 0x00007f4380c37268 in KRecentFilesActionPrivate::_k_urlSelected
(this=<optimized out>, action=0x1ca9110) at
../../kdeui/actions/krecentfilesaction.cpp:98
#29 0x00007f438007887a in QMetaObject::activate (sender=sender at entry=0x1afc1e0,
m=m at entry=0x7f4381101180 <KSelectAction::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7fff959bdea0)
at kernel/qobject.cpp:3539
#30 0x00007f4380c3a9cf in KSelectAction::triggered (this=this at entry=0x1afc1e0,
_t1=0x1ca9110) at ./kselectaction.moc:188
#31 0x00007f4380c3ada0 in KSelectAction::actionTriggered (this=0x1afc1e0,
action=0x1ca9110) at ../../kdeui/actions/kselectaction.cpp:321
#32 0x00007f438007887a in QMetaObject::activate (sender=sender at entry=0x1b34170,
m=m at entry=0x7f437fea7f00 <QActionGroup::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7fff959be030)
at kernel/qobject.cpp:3539
#33 0x00007f437f3fa9af in QActionGroup::triggered (this=this at entry=0x1b34170,
_t1=_t1 at entry=0x1ca9110) at .moc/release-shared/moc_qactiongroup.cpp:159
#34 0x00007f437f3faa2f in QActionGroupPrivate::_q_actionTriggered
(this=<optimized out>) at kernel/qactiongroup.cpp:93
#35 0x00007f438007887a in QMetaObject::activate (sender=sender at entry=0x1ca9110,
m=m at entry=0x7f437fea7de0 <QAction::staticMetaObject>,
local_signal_index=local_signal_index at entry=1, argv=argv at entry=0x7fff959be180)
at kernel/qobject.cpp:3539
#36 0x00007f437f3f7a62 in QAction::triggered (this=this at entry=0x1ca9110,
_t1=false) at .moc/release-shared/moc_qaction.cpp:276
#37 0x00007f437f3f9433 in QAction::activate (this=this at entry=0x1ca9110,
event=event at entry=QAction::Trigger) at kernel/qaction.cpp:1257
#38 0x00007f437f827489 in QMenuPrivate::activateCausedStack
(this=this at entry=0x1b17460, causedStack=..., action=action at entry=0x1ca9110,
action_e=action_e at entry=QAction::Trigger, self=self at entry=true) at
widgets/qmenu.cpp:1038
#39 0x00007f437f82b9b9 in QMenuPrivate::activateAction (this=0x1b17460,
action=0x1ca9110, action_e=action_e at entry=QAction::Trigger,
self=self at entry=true) at widgets/qmenu.cpp:1130
#40 0x00007f437f82f385 in QMenu::mouseReleaseEvent (this=this at entry=0x1b168f0,
e=e at entry=0x7fff959be8b0) at widgets/qmenu.cpp:2372
#41 0x00007f4380dbc665 in KMenu::mouseReleaseEvent (this=0x1b168f0,
e=0x7fff959be8b0) at ../../kdeui/widgets/kmenu.cpp:464
#42 0x00007f437f44d50a in QWidget::event (this=this at entry=0x1b168f0,
event=event at entry=0x7fff959be8b0) at kernel/qwidget.cpp:8376
#43 0x00007f437f82f7bb in QMenu::event (this=0x1b168f0, e=0x7fff959be8b0) at
widgets/qmenu.cpp:2481
#44 0x00007f437f3fde2c in QApplicationPrivate::notify_helper
(this=this at entry=0x1677750, receiver=receiver at entry=0x1b168f0,
e=e at entry=0x7fff959be8b0) at kernel/qapplication.cpp:4567
#45 0x00007f437f4045dd in QApplication::notify (this=this at entry=0x7fff959bf0d0,
receiver=receiver at entry=0x1b168f0, e=e at entry=0x7fff959be8b0) at
kernel/qapplication.cpp:4110
#46 0x00007f4380d05d1a in KApplication::notify (this=0x7fff959bf0d0,
receiver=0x1b168f0, event=0x7fff959be8b0) at
../../kdeui/kernel/kapplication.cpp:311
#47 0x00007f43800644dd in QCoreApplication::notifyInternal
(this=0x7fff959bf0d0, receiver=receiver at entry=0x1b168f0,
event=event at entry=0x7fff959be8b0) at kernel/qcoreapplication.cpp:953
#48 0x00007f437f403d93 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QApplicationPrivate::sendMouseEvent (receiver=receiver at entry=0x1b168f0,
event=event at entry=0x7fff959be8b0, alienWidget=alienWidget at entry=0x0,
nativeWidget=nativeWidget at entry=0x1b168f0,
buttonDown=buttonDown at entry=0x7f437fee3318 <qt_button_down>,
lastMouseReceiver=..., spontaneous=spontaneous at entry=true) at
kernel/qapplication.cpp:3178
#50 0x00007f437f478cfc in QETWidget::translateMouseEvent
(this=this at entry=0x1b168f0, event=event at entry=0x7fff959bec00) at
kernel/qapplication_x11.cpp:4568
#51 0x00007f437f478269 in QApplication::x11ProcessEvent (this=0x7fff959bf0d0,
event=event at entry=0x7fff959bec00) at kernel/qapplication_x11.cpp:3627
#52 0x00007f437f49fb02 in x11EventSourceDispatch (s=0x1675000, callback=0x0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#53 0x00007f437b485e04 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f437b486048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f437b4860ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f43800917a1 in QEventDispatcherGlib::processEvents (this=0x16408d0,
flags=...) at kernel/qeventdispatcher_glib.cpp:434
#57 0x00007f437f49fbb6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0x00007f43800630af in QEventLoop::processEvents
(this=this at entry=0x7fff959befd0, flags=...) at kernel/qeventloop.cpp:149
#59 0x00007f43800633a5 in QEventLoop::exec (this=this at entry=0x7fff959befd0,
flags=...) at kernel/qeventloop.cpp:204
#60 0x00007f4380068b79 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#61 0x00007f437f3fc37c in QApplication::exec () at kernel/qapplication.cpp:3828
#62 0x0000000000438839 in main (argc=<optimized out>, argv=<optimized out>) at
../../umbrello/main.cpp:123

Possible duplicates by query: bug 338983, bug 331746.


Reproducible: Always

Steps to Reproduce:
1.  Open the project
2.
3.

Actual Results:  
Crash

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list