Bug 238669

Summary: Umbrello crashed on undo
Product: [Applications] umbrello Reporter: schoenmann
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: crash CC: kde
Priority: NOR    
Version: 2.4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.13.0
Sentry Crash Report:

Description schoenmann 2010-05-24 10:50:32 UTC
Application: umbrello (2.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Happened after I created a new class diagram, then deleted it and clicked undo twice.

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

Thread 2 (Thread 0xb535fb70 (LWP 2329)):
#0  0x0081ee16 in *__GI_clock_gettime (clock_id=8531956, tp=0xb535efb8) at ../sysdeps/unix/clock_gettime.c:100
#1  0x066ab6fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x066b0825 in QTimerInfoList::updateCurrentTime (this=0x8f07a0c) at kernel/qeventdispatcher_unix.cpp:340
#3  0x066b086a in QTimerInfoList::timerWait (this=0x8f07a0c, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x066ae818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb535f0cc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x066ae8a5 in timerSourcePrepare (source=0x0, timeout=0x822ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x01f7aaca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x01f7aee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x01f7b4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x066ae60f in QEventDispatcherGlib::processEvents (this=0x8efdaf0, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x06681059 in QEventLoop::processEvents (this=0xb535f290, flags=) at kernel/qeventloop.cpp:149
#11 0x066814aa in QEventLoop::exec (this=0xb535f290, flags=...) at kernel/qeventloop.cpp:201
#12 0x0657d5a8 in QThread::exec (this=0x8efe3b0) at thread/qthread.cpp:487
#13 0x06660c1b in QInotifyFileSystemWatcherEngine::run (this=0x8efe3b0) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x0658032e in QThreadPrivate::start (arg=0x8efe3b0) at thread/qthread_unix.cpp:248
#15 0x0082b96e in start_thread (arg=0xb535fb70) at pthread_create.c:300
#16 0x009e3a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb788d710 (LWP 2328)):
[KCrash Handler]
#6  0x007be4aa in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/libstdc++.so.6
#7  0x0860f5d8 in UMLView::getID (this=0xa9c5080) at ../../../umbrello/umbrello/umlview.h:185
#8  Uml::CmdCreateClassDiag::undo (this=0xa9c5080) at ../../../umbrello/umbrello/cmds/cmd_create_classdiag.cpp:41
#9  0x018fb427 in QUndoStack::undo (this=0x8d4c028) at util/qundostack.cpp:659
#10 0x019229f3 in QUndoStack::qt_metacall (this=0x8d4c028, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfd571f8) at .moc/release-shared/moc_qundostack.cpp:105
#11 0x00f88962 in KUndoStack::qt_metacall (this=0x8d4c028, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfd571f8) at ./kundostack.moc:64
#12 0x06687c9a in QMetaObject::metacall (object=0x8d4c028, cl=QMetaObject::InvokeMetaMethod, idx=12, argv=0xbfd571f8) at kernel/qmetaobject.cpp:237
#13 0x066963d5 in QMetaObject::activate (sender=0x8d53730, m=0x1b14d58, local_signal_index=1, argv=0xbfd571f8) at kernel/qobject.cpp:3293
#14 0x011e5bd9 in QAction::triggered (this=0x8d53730, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#15 0x011e7dcc in QAction::activate (this=0x8d53730, event=QAction::Trigger) at kernel/qaction.cpp:1255
#16 0x016dabd2 in QAction::trigger (this=0x877d8e8) at ../../include/QtGui/../../src/gui/kernel/qaction.h:218
#17 QToolButton::nextCheckState (this=0x877d8e8) at widgets/qtoolbutton.cpp:1147
#18 0x015f7cb3 in QAbstractButtonPrivate::click (this=0x8e83dc0) at widgets/qabstractbutton.cpp:528
#19 0x015f7fae in QAbstractButton::mouseReleaseEvent (this=0x8e83c90, e=0xbfd57960) at widgets/qabstractbutton.cpp:1121
#20 0x016db09c in QToolButton::mouseReleaseEvent (this=0x8e83c90, e=0xbfd57960) at widgets/qtoolbutton.cpp:721
#21 0x0124a7f8 in QWidget::event (this=0x8e83c90, event=0xbfd57960) at kernel/qwidget.cpp:7998
#22 0x015f6d4e in QAbstractButton::event (this=0x8e83c90, e=0x877d8e8) at widgets/qabstractbutton.cpp:1080
#23 0x016ddbca in QToolButton::event (this=0x8e83c90, event=0xbfd57960) at widgets/qtoolbutton.cpp:1163
#24 0x011ec4dc in QApplicationPrivate::notify_helper (this=0x8cb0fa8, receiver=0x8e83c90, e=0xbfd57960) at kernel/qapplication.cpp:4300
#25 0x011f39f7 in QApplication::notify (this=0xbfd58210, receiver=0x8e83c90, e=0xbfd57960) at kernel/qapplication.cpp:3865
#26 0x00edff2a in KApplication::notify (this=0xbfd58210, receiver=0x8e83c90, event=0xbfd57960) at ../../kdeui/kernel/kapplication.cpp:302
#27 0x06682a3b in QCoreApplication::notifyInternal (this=0xbfd58210, receiver=0x8e83c90, event=0xbfd57960) at kernel/qcoreapplication.cpp:704
#28 0x011f2952 in QCoreApplication::sendEvent (receiver=0x8e83c90, event=0xbfd57960, alienWidget=0x8e83c90, nativeWidget=0x8e80910, buttonDown=0x1b30058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QApplicationPrivate::sendMouseEvent (receiver=0x8e83c90, event=0xbfd57960, alienWidget=0x8e83c90, nativeWidget=0x8e80910, buttonDown=0x1b30058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#30 0x0127e088 in QETWidget::translateMouseEvent (this=0x8e80910, event=0xbfd57e7c) at kernel/qapplication_x11.cpp:4368
#31 0x0127d511 in QApplication::x11ProcessEvent (this=0xbfd58210, event=0xbfd57e7c) at kernel/qapplication_x11.cpp:3379
#32 0x012ac60a in x11EventSourceDispatch (s=0x8cb41a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x01f775e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x01f7b2d8 in ?? () from /lib/libglib-2.0.so.0
#35 0x01f7b4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x066ae5d5 in QEventDispatcherGlib::processEvents (this=0x8c93c20, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#37 0x012ac135 in QGuiEventDispatcherGlib::processEvents (this=0x8c93c20, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x06681059 in QEventLoop::processEvents (this=0xbfd58174, flags=) at kernel/qeventloop.cpp:149
#39 0x066814aa in QEventLoop::exec (this=0xbfd58174, flags=...) at kernel/qeventloop.cpp:201
#40 0x0668569f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#41 0x011ec577 in QApplication::exec () at kernel/qapplication.cpp:3579
#42 0x086ac645 in main (argc=1, argv=0xbfd583c4) at ../../../umbrello/umbrello/main.cpp:111

Possible duplicates by query: bug 196875.

Reported using DrKonqi