Bug 307283

Summary: umbrello crashed on ctrl+z
Product: [Applications] umbrello Reporter: Ярослав <yaroslavkishchenko>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andi.fischer, evgom.sid, ralf.habacker, rstribrn
Priority: NOR    
Version: 2.8.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.11.3
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Ярослав 2012-09-23 19:41:50 UTC
Application: umbrello (2.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-30-generic-pae i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
i just wanted to revert something in my diagram so i press several times ctrl+z in a row but they didnt revert after 3-4 pressing i got it crashed

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

Thread 3 (Thread 0xb2226b40 (LWP 12835)):
#0  0xb4d2fdcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb5aa4315 in do_gettime (frac=0xb2225fb0, sec=0xb2225fa8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb5b8e226 in QTimerInfoList::updateCurrentTime (this=0xb1902074) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb5b8e57a in QTimerInfoList::timerWait (this=0xb1902074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0xb5b8ce23 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb22260bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb5b8cebd in timerSourcePrepare (source=0xb1902040, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb4eef872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb4eeffaf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb4ef0201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb5b8d8e7 in QEventDispatcherGlib::processEvents (this=0xb1900468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0xb5b5950d in QEventLoop::processEvents (this=0xb2226240, flags=...) at kernel/qeventloop.cpp:149
#12 0xb5b597a9 in QEventLoop::exec (this=0xb2226240, flags=...) at kernel/qeventloop.cpp:204
#13 0xb5a4294c in QThread::exec (this=0x8caf090) at thread/qthread.cpp:501
#14 0xb5b36b5d in QInotifyFileSystemWatcherEngine::run (this=0x8caf090) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb5a45de0 in QThreadPrivate::start (arg=0x8caf090) at thread/qthread_unix.cpp:298
#16 0xb56f4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb57f3ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb0d65b40 (LWP 14274)):
#0  0xb4f2f0d3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb4f2f408 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb4eef865 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4eeffaf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4ef0201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5b8d8e7 in QEventDispatcherGlib::processEvents (this=0xb0400468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb5b5950d in QEventLoop::processEvents (this=0xb0d65240, flags=...) at kernel/qeventloop.cpp:149
#7  0xb5b597a9 in QEventLoop::exec (this=0xb0d65240, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5a4294c in QThread::exec (this=0x9490128) at thread/qthread.cpp:501
#9  0xb5b36b5d in QInotifyFileSystemWatcherEngine::run (this=0x9490128) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb5a45de0 in QThreadPrivate::start (arg=0x9490128) at thread/qthread_unix.cpp:298
#11 0xb56f4d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb57f3ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb4a55740 (LWP 12834)):
[KCrash Handler]
#7  deref (this=0x75) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:132
#8  QString::operator= (this=0x9a81eb0, other=...) at tools/qstring.cpp:1411
#9  0x083cfecb in UMLObject::setNameCmd (this=0x9a81e98, strName=...) at ../../../umbrello/umbrello/umlobject.cpp:176
#10 0x082b02a9 in Uml::CmdRenameUMLObject::undo (this=0x9a571c0) at ../../../umbrello/umbrello/cmds/generic/cmd_rename_umlobject.cpp:40
#11 0xb683805b in QUndoCommand::undo (this=0x96d8838) at util/qundostack.cpp:226
#12 0xb6838b6f in QUndoStack::undo (this=0x8e740b8) at util/qundostack.cpp:701
#13 0xb6860d20 in qt_static_metacall (_a=0xbfc30238, _id=8, _o=0x8e740b8, _c=<optimized out>) at .moc/release-shared/moc_qundostack.cpp:82
#14 QUndoStack::qt_static_metacall (_o=0x8e740b8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc30238) at .moc/release-shared/moc_qundostack.cpp:68
#15 0xb5b716b1 in QMetaObject::activate (sender=0x8e97848, m=0xb6a943f8, local_signal_index=1, argv=0xbfc30238) at kernel/qobject.cpp:3547
#16 0xb61159bd in QAction::triggered (this=0x8e97848, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#17 0xb6115c5b in QAction::activate (this=0x8e97848, event=QAction::Trigger) at kernel/qaction.cpp:1257
#18 0xb6115df0 in QAction::event (this=0x9a57101, e=0x75) at kernel/qaction.cpp:1183
#19 0xb611ced4 in notify_helper (e=0xbfc30698, receiver=0x8e97848, this=0x8bed160) at kernel/qapplication.cpp:4559
#20 QApplicationPrivate::notify_helper (this=0x8bed160, receiver=0x8e97848, e=0xbfc30698) at kernel/qapplication.cpp:4531
#21 0xb612230d in QApplication::notify (this=0xbfc30698, receiver=0x8e97848, e=0xbfc30698) at kernel/qapplication.cpp:4288
#22 0xb6ca3401 in KApplication::notify (this=0xbfc3149c, receiver=0x8e97848, event=0xbfc30698) at ../../kdeui/kernel/kapplication.cpp:311
#23 0xb5b5a97e in QCoreApplication::notifyInternal (this=0xbfc3149c, receiver=0x8e97848, event=0xbfc30698) at kernel/qcoreapplication.cpp:876
#24 0xb61555f7 in sendEvent (event=0xbfc30698, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QShortcutMap::dispatchEvent (this=0x8bed208, e=0xbfc30ad4) at kernel/qshortcutmap.cpp:879
#26 0xb6156bd5 in QShortcutMap::tryShortcutEvent (this=0x8bed208, o=0x8f58d60, e=0xbfc30ad4) at kernel/qshortcutmap.cpp:364
#27 0xb61241ec in QApplication::notify (this=0x8f58d60, receiver=0x8f58d60, e=0xbfc30ad4) at kernel/qapplication.cpp:3983
#28 0xb6ca3401 in KApplication::notify (this=0xbfc3149c, receiver=0x8f58d60, event=0xbfc30ad4) at ../../kdeui/kernel/kapplication.cpp:311
#29 0xb5b5a97e in QCoreApplication::notifyInternal (this=0xbfc3149c, receiver=0x8f58d60, event=0xbfc30ad4) at kernel/qcoreapplication.cpp:876
#30 0xb611aced in sendSpontaneousEvent (event=0xbfc30ad4, receiver=0x8f58d60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#31 qt_sendSpontaneousEvent (receiver=0x8f58d60, event=0xbfc30ad4) at kernel/qapplication.cpp:5557
#32 0xb61d1401 in QKeyMapper::sendKeyEvent (keyWidget=0x8f58d60, grab=false, type=QEvent::KeyPress, code=90, modifiers=..., text=..., autorepeat=false, count=-1077736748, nativeScanCode=161837313, nativeVirtualKey=161837313, nativeModifiers=161837313) at kernel/qkeymapper_x11.cpp:1866
#33 0xb61d18ab in QKeyMapperPrivate::translateKeyEvent (this=0x8c17108, keyWidget=0x8f58d60, event=0xbfc310fc, grab=false) at kernel/qkeymapper_x11.cpp:1836
#34 0xb61a87b5 in QApplication::x11ProcessEvent (this=0xbfc3149c, event=0xbfc310fc) at kernel/qapplication_x11.cpp:3625
#35 0xb61d5eac in x11EventSourceDispatch (s=0x8beb990, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0xb4eefd86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0xb4ef0125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0xb4ef0201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0xb5b8d887 in QEventDispatcherGlib::processEvents (this=0x8bcb758, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0xb61d5aaa in QGuiEventDispatcherGlib::processEvents (this=0x8bcb758, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0xb5b5950d in QEventLoop::processEvents (this=0xbfc313f4, flags=...) at kernel/qeventloop.cpp:149
#42 0xb5b597a9 in QEventLoop::exec (this=0xbfc313f4, flags=...) at kernel/qeventloop.cpp:204
#43 0xb5b5eeba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#44 0xb611aa74 in QApplication::exec () at kernel/qapplication.cpp:3820
#45 0x0807855b in main (argc=<error reading variable: Cannot access memory at address 0x3>, argv=<error reading variable: Cannot access memory at address 0x7>) at ../../../umbrello/umbrello/main.cpp:111

Reported using DrKonqi
Comment 1 Rostislav Stříbrný 2012-11-06 23:19:45 UTC
Created attachment 75063 [details]
New crash information added by DrKonqi

umbrello (2.9.2) on KDE Platform 4.9.2 using Qt 4.8.3

- What I was doing when the application crashed:

Open new sequence diagram, add one object...press CTRL+Z several time => crash.

-- Backtrace (Reduced):
#6  0x00007fe610103421 in QUndoStack::undo() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
[...]
#8  0x00007fe60faaca32 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#9  0x00007fe60faacc20 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007fe60faacd87 in QAction::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007fe60fab2e9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Comment 2 Erick Osorio 2013-03-19 11:30:28 UTC
Created attachment 78200 [details]
New crash information added by DrKonqi

umbrello (2.10.1) on KDE Platform 4.10.1 "release 545" using Qt 4.8.4

- What I was doing when the application crashed:

I pressed ctrl+z for undo, and if i keep pressed, this crash (almost always).

-- Backtrace (Reduced):
#8  0x00007fb265f507b1 in QUndoStack::undo (this=<optimized out>) at util/qundostack.cpp:701
[...]
#10 0x00007fb2658fe662 in QAction::triggered (this=this@entry=0x10612f0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#11 0x00007fb2658fe850 in QAction::activate (this=0x10612f0, event=<optimized out>) at kernel/qaction.cpp:1257
#12 0x00007fb265cbe83f in QAbstractButtonPrivate::click (this=this@entry=0x1119050) at widgets/qabstractbutton.cpp:530
#13 0x00007fb265cbeaec in QAbstractButton::mouseReleaseEvent (this=0xe7ad10, e=0x7fff2de322b0) at widgets/qabstractbutton.cpp:1123
Comment 3 Andi Fischer 2013-10-11 21:56:01 UTC

*** This bug has been marked as a duplicate of bug 306830 ***