Bug 275481

Summary: Crash on undo of class creation
Product: [Applications] umbrello Reporter: Rob Maurer <robmaurer>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: crash CC: kde
Priority: NOR    
Version: 2.6.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.13.0

Description Rob Maurer 2011-06-12 17:39:50 UTC
Application: umbrello (2.6.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
Creating a class diagram. Clicked lower-left window 2x (inadvertently). Crashed.

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

Thread 3 (Thread 0xb756db70 (LWP 3764)):
#0  0x01475fc5 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x01476e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x0147792b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x04a1b304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#4  0x014a02df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x00a0ee99 in start_thread (arg=0xb756db70) at pthread_create.c:304
#6  0x0869773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb6d6cb70 (LWP 3939)):
#0  0x00a1276e in __pthread_mutex_unlock_usercnt (mutex=0x9fa6de4, decr=1) at pthread_mutex_unlock.c:36
#1  0x086a5656 in pthread_mutex_unlock (mutex=0x9fa6de4) at forward.c:184
#2  0x01476ff9 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x01477524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x04cc4577 in QEventDispatcherGlib::processEvents (this=0xa094ea8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x04c96289 in QEventLoop::processEvents (this=0xb6d6c290, flags=...) at kernel/qeventloop.cpp:149
#6  0x04c96522 in QEventLoop::exec (this=0xb6d6c290, flags=...) at kernel/qeventloop.cpp:201
#7  0x04ba02a0 in QThread::exec (this=0xa0b0fd8) at thread/qthread.cpp:492
#8  0x04c77fdb in QInotifyFileSystemWatcherEngine::run (this=0xa0b0fd8) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x04ba2da2 in QThreadPrivate::start (arg=0xa0b0fd8) at thread/qthread_unix.cpp:320
#10 0x00a0ee99 in start_thread (arg=0xb6d6cb70) at pthread_create.c:304
#11 0x0869773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77e5710 (LWP 3763)):
[KCrash Handler]
#7  0x082b9c70 in Uml::CmdResizeWidget::undo (this=0x9fc1a18) at ../../../umbrello/umbrello/cmds/cmd_resizeWidget.cpp:49
#8  0x02a3f9df in QUndoStack::setIndex (this=0x9e737c0, idx=1) at util/qundostack.cpp:740
#9  0x02a416b7 in QUndoModel::setStackCurrentIndex (this=0x9f64d18, index=...) at util/qundoview.cpp:160
#10 0x02a4190c in QUndoModel::qt_metacall (this=0x9f64d18, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfe2ad34) at .moc/release-shared/qundoview.moc:79
#11 0x04c9d6ba in QMetaObject::metacall (object=0x9f64d18, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbfe2ad34) at kernel/qmetaobject.cpp:237
#12 0x04cad4ff in QMetaObject::activate (sender=0x9f65128, m=0x2cade50, local_signal_index=1, argv=0xbfe2ad34) at kernel/qobject.cpp:3287
#13 0x029402c9 in QItemSelectionModel::currentChanged (this=0x9f65128, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#14 0x029403ff in QItemSelectionModel::setCurrentIndex (this=0x9f65128, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1169
#15 0x028ea17d in QAbstractItemView::mousePressEvent (this=0x9f56c70, event=0xbfe2b754) at itemviews/qabstractitemview.cpp:1666
#16 0x023c82ec in QWidget::event (this=0x9f56c70, event=0xbfe2b754) at kernel/qwidget.cpp:8255
#17 0x027b9f63 in QFrame::event (this=0x9f56c70, e=0xbfe2b754) at widgets/qframe.cpp:557
#18 0x028485d2 in QAbstractScrollArea::viewportEvent (this=0x9f56c70, e=0xbfe2b754) at widgets/qabstractscrollarea.cpp:1043
#19 0x028e7797 in QAbstractItemView::viewportEvent (this=0x9f56c70, event=0xbfe2b754) at itemviews/qabstractitemview.cpp:1628
#20 0x0284aed5 in viewportEvent (this=0x9f64cf0, o=0x9f57260, e=0xbfe2b754) at widgets/qabstractscrollarea_p.h:100
#21 QAbstractScrollAreaFilter::eventFilter (this=0x9f64cf0, o=0x9f57260, e=0xbfe2b754) at widgets/qabstractscrollarea_p.h:116
#22 0x04c9725a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9cccb18, receiver=0x9f57260, event=0xbfe2b754) at kernel/qcoreapplication.cpp:846
#23 0x0236fd00 in QApplicationPrivate::notify_helper (this=0x9cccb18, receiver=0x9f57260, e=0xbfe2b754) at kernel/qapplication.cpp:4458
#24 0x02375201 in QApplication::notify (this=0xbfe2bff0, receiver=0x9f57260, e=0xbfe2b754) at kernel/qapplication.cpp:4023
#25 0x011433ca in KApplication::notify (this=0xbfe2bff0, receiver=0x9f57260, event=0xbfe2b754) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x04c970bb in QCoreApplication::notifyInternal (this=0xbfe2bff0, receiver=0x9f57260, event=0xbfe2b754) at kernel/qcoreapplication.cpp:731
#27 0x02370c3b in sendSpontaneousEvent (receiver=0x9f57260, event=0xbfe2b754, alienWidget=0x9f57260, nativeWidget=0x9f5a698, buttonDown=0x2cbcc60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#28 QApplicationPrivate::sendMouseEvent (receiver=0x9f57260, event=0xbfe2b754, alienWidget=0x9f57260, nativeWidget=0x9f5a698, buttonDown=0x2cbcc60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#29 0x023fa2bc in QETWidget::translateMouseEvent (this=0x9f5a698, event=0xbfe2bc7c) at kernel/qapplication_x11.cpp:4556
#30 0x023f8746 in QApplication::x11ProcessEvent (this=0xbfe2bff0, event=0xbfe2bc7c) at kernel/qapplication_x11.cpp:3678
#31 0x02423b84 in x11EventSourceDispatch (s=0x9cd0f00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x01476aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0x01477270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0x01477524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0x04cc453c in QEventDispatcherGlib::processEvents (this=0x9c82aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#36 0x02423775 in QGuiEventDispatcherGlib::processEvents (this=0x9c82aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x04c96289 in QEventLoop::processEvents (this=0xbfe2bf44, flags=...) at kernel/qeventloop.cpp:149
#38 0x04c96522 in QEventLoop::exec (this=0xbfe2bf44, flags=...) at kernel/qeventloop.cpp:201
#39 0x04c9aecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#40 0x0236d8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#41 0x08355a27 in main (argc=137075088, argv=0x82b99b0) at ../../../umbrello/umbrello/main.cpp:111

Reported using DrKonqi