Bug 281391

Summary: Umbrello crashes after modifying a class
Product: [Applications] umbrello Reporter: underline
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description underline 2011-09-05 12:53:35 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-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
Opened properties of a class, added one field and one method with one parameter. Application crashed after pressing OK in the window with class properties.

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0xb4949b70 (LWP 5020)):
#0  0x005ebd41 in clock_gettime (clock_id=1, tp=0xb4949000) at ../sysdeps/unix/clock_gettime.c:116
#1  0x08847dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x089144f2 in updateCurrentTime (this=0x9c7e664, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x9c7e664, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x08912d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb49490dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x08912dcd in timerSourcePrepare (source=0x9c7e630, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0521efd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x0521fe63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x05220524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x08913577 in QEventDispatcherGlib::processEvents (this=0x9c7c038, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x088e5289 in QEventLoop::processEvents (this=0xb4949290, flags=...) at kernel/qeventloop.cpp:149
#12 0x088e5522 in QEventLoop::exec (this=0xb4949290, flags=...) at kernel/qeventloop.cpp:201
#13 0x087ef2a0 in QThread::exec (this=0x9c76290) at thread/qthread.cpp:492
#14 0x088c6fdb in QInotifyFileSystemWatcherEngine::run (this=0x9c76290) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x087f1da2 in QThreadPrivate::start (arg=0x9c76290) at thread/qthread_unix.cpp:320
#16 0x0017ce99 in start_thread (arg=0xb4949b70) at pthread_create.c:304
#17 0x013f373e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb3f78b70 (LWP 5022)):
#0  0x001807af in __pthread_mutex_unlock_usercnt (mutex=0x9d8ddcc, decr=1) at pthread_mutex_unlock.c:77
#1  0x01401656 in pthread_mutex_unlock (mutex=0x9d8ddcc) at forward.c:184
#2  0x0521efc2 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0521fe63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x05220524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x08913577 in QEventDispatcherGlib::processEvents (this=0x9c5ab08, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x088e5289 in QEventLoop::processEvents (this=0xb3f78290, flags=...) at kernel/qeventloop.cpp:149
#7  0x088e5522 in QEventLoop::exec (this=0xb3f78290, flags=...) at kernel/qeventloop.cpp:201
#8  0x087ef2a0 in QThread::exec (this=0x9c0fb10) at thread/qthread.cpp:492
#9  0x088c6fdb in QInotifyFileSystemWatcherEngine::run (this=0x9c0fb10) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x087f1da2 in QThreadPrivate::start (arg=0x9c0fb10) at thread/qthread_unix.cpp:320
#11 0x0017ce99 in start_thread (arg=0xb3f78b70) at pthread_create.c:304
#12 0x013f373e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb78ad710 (LWP 5019)):
[KCrash Handler]
#7  QString (this=0x143f99f6) at /usr/include/qt4/QtCore/qstring.h:728
#8  UMLObject::doc (this=0x143f99f6) at ../../../umbrello/umbrello/umlobject.cpp:408
#9  0x080945e2 in ClassifierListPage::slotActivateItem (this=0xa18f760, item=0x9f1de48) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:354
#10 0x08096eac in ClassifierListPage::qt_metacall (this=0xa18f760, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfc59d14) at ./classifierlistpage.moc:94
#11 0x088ec6ba in QMetaObject::metacall (object=0xa18f760, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbfc59d14) at kernel/qmetaobject.cpp:237
#12 0x088fc4ff in QMetaObject::activate (sender=0xa1b4090, m=0x7523fe8, local_signal_index=6, argv=0xbfc59d14) at kernel/qobject.cpp:3287
#13 0x071c8af9 in QListWidget::currentItemChanged (this=0xa1b4090, _t1=0x9f1de48, _t2=0xa338588) at .moc/release-shared/moc_qlistwidget.cpp:233
#14 0x071c8ecf in QListWidgetPrivate::_q_emitCurrentItemChanged (this=0xa2e3ce0, current=..., previous=...) at itemviews/qlistwidget.cpp:1112
#15 0x071cc2d4 in QListWidget::qt_metacall (this=0xa1b4090, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfc59e84) at .moc/release-shared/moc_qlistwidget.cpp:147
#16 0x088ec6ba in QMetaObject::metacall (object=0xa1b4090, cl=QMetaObject::InvokeMetaMethod, idx=89, argv=0xbfc59e84) at kernel/qmetaobject.cpp:237
#17 0x088fc4ff in QMetaObject::activate (sender=0xa1c4400, m=0x7523e50, local_signal_index=1, argv=0xbfc59e84) at kernel/qobject.cpp:3287
#18 0x071b6d59 in QItemSelectionModel::currentChanged (this=0xa1c4400, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#19 0x071b6e8f in QItemSelectionModel::setCurrentIndex (this=0xa1c4400, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1169
#20 0x071c874d in QListWidget::setCurrentRow (this=0xa1b4090, row=1) at itemviews/qlistwidget.cpp:1484
#21 0x071c9af5 in QListWidget::setCurrentItem (this=0xa1b4090, item=0x9f1de48) at itemviews/qlistwidget.cpp:1455
#22 0x08096d45 in ClassifierListPage::slotListItemCreated (this=0xa18f760, object=0x9d8c928) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:400
#23 0x08096eec in ClassifierListPage::qt_metacall (this=0xa18f760, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfc5a118) at ./classifierlistpage.moc:96
#24 0x088ec6ba in QMetaObject::metacall (object=0xa18f760, cl=QMetaObject::InvokeMetaMethod, idx=29, argv=0xbfc5a118) at kernel/qmetaobject.cpp:237
#25 0x088fc4ff in QMetaObject::activate (sender=0x9a2cdd0, m=0x843eac8, local_signal_index=4, argv=0xbfc5a118) at kernel/qobject.cpp:3287
#26 0x08394e25 in UMLDoc::sigObjectCreated (this=0x9a2cdd0, _t1=0x9d8c928) at ./umldoc.moc:153
#27 0x0831c48b in UMLClassifier::createOperation (this=0x9cc5960, name=..., isExistingOp=0x0, params=0x0) at ../../../umbrello/umbrello/classifier.cpp:279
#28 0x0835f700 in Object_Factory::createChildObject (parent=0x9cc5960, type=Uml::ot_Operation) at ../../../umbrello/umbrello/object_factory.cpp:259
#29 0x08095428 in ClassifierListPage::slotNewListItem (this=0xa2b6ce8) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:735
#30 0x08096fbb in ClassifierListPage::qt_metacall (this=0xa2b6ce8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfc5a3a8) at ./classifierlistpage.moc:104
#31 0x088ec6ba in QMetaObject::metacall (object=0xa2b6ce8, cl=QMetaObject::InvokeMetaMethod, idx=37, argv=0xbfc5a3a8) at kernel/qmetaobject.cpp:237
#32 0x088fc4ff in QMetaObject::activate (sender=0xa32ea50, m=0x7529884, local_signal_index=2, argv=0xbfc5a3a8) at kernel/qobject.cpp:3287
#33 0x072cf7c9 in QAbstractButton::clicked (this=0xa32ea50, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#34 0x06fe7326 in QAbstractButtonPrivate::emitClicked (this=0xa22c970) at widgets/qabstractbutton.cpp:546
#35 0x06fe8b94 in QAbstractButtonPrivate::click (this=0xa22c970) at widgets/qabstractbutton.cpp:539
#36 0x06fe8e4e in QAbstractButton::mouseReleaseEvent (this=0xa32ea50, e=0xbfc5ab04) at widgets/qabstractbutton.cpp:1121
#37 0x06c3c13a in QWidget::event (this=0xa32ea50, event=0xbfc5ab04) at kernel/qwidget.cpp:8259
#38 0x06fe7e9e in QAbstractButton::event (this=0xa32ea50, e=0xbfc5ab04) at widgets/qabstractbutton.cpp:1080
#39 0x07085c52 in QPushButton::event (this=0xa32ea50, e=0xbfc5ab04) at widgets/qpushbutton.cpp:683
#40 0x06be3d24 in QApplicationPrivate::notify_helper (this=0x99c1ae0, receiver=0xa32ea50, e=0xbfc5ab04) at kernel/qapplication.cpp:4462
#41 0x06be9201 in QApplication::notify (this=0xbfc5c880, receiver=0xa32ea50, e=0xbfc5ab04) at kernel/qapplication.cpp:4023
#42 0x00e9c3ca in KApplication::notify (this=0xbfc5c880, receiver=0xa32ea50, event=0xbfc5ab04) at ../../kdeui/kernel/kapplication.cpp:311
#43 0x088e60bb in QCoreApplication::notifyInternal (this=0xbfc5c880, receiver=0xa32ea50, event=0xbfc5ab04) at kernel/qcoreapplication.cpp:731
#44 0x06be4c3b in sendSpontaneousEvent (receiver=0xa32ea50, event=0xbfc5ab04, alienWidget=0xa32ea50, nativeWidget=0xa2c0a88, buttonDown=0x7532c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#45 QApplicationPrivate::sendMouseEvent (receiver=0xa32ea50, event=0xbfc5ab04, alienWidget=0xa32ea50, nativeWidget=0xa2c0a88, buttonDown=0x7532c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#46 0x06c7004c in QETWidget::translateMouseEvent (this=0xa2c0a88, event=0xbfc5b02c) at kernel/qapplication_x11.cpp:4558
#47 0x06c6e9b5 in QApplication::x11ProcessEvent (this=0xbfc5c880, event=0xbfc5b02c) at kernel/qapplication_x11.cpp:3680
#48 0x06c9a5f4 in x11EventSourceDispatch (s=0x99c58f8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#49 0x0521faa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0x05220270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#51 0x05220524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#52 0x0891353c in QEventDispatcherGlib::processEvents (this=0x9975aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#53 0x06c9a1e5 in QGuiEventDispatcherGlib::processEvents (this=0x9975aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x088e5289 in QEventLoop::processEvents (this=0xbfc5b300, flags=...) at kernel/qeventloop.cpp:149
#55 0x088e5522 in QEventLoop::exec (this=0xbfc5b300, flags=...) at kernel/qeventloop.cpp:201
#56 0x07103a93 in QDialog::exec (this=0xa274a98) at dialogs/qdialog.cpp:552
#57 0x082ff205 in UMLWidget::showProperties (this=0xa28a9b8) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:650
#58 0x08303fec in UMLWidget::slotMenuSelection (this=0xa28a9b8, action=0x9c4ef98) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:294
#59 0x08302faf in UMLWidget::qt_metacall (this=0xa28a9b8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfc5b578) at ./umlwidget.moc:93
#60 0x088ec6ba in QMetaObject::metacall (object=0xa28a9b8, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbfc5b578) at kernel/qmetaobject.cpp:237
#61 0x088fc4ff in QMetaObject::activate (sender=0xa16be68, m=0x751d328, local_signal_index=2, argv=0xbfc5b578) at kernel/qobject.cpp:3287
#62 0x07071083 in QMenu::triggered (this=0xa16be68, _t1=0x9c4ef98) at .moc/release-shared/moc_qmenu.cpp:164
#63 0x070720aa in QMenuPrivate::_q_actionTriggered (this=0xa164948) at widgets/qmenu.cpp:1111
#64 0x0707730e in QMenu::qt_metacall (this=0xa16be68, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc5b748) at .moc/release-shared/moc_qmenu.cpp:105
#65 0x00f7b05a in KMenu::qt_metacall (this=0xa16be68, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfc5b748) at ./kmenu.moc:76
#66 0x088ec6ba in QMetaObject::metacall (object=0xa16be68, cl=QMetaObject::InvokeMetaMethod, idx=35, argv=0xbfc5b748) at kernel/qmetaobject.cpp:237
#67 0x088fc4ff in QMetaObject::activate (sender=0x9c4ef98, m=0x75163f8, local_signal_index=1, argv=0xbfc5b748) at kernel/qobject.cpp:3287
#68 0x06bdc8d9 in QAction::triggered (this=0x9c4ef98, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#69 0x06bdcb38 in QAction::activate (this=0x9c4ef98, event=QAction::Trigger) at kernel/qaction.cpp:1257
#70 0x0707133d in QMenuPrivate::activateCausedStack (this=0xa164948, causedStack=..., action=0x9c4ef98, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#71 0x07077bfb in QMenuPrivate::activateAction (this=0xa164948, action=0x9c4ef98, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#72 0x07078a8e in QMenu::mouseReleaseEvent (this=0xa16be68, e=0xbfc5bfe4) at widgets/qmenu.cpp:2306
#73 0x00f79cf4 in KMenu::mouseReleaseEvent (this=0xa16be68, e=0xbfc5bfe4) at ../../kdeui/widgets/kmenu.cpp:458
#74 0x06c3c13a in QWidget::event (this=0xa16be68, event=0xbfc5bfe4) at kernel/qwidget.cpp:8259
#75 0x07078f67 in QMenu::event (this=0xa16be68, e=0xbfc5bfe4) at widgets/qmenu.cpp:2415
#76 0x06be3d24 in QApplicationPrivate::notify_helper (this=0x99c1ae0, receiver=0xa16be68, e=0xbfc5bfe4) at kernel/qapplication.cpp:4462
#77 0x06be9201 in QApplication::notify (this=0xbfc5c880, receiver=0xa16be68, e=0xbfc5bfe4) at kernel/qapplication.cpp:4023
#78 0x00e9c3ca in KApplication::notify (this=0xbfc5c880, receiver=0xa16be68, event=0xbfc5bfe4) at ../../kdeui/kernel/kapplication.cpp:311
#79 0x088e60bb in QCoreApplication::notifyInternal (this=0xbfc5c880, receiver=0xa16be68, event=0xbfc5bfe4) at kernel/qcoreapplication.cpp:731
#80 0x06be4c3b in sendSpontaneousEvent (receiver=0xa16be68, event=0xbfc5bfe4, alienWidget=0x0, nativeWidget=0xa16be68, buttonDown=0x7532c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#81 QApplicationPrivate::sendMouseEvent (receiver=0xa16be68, event=0xbfc5bfe4, alienWidget=0x0, nativeWidget=0xa16be68, buttonDown=0x7532c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#82 0x06c70253 in QETWidget::translateMouseEvent (this=0xa16be68, event=0xbfc5c50c) at kernel/qapplication_x11.cpp:4492
#83 0x06c6e9b5 in QApplication::x11ProcessEvent (this=0xbfc5c880, event=0xbfc5c50c) at kernel/qapplication_x11.cpp:3680
#84 0x06c9a5f4 in x11EventSourceDispatch (s=0x99c58f8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#85 0x0521faa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#86 0x05220270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#87 0x05220524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#88 0x0891353c in QEventDispatcherGlib::processEvents (this=0x9975aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#89 0x06c9a1e5 in QGuiEventDispatcherGlib::processEvents (this=0x9975aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#90 0x088e5289 in QEventLoop::processEvents (this=0xbfc5c7d4, flags=...) at kernel/qeventloop.cpp:149
#91 0x088e5522 in QEventLoop::exec (this=0xbfc5c7d4, flags=...) at kernel/qeventloop.cpp:201
#92 0x088e9ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#93 0x06be18e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#94 0x08355a27 in main (argc=0, argv=0x0) at ../../../umbrello/umbrello/main.cpp:111

Possible duplicates by query: bug 276490.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-07-05 22:13:52 UTC

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