Bug 321874

Summary: Umbrello crashed when I used many times "undo" and "redo"
Product: [Applications] umbrello Reporter: Andrey <kdebugs>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andi.fischer
Priority: NOR    
Version: 2.10.4   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrey 2013-07-02 20:27:43 UTC
Application: umbrello (2.10.4)
KDE Platform Version: 4.10.4 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.10.0-rc6 x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
- What I was doing when the application crashed:

Umbrello crashed when I used many times "undo" and "redo". Just make "undo" at 20-40 operations, then ~10 "redo", then again "undo"... and again.

-- Backtrace:
Application: Umbrello (umbrello), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f91a7756780 (LWP 7656))]

Thread 2 (Thread 0x7f91a3323700 (LWP 11701)):
#0  0x00000030d060ff8d in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000030cee85f8f in read (__nbytes=16, __buf=0x7f91a3322c70, __fd=<optimized out>) at /usr/include/bits/unistd.h:45
#2  g_wakeup_acknowledge (wakeup=0x20fe0c0) at gwakeup.c:212
#3  0x00000030cee4a548 in g_main_context_check (context=context@entry=0x7f919c0009a0, max_priority=2147483647, fds=fds@entry=0x7f919c002bb0, n_fds=n_fds@entry=1) at gmain.c:2980
#4  0x00000030cee4a992 in g_main_context_iterate (context=context@entry=0x7f919c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3143
#5  0x00000030cee4ab2c in g_main_context_iteration (context=0x7f919c0009a0, may_block=1) at gmain.c:3207
#6  0x0000003a147ac48e in QEventDispatcherGlib::processEvents (this=0x7f919c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x0000003a1477c70f in QEventLoop::processEvents (this=this@entry=0x7f91a3322e40, flags=...) at kernel/qeventloop.cpp:149
#8  0x0000003a1477c9f0 in QEventLoop::exec (this=0x7f91a3322e40, flags=...) at kernel/qeventloop.cpp:204
#9  0x0000003a1467f360 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#10 0x0000003a1475d19f in QInotifyFileSystemWatcherEngine::run (this=0x2ee0190) at io/qfilesystemwatcher_inotify.cpp:256
#11 0x0000003a146822dc in QThreadPrivate::start (arg=0x2ee0190) at thread/qthread_unix.cpp:338
#12 0x00000030d060903a in start_thread (arg=0x7f91a3323700) at pthread_create.c:305
#13 0x00000030d02eab8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f91a7756780 (LWP 7656)):
[KCrash Handler]
#6  0x000000005a000000 in ?? ()
#7  0x000000000044fbf0 in UMLWidgetController::insertSaveValues (this=0x2c3a8c0, _oldX=-1137, _oldY=-670, X=<optimized out>, Y=-819) at /media/data/system/portage/portage/kde-base/umbrello-4.10.4/work/umbrello-4.10.4/umbrello/umbrello/controller/umlwidgetcontroller.cpp:612
#8  0x000000000065e3fa in Uml::CmdMoveWidget::redo (this=0x2cf0150) at /media/data/system/portage/portage/kde-base/umbrello-4.10.4/work/umbrello-4.10.4/umbrello/umbrello/cmds/cmd_moveWidget.cpp:40
#9  0x00000033e1210e10 in QUndoStack::redo (this=<optimized out>) at util/qundostack.cpp:726
#10 0x0000003a147931ff in QMetaObject::activate (sender=0x22aebf0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe9e49c90) at kernel/qobject.cpp:3539
#11 0x00000033e0bd4f32 in QAction::triggered (this=this@entry=0x22aebf0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#12 0x00000033e0bd50f8 in QAction::activate (this=0x22aebf0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#13 0x00000033e0bd523f in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#14 0x00000033e0bdb2ac in QApplicationPrivate::notify_helper (this=this@entry=0x20fbf20, receiver=receiver@entry=0x22aebf0, e=e@entry=0x7fffe9e4a1b0) at kernel/qapplication.cpp:4562
#15 0x00000033e0bdf73a in QApplication::notify (this=0x7fffe9e4b840, receiver=0x22aebf0, e=0x7fffe9e4a1b0) at kernel/qapplication.cpp:4423
#16 0x00000033e1a54a48 in KApplication::notify (this=0x7fffe9e4b840, receiver=0x22aebf0, event=0x7fffe9e4a1b0) at /media/data/system/portage/portage/kde-base/kdelibs-4.10.4/work/kdelibs-4.10.4/kdeui/kernel/kapplication.cpp:311
#17 0x0000003a1477da0d in QCoreApplication::notifyInternal (this=0x7fffe9e4b840, receiver=0x22aebf0, event=0x7fffe9e4a1b0) at kernel/qcoreapplication.cpp:946
#18 0x00000033e0c0c310 in sendEvent (event=0x7fffe9e4a1b0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QShortcutMap::dispatchEvent (this=this@entry=0x20fc040, e=e@entry=0x7fffe9e4a7a0) at kernel/qshortcutmap.cpp:884
#20 0x00000033e0c0d89d in QShortcutMap::tryShortcutEvent (this=0x20fc040, o=<optimized out>, e=0x7fffe9e4a7a0) at kernel/qshortcutmap.cpp:364
#21 0x00000033e0be1453 in QApplication::notify (this=0x7fffe9e4b840, receiver=0x2676760, e=0x7fffe9e4a7a0) at kernel/qapplication.cpp:3986
#22 0x00000033e1a54a48 in KApplication::notify (this=0x7fffe9e4b840, receiver=0x2676760, event=0x7fffe9e4a7a0) at /media/data/system/portage/portage/kde-base/kdelibs-4.10.4/work/kdelibs-4.10.4/kdeui/kernel/kapplication.cpp:311
#23 0x0000003a1477da0d in QCoreApplication::notifyInternal (this=0x7fffe9e4b840, receiver=0x2676760, event=0x7fffe9e4a7a0) at kernel/qcoreapplication.cpp:946
#24 0x00000033e0c77e33 in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x2676760, grab=grab@entry=false, type=QEvent::KeyPress, code=90, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=52, nativeVirtualKey=90, nativeModifiers=5) at kernel/qkeymapper_x11.cpp:1866
#25 0x00000033e0c781d9 in QKeyMapperPrivate::translateKeyEvent (this=0x2135c30, keyWidget=0x2676760, event=0x7fffe9e4b1a0, grab=false) at kernel/qkeymapper_x11.cpp:1836
#26 0x00000033e0c564e0 in QApplication::x11ProcessEvent (this=0x7fffe9e4b840, event=0x7fffe9e4b1a0) at kernel/qapplication_x11.cpp:3532
#27 0x00000033e0c7bf22 in x11EventSourceDispatch (s=s@entry=0x20fb6b0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00000030cee4a6f4 in g_main_dispatch (context=0x20f8de0) at gmain.c:2539
#29 g_main_context_dispatch (context=context@entry=0x20f8de0) at gmain.c:3075
#30 0x00000030cee4aa64 in g_main_context_iterate (context=context@entry=0x20f8de0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#31 0x00000030cee4ab2c in g_main_context_iteration (context=0x20f8de0, may_block=1) at gmain.c:3207
#32 0x0000003a147ac464 in QEventDispatcherGlib::processEvents (this=0x20f98e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00000033e0c7bbe6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x0000003a1477c70f in QEventLoop::processEvents (this=this@entry=0x7fffe9e4b580, flags=...) at kernel/qeventloop.cpp:149
#35 0x0000003a1477c9f0 in QEventLoop::exec (this=0x7fffe9e4b580, flags=...) at kernel/qeventloop.cpp:204
#36 0x0000003a147816c8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#37 0x000000000043b4eb in main (argc=3, argv=0x7fffe9e4b998) at /media/data/system/portage/portage/kde-base/umbrello-4.10.4/work/umbrello-4.10.4/umbrello/umbrello/main.cpp:111

Reported using DrKonqi
Comment 1 Andi Fischer 2013-09-02 12:34:10 UTC

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