Bug 335767

Summary: Crash on Ctl-Z
Product: [Applications] umbrello Reporter: Christopher Heiny <christopherheiny>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: crash CC: ralf.habacker
Priority: NOR Keywords: drkonqi
Version: 2.11.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 2.12.80 (KDE 4.12.80)
Sentry Crash Report:

Description Christopher Heiny 2014-06-03 22:19:09 UTC
Application: umbrello (2.11.5)
KDE Platform Version: 4.11.5
Qt Version: 4.8.5
Operating System: Linux 3.13.11-100.fc19.x86_64 x86_64
Distribution: "Fedora release 19 (Schrödinger’s Cat)"

-- Information about the crash:
Editing a class diagram, accidentally deleted an enum member.  Hit Ctl-Z hoping to get it back, but instead Umbrello crashed.  Thanks to autosave, much of my work was recovered (yay!) but not all of it (sad.).

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  QGraphicsItemPrivate::invalidateParentGraphicsEffectsRecursively (this=<optimized out>) at graphicsview/qgraphicsitem.cpp:5395
#7  0x0000003d7bf6d827 in QGraphicsItem::update (this=0x1ec14f0, rect=...) at graphicsview/qgraphicsitem.cpp:5702
#8  0x00000000006b0894 in UMLWidget::setFillColorcmd(QColor const&) ()
#9  0x0000003d7bff5b31 in QUndoStack::undo (this=<optimized out>) at util/qundostack.cpp:701
#10 0x0000003d7a18db98 in QMetaObject::activate (sender=sender@entry=0x18f08c0, m=m@entry=0x3d7c467220 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff718b5ce0) at kernel/qobject.cpp:3547
#11 0x0000003d7b9c23c2 in QAction::triggered (this=this@entry=0x18f08c0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#12 0x0000003d7b9c3d93 in QAction::activate (this=0x18f08c0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#13 0x0000003d7b9c3eec in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#14 0x0000003d7b9c84dc in QApplicationPrivate::notify_helper (this=0x16acde0, receiver=0x18f08c0, e=0x7fff718b5fc0) at kernel/qapplication.cpp:4562
#15 0x0000003d7b9ceaa0 in QApplication::notify (this=this@entry=0x7fff718b6ef0, receiver=receiver@entry=0x18f08c0, e=e@entry=0x7fff718b5fc0) at kernel/qapplication.cpp:4348
#16 0x0000003d9d23fd5a in KApplication::notify (this=0x7fff718b6ef0, receiver=0x18f08c0, event=0x7fff718b5fc0) at /usr/src/debug/kdelibs-4.11.5/kdeui/kernel/kapplication.cpp:311
#17 0x0000003d7a179ecd in QCoreApplication::notifyInternal (this=0x7fff718b6ef0, receiver=0x18f08c0, event=event@entry=0x7fff718b5fc0) at kernel/qcoreapplication.cpp:949
#18 0x0000003d7b9f9786 in sendEvent (event=0x7fff718b5fc0, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#19 QShortcutMap::dispatchEvent (this=this@entry=0x16acf00, e=e@entry=0x7fff718b6300) at kernel/qshortcutmap.cpp:884
#20 0x0000003d7b9f98b4 in QShortcutMap::tryShortcutEvent (this=0x16acf00, o=<optimized out>, e=0x7fff718b6300) at kernel/qshortcutmap.cpp:364
#21 0x0000003d7b9cfd73 in QApplication::notify (this=this@entry=0x7fff718b6ef0, receiver=receiver@entry=0x1afa180, e=e@entry=0x7fff718b6300) at kernel/qapplication.cpp:3986
#22 0x0000003d9d23fd5a in KApplication::notify (this=0x7fff718b6ef0, receiver=0x1afa180, event=0x7fff718b6300) at /usr/src/debug/kdelibs-4.11.5/kdeui/kernel/kapplication.cpp:311
#23 0x0000003d7a179ecd in QCoreApplication::notifyInternal (this=0x7fff718b6ef0, receiver=receiver@entry=0x1afa180, event=event@entry=0x7fff718b6300) at kernel/qcoreapplication.cpp:949
#24 0x0000003d7b9c6e76 in sendSpontaneousEvent (event=event@entry=0x7fff718b6300, receiver=receiver@entry=0x1afa180) at ../../src/corelib/kernel/qcoreapplication.h:234
#25 qt_sendSpontaneousEvent (receiver=receiver@entry=0x1afa180, event=event@entry=0x7fff718b6300) at kernel/qapplication.cpp:5560
#26 0x0000003d7ba622d7 in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x1afa180, grab=grab@entry=false, type=QEvent::KeyPress, code=90, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=52, nativeVirtualKey=122, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1866
#27 0x0000003d7ba62679 in QKeyMapperPrivate::translateKeyEvent (this=0x16f3400, keyWidget=0x1afa180, event=0x7fff718b6880, grab=<optimized out>) at kernel/qkeymapper_x11.cpp:1836
#28 0x0000003d7ba3e60f in QApplication::x11ProcessEvent (this=0x7fff718b6ef0, event=event@entry=0x7fff718b6880) at kernel/qapplication_x11.cpp:3554
#29 0x0000003d7ba64d34 in x11EventSourceDispatch (s=s@entry=0x16aeb20, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#30 0x0000003d79447dc6 in g_main_dispatch (context=0x16ad910) at gmain.c:3054
#31 g_main_context_dispatch (context=context@entry=0x16ad910) at gmain.c:3630
#32 0x0000003d79448118 in g_main_context_iterate (context=context@entry=0x16ad910, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3701
#33 0x0000003d794481bc in g_main_context_iteration (context=0x16ad910, may_block=1) at gmain.c:3762
#34 0x0000003d7a1a6d35 in QEventDispatcherGlib::processEvents (this=0x1670a20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#35 0x0000003d7ba64ea6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#36 0x0000003d7a178b2f in QEventLoop::processEvents (this=this@entry=0x7fff718b6c60, flags=...) at kernel/qeventloop.cpp:149
#37 0x0000003d7a178e25 in QEventLoop::exec (this=this@entry=0x7fff718b6c60, flags=...) at kernel/qeventloop.cpp:204
#38 0x0000003d7a17e0a9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#39 0x00000000004381bb in main ()

Reported using DrKonqi
Comment 1 Ralf Habacker 2015-09-19 22:05:26 UTC
This bug has been fixed with umbrello version 2.12.80, which got a rewrite of the undo framework.