Bug 286249

Summary: Crashed when Redo
Product: [Applications] umbrello Reporter: Pararama Dharmapala <inbox>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee, andreas_nordal_4, donnanicolas
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Pararama Dharmapala 2011-11-10 09:36:42 UTC
Application: umbrello (2.7.2)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic-pae i686
Distribution: Ubuntu 11.10

-- Information about the crash:
Undo a dipendency arrow in use case diag nothing visibal happened. and redo again to make sure I'm in the original place again

The crash can be reproduced every time.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[Current thread is 1 (Thread 0xb4a5eab0 (LWP 6573))]

Thread 3 (Thread 0xb2fffb70 (LWP 6575)):
#0  0xb5771dbd in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb5863f14 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb4f88723 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4f88f9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb46d1cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#5  0xb4faf5f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb576fd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7  0xb58560ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb3931b70 (LWP 6581)):
#0  do_gettime (frac=0xb3931020, sec=0xb3931018) at tools/qelapsedtimer_unix.cpp:121
#1  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#2  0xb5e974b6 in QTimerInfoList::updateCurrentTime (this=0x9c0b71c) at kernel/qeventdispatcher_unix.cpp:339
#3  0xb5e9780a in QTimerInfoList::timerWait (this=0x9c0b71c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#4  0xb5e96053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb393112c) at kernel/qeventdispatcher_glib.cpp:136
#5  0xb5e960ed in timerSourcePrepare (source=0x9c0b6e8, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#6  0xb4f8788c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb4f88637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb4f88c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb5e96b37 in QEventDispatcherGlib::processEvents (this=0x9c0dd70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#10 0xb5e671dd in QEventLoop::processEvents (this=0xb39312b0, flags=...) at kernel/qeventloop.cpp:149
#11 0xb5e67421 in QEventLoop::exec (this=0xb39312b0, flags=...) at kernel/qeventloop.cpp:201
#12 0xb5d6a90b in QThread::exec (this=0x9c17f20) at thread/qthread.cpp:498
#13 0xb5e47e2d in QInotifyFileSystemWatcherEngine::run (this=0x9c17f20) at io/qfilesystemwatcher_inotify.cpp:248
#14 0xb5d6d7b3 in QThreadPrivate::start (arg=0x9c17f20) at thread/qthread_unix.cpp:331
#15 0xb576fd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#16 0xb58560ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb4a5eab0 (LWP 6573)):
[KCrash Handler]
#7  ref (this=0x19) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:120
#8  QString (other=..., this=0xbfbcd3e8) at ../../include/QtCore/../../src/corelib/tools/qstring.h:729
#9  QUndoCommand::text (this=0x9d64380) at util/qundostack.cpp:241
#10 0xb67f4479 in QUndoStack::undoText (this=0x989b350) at util/qundostack.cpp:795
#11 0xb67f459a in QUndoStackPrivate::setIndex (this=0x989b360, idx=368, clean=false) at util/qundostack.cpp:401
#12 0xb67f4862 in QUndoStack::redo (this=0x989b350) at util/qundostack.cpp:685
#13 0xb681b348 in QUndoStack::qt_metacall (this=0x989b350, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfbcd568) at .moc/release-shared/moc_qundostack.cpp:106
#14 0xb6ffc623 in KUndoStack::qt_metacall (this=0x989b350, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfbcd568) at ./kundostack.moc:64
#15 0xb5e6eb7d in metacall (argv=0xbfbcd568, idx=13, cl=QMetaObject::InvokeMetaMethod, object=0x989b350) at kernel/qmetaobject.cpp:237
#16 QMetaObject::metacall (object=0x989b350, cl=QMetaObject::InvokeMetaMethod, idx=13, argv=0xbfbcd568) at kernel/qmetaobject.cpp:232
#17 0xb5e7da6a in QMetaObject::activate (sender=0x98a64d0, m=0xb6a43458, local_signal_index=1, argv=0xbfbcd568) at kernel/qobject.cpp:3278
#18 0xb60f383d in QAction::triggered (this=0x98a64d0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#19 0xb60f3adb in QAction::activate (this=0x98a64d0, event=QAction::Trigger) at kernel/qaction.cpp:1257
#20 0xb65e7170 in trigger (this=<optimized out>) at ../../include/QtGui/../../src/gui/kernel/qaction.h:218
#21 QToolButton::nextCheckState (this=0x99f10f8) at widgets/qtoolbutton.cpp:1147
#22 0xb650fbb7 in QAbstractButtonPrivate::click (this=0x99f1328) at widgets/qabstractbutton.cpp:528
#23 0xb650feb6 in QAbstractButton::mouseReleaseEvent (this=0x99f10f8, e=0xbfbcdb4c) at widgets/qabstractbutton.cpp:1121
#24 0xb65e720d in QToolButton::mouseReleaseEvent (this=0x99f10f8, e=0xbfbcdb4c) at widgets/qtoolbutton.cpp:721
#25 0xb6154f98 in QWidget::event (this=0x99f10f8, event=0xbfbcdb4c) at kernel/qwidget.cpp:8295
#26 0xb650f159 in QAbstractButton::event (this=0x99f10f8, e=0xbfbcdb4c) at widgets/qabstractbutton.cpp:1080
#27 0xb65e894c in QToolButton::event (this=0x99f10f8, event=0xbfbcdb4c) at widgets/qtoolbutton.cpp:1163
#28 0xb60fad54 in notify_helper (e=0xbfbcdb4c, receiver=0x99f10f8, this=0x96faf40) at kernel/qapplication.cpp:4486
#29 QApplicationPrivate::notify_helper (this=0x96faf40, receiver=0x99f10f8, e=0xbfbcdb4c) at kernel/qapplication.cpp:4458
#30 0xb6100dbb in QApplication::notify (this=0x96faf40, receiver=0x99f10f8, e=0xbfbcdb4c) at kernel/qapplication.cpp:4047
#31 0xb6f6f681 in KApplication::notify (this=0xbfbce370, receiver=0x99f10f8, event=0xbfbcdb4c) at ../../kdeui/kernel/kapplication.cpp:311
#32 0xb5e6819e in QCoreApplication::notifyInternal (this=0xbfbce370, receiver=0x99f10f8, event=0xbfbcdb4c) at kernel/qcoreapplication.cpp:787
#33 0xb60fbd15 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QApplicationPrivate::sendMouseEvent (receiver=0x99f10f8, event=0xbfbcdb4c, alienWidget=0x99f10f8, nativeWidget=0x99eecb8, buttonDown=0xb6a65eb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#35 0xb61882c4 in QETWidget::translateMouseEvent (this=0x99eecb8, event=0xbfbcdfcc) at kernel/qapplication_x11.cpp:4568
#36 0xb6186e4d in QApplication::x11ProcessEvent (this=0xbfbce370, event=0xbfbcdfcc) at kernel/qapplication_x11.cpp:3690
#37 0xb61b324c in x11EventSourceDispatch (s=0x96fe300, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0xb4f8825f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0xb4f88990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0xb4f88c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0xb5e96ada in QEventDispatcherGlib::processEvents (this=0x96d9230, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#42 0xb61b2e3a in QGuiEventDispatcherGlib::processEvents (this=0x96d9230, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0xb5e671dd in QEventLoop::processEvents (this=0xbfbce2d4, flags=...) at kernel/qeventloop.cpp:149
#44 0xb5e67421 in QEventLoop::exec (this=0xbfbce2d4, flags=...) at kernel/qeventloop.cpp:201
#45 0xb5e6c19d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#46 0xb60f88f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#47 0x080793f5 in main (argc=1, argv=0x1fb) at ../../../umbrello/umbrello/main.cpp:111

Possible duplicates by query: bug 281384, bug 262848.

Reported using DrKonqi
Comment 1 Andreas Nordal 2012-03-09 11:30:54 UTC
I did a search for "umbrello redo". Is this a duplicate of any of these?

bug 153805 – Umbrello Undo - Redo crash
bug 230130 – Umbrello crash undo - redo
bug 240606 – Umbrello crashes when I make "Redo" command
bug 249189 – Crashes on redo.
Comment 2 Nicolas Donna 2012-04-22 23:04:00 UTC
Created attachment 70579 [details]
New crash information added by DrKonqi

umbrello (2.7.4) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

-I had just created the file, i created a use case, made a mistake by undoing a change, when I "redid" it by keyboard shortcut the program crashed

-- Backtrace (Reduced):
#7  QString (other=..., this=0x7fffe30a1320) at ../../include/QtCore/../../src/corelib/tools/qstring.h:729
#8  QUndoCommand::text (this=0x1c8dc90) at util/qundostack.cpp:241
#9  0x00007ff3811e499f in QUndoStack::undoText (this=<optimized out>) at util/qundostack.cpp:795
#10 0x00007ff3811e4a8a in QUndoStackPrivate::setIndex (this=<optimized out>, idx=<optimized out>, clean=false) at util/qundostack.cpp:401
#11 0x00007ff381208288 in QUndoStack::qt_metacall (this=0x19cc7c0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fffe30a1460) at .moc/release-shared/moc_qundostack.cpp:106
Comment 3 Jekyll Wu 2012-07-05 23:23:48 UTC

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