Bug 327106 - Umbrello crashed after changing label's color
Summary: Umbrello crashed after changing label's color
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.11.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-11-03 22:21 UTC by philipwellnitz
Modified: 2014-01-04 11:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description philipwellnitz 2013-11-03 22:21:01 UTC
Application: umbrello (2.11.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.12.0-031200rc7-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
I was working on a class diagram, trying to change a label's text color, after having  undone some changes. Additionally, I had an open sequence diagram tab.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f47bc28f7c0 (LWP 22598))]

Thread 5 (Thread 0x7f47a7e3f700 (LWP 22601)):
#0  0x00007f47b878b6bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f47b5521670 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f47b54e21cc in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f47b54e263b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f47b54e2b0a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f47af48cb66 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f47b55070f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f47b59a7f6e in start_thread (arg=0x7f47a7e3f700) at pthread_create.c:311
#8  0x00007f47b87999cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f47a6d52700 (LWP 22602)):
#0  __libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:65
#1  0x00007f47b878b6b2 in read () at ../sysdeps/unix/syscall-template.S:81
#2  0x00007f47b5521670 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f47b54e21cc in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f47b54e263b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f47b54e27ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f47b54e27f9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f47b55070f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f47b59a7f6e in start_thread (arg=0x7f47a6d52700) at pthread_create.c:311
#9  0x00007f47b87999cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f47950df700 (LWP 22604)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x7f4790000a60, decr=1) at pthread_mutex_unlock.c:36
#1  0x00007f47b55223d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f47b54e1d40 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f47b54e25c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f47b54e27ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f47ba0dea76 in QEventDispatcherGlib::processEvents (this=0x7f47900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f47ba0b05ef in QEventLoop::processEvents (this=this@entry=0x7f47950ded70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f47ba0b08e5 in QEventLoop::exec (this=this@entry=0x7f47950ded70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f47b9faf88f in QThread::exec (this=this@entry=0x26956c0) at thread/qthread.cpp:542
#9  0x00007f47ba091d13 in QInotifyFileSystemWatcherEngine::run (this=0x26956c0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f47b9fb1f2f in QThreadPrivate::start (arg=0x26956c0) at thread/qthread_unix.cpp:338
#11 0x00007f47b59a7f6e in start_thread (arg=0x7f47950df700) at pthread_create.c:311
#12 0x00007f47b87999cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f47855f6700 (LWP 22605)):
#0  0x00007f47ba0de807 in timerSourcePrepareHelper (src=0x7f4780001a00, timeout=0x7f47855f5bb4) at kernel/qeventdispatcher_glib.cpp:135
#1  0x00007f47ba0de8d5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#2  0x00007f47b54e1d4d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f47b54e25c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f47b54e27ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f47ba0dea76 in QEventDispatcherGlib::processEvents (this=0x7f47800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f47ba0b05ef in QEventLoop::processEvents (this=this@entry=0x7f47855f5d70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f47ba0b08e5 in QEventLoop::exec (this=this@entry=0x7f47855f5d70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f47b9faf88f in QThread::exec (this=this@entry=0x2ad5640) at thread/qthread.cpp:542
#9  0x00007f47ba091d13 in QInotifyFileSystemWatcherEngine::run (this=0x2ad5640) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f47b9fb1f2f in QThreadPrivate::start (arg=0x2ad5640) at thread/qthread_unix.cpp:338
#11 0x00007f47b59a7f6e in start_thread (arg=0x7f47855f6700) at pthread_create.c:311
#12 0x00007f47b87999cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f47bc28f7c0 (LWP 22598)):
[KCrash Handler]
#6  0x0000000000af0e80 in QListData::shared_null ()
#7  0x00007f47b9a84394 in QUndoStack::push (this=0x2682e20, cmd=cmd@entry=0x36069b0) at util/qundostack.cpp:602
#8  0x000000000072eb16 in UMLApp::executeCommand (this=0x25d6d00, cmd=0x36069b0) at ../../umbrello/uml.cpp:3018
#9  0x000000000066d1e9 in AssociationWidget::setName (this=this@entry=0x34a5df0, strName=...) at ../../umbrello/widgets/associationwidget.cpp:881
#10 0x000000000066e5c2 in AssociationWidget::syncToModel (this=0x34a5df0) at ../../umbrello/widgets/associationwidget.cpp:1752
#11 0x00007f47ba0c5a58 in QMetaObject::activate (sender=0x34224b0, m=m@entry=0x819840 <UMLObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#12 0x0000000000770833 in modified (this=<optimized out>) at ./umlobject.moc:143
#13 UMLObject::emitModified (this=<optimized out>) at ../../umbrello/umlobject.cpp:358
#14 0x00000000006b7948 in UMLAssociation::setAssociationType (this=<optimized out>, assocType=assocType@entry=107357280) at ../../umbrello/association.cpp:600
#15 0x0000000000668f52 in AssociationWidget::setAssociationType (this=0x0, type=107357280) at ../../umbrello/widgets/associationwidget.cpp:1404
#16 0x0000000000454c54 in AssocGenPage::updateObject (this=0x33c08a0) at ../../umbrello/dialogs/assocgenpage.cpp:159
#17 0x0000000000456847 in AssocPropDlg::slotApply (this=0x32c86a0) at ../../umbrello/dialogs/assocpropdlg.cpp:73
#18 0x00000000004568f5 in slotOk (this=<optimized out>) at ../../umbrello/dialogs/assocpropdlg.cpp:66
#19 AssocPropDlg::qt_static_metacall (_o=0x32c86a0, _c=QMetaObject::InvokeMetaMethod, _id=227, _a=0xe4) at ./assocpropdlg.moc:50
#20 0x00007f47ba0c5a58 in QMetaObject::activate (sender=sender@entry=0x32c86a0, m=m@entry=0x7f47bb150420 <KDialog::staticMetaObject>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#21 0x00007f47bacb35f3 in KDialog::okClicked (this=this@entry=0x32c86a0) at ./kdialog.moc:272
#22 0x00007f47bacb3ce0 in KDialog::slotButtonClicked (this=0x32c86a0, button=4) at ../../kdeui/dialogs/kdialog.cpp:884
#23 0x00007f47bacb557f in KDialog::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./kdialog.moc:167
#24 0x00007f47ba0c5a58 in QMetaObject::activate (sender=sender@entry=0x32e0b10, m=m@entry=0x7f47ba411d60 <QSignalMapper::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff066624c0) at kernel/qobject.cpp:3539
#25 0x00007f47ba0cd13e in QSignalMapper::mapped (this=this@entry=0x32e0b10, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:115
#26 0x00007f47ba0cd246 in QSignalMapper::map (this=0x32e0b10, sender=0x280d7e0) at kernel/qsignalmapper.cpp:266
#27 0x00007f47ba0c5a58 in QMetaObject::activate (sender=sender@entry=0x280d7e0, m=m@entry=0x7f47b9f212a0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff06662630) at kernel/qobject.cpp:3539
#28 0x00007f47b9a9c732 in QAbstractButton::clicked (this=this@entry=0x280d7e0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#29 0x00007f47b97fff73 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x33a43c0) at widgets/qabstractbutton.cpp:548
#30 0x00007f47b98010e3 in QAbstractButtonPrivate::click (this=this@entry=0x33a43c0) at widgets/qabstractbutton.cpp:541
#31 0x00007f47b98011cc in QAbstractButton::mouseReleaseEvent (this=0x280d7e0, e=0x7fff06662b20) at widgets/qabstractbutton.cpp:1123
#32 0x00007f47b949e31e in QWidget::event (this=0x280d7e0, event=0x7fff06662b20) at kernel/qwidget.cpp:8375
#33 0x00007f47b944edfc in QApplicationPrivate::notify_helper (this=this@entry=0x235d320, receiver=receiver@entry=0x280d7e0, e=e@entry=0x7fff06662b20) at kernel/qapplication.cpp:4567
#34 0x00007f47b94555ad in QApplication::notify (this=this@entry=0x7fff06664a00, receiver=receiver@entry=0x280d7e0, e=e@entry=0x7fff06662b20) at kernel/qapplication.cpp:4110
#35 0x00007f47bad51a6a in KApplication::notify (this=0x7fff06664a00, receiver=0x280d7e0, event=0x7fff06662b20) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x00007f47ba0b18bd in QCoreApplication::notifyInternal (this=0x7fff06664a00, receiver=receiver@entry=0x280d7e0, event=event@entry=0x7fff06662b20) at kernel/qcoreapplication.cpp:946
#37 0x00007f47b9454d63 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#38 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x280d7e0, event=event@entry=0x7fff06662b20, alienWidget=alienWidget@entry=0x280d7e0, nativeWidget=nativeWidget@entry=0x32c86a0, buttonDown=buttonDown@entry=0x7f47b9f332f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#39 0x00007f47b94c97db in QETWidget::translateMouseEvent (this=this@entry=0x32c86a0, event=event@entry=0x7fff06662ea0) at kernel/qapplication_x11.cpp:4631
#40 0x00007f47b94c9079 in QApplication::x11ProcessEvent (this=0x7fff06664a00, event=event@entry=0x7fff06662ea0) at kernel/qapplication_x11.cpp:3624
#41 0x00007f47b94f0922 in x11EventSourceDispatch (s=0x235be10, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#42 0x00007f47b54e23b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f47b54e2708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f47b54e27ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f47ba0dea55 in QEventDispatcherGlib::processEvents (this=0x235c5e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#46 0x00007f47b94f09d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f47ba0b05ef in QEventLoop::processEvents (this=this@entry=0x7fff06663290, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f47ba0b08e5 in QEventLoop::exec (this=this@entry=0x7fff06663290, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007f47b98f538c in QDialog::exec (this=0x32c86a0) at dialogs/qdialog.cpp:554
#50 0x000000000066e15c in AssociationWidget::showPropertiesDialog (this=0x34a5df0) at ../../umbrello/widgets/associationwidget.cpp:396
#51 0x0000000000674bbd in AssociationWidget::slotMenuSelection (this=0x34a5df0, action=0x3146710) at ../../umbrello/widgets/associationwidget.cpp:2904
#52 0x000000000066ff24 in AssociationWidget::contextMenuEvent (this=<optimized out>, event=0x7fff06663b80) at ../../umbrello/widgets/associationwidget.cpp:4009
#53 0x00007f47b99f7b25 in QGraphicsItem::sceneEvent (this=0x34a5e00, event=0x7fff06663b80) at graphicsview/qgraphicsitem.cpp:6712
#54 0x00007f47b9a1ec9a in QGraphicsScene::contextMenuEvent (this=this@entry=0x3439570, contextMenuEvent=contextMenuEvent@entry=0x7fff06663b80) at graphicsview/qgraphicsscene.cpp:3617
#55 0x0000000000794cab in UMLScene::contextMenuEvent (this=0x3439570, contextMenuEvent=0x7fff06663b80) at ../../umbrello/umlscene.cpp:2973
#56 0x00007f47b9a337a5 in QGraphicsScene::event (this=0x3439570, event=0x7fff06663b80) at graphicsview/qgraphicsscene.cpp:3412
#57 0x00007f47b944edfc in QApplicationPrivate::notify_helper (this=this@entry=0x235d320, receiver=receiver@entry=0x3439570, e=e@entry=0x7fff06663b80) at kernel/qapplication.cpp:4567
#58 0x00007f47b9455470 in QApplication::notify (this=this@entry=0x7fff06664a00, receiver=receiver@entry=0x3439570, e=e@entry=0x7fff06663b80) at kernel/qapplication.cpp:4353
#59 0x00007f47bad51a6a in KApplication::notify (this=0x7fff06664a00, receiver=0x3439570, event=0x7fff06663b80) at ../../kdeui/kernel/kapplication.cpp:311
#60 0x00007f47ba0b18bd in QCoreApplication::notifyInternal (this=0x7fff06664a00, receiver=0x3439570, event=event@entry=0x7fff06663b80) at kernel/qcoreapplication.cpp:946
#61 0x00007f47b9a4b357 in sendEvent (event=0x7fff06663b80, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#62 QGraphicsView::contextMenuEvent (this=0x3425d90, event=0x7fff06664050) at graphicsview/qgraphicsview.cpp:2892
#63 0x00007f47b949e5e2 in QWidget::event (this=this@entry=0x3425d90, event=event@entry=0x7fff06664050) at kernel/qwidget.cpp:8553
#64 0x00007f47b983f5be in QFrame::event (this=0x3425d90, e=0x7fff06664050) at widgets/qframe.cpp:557
#65 0x00007f47b9a4ae09 in QGraphicsView::viewportEvent (this=0x3425d90, event=0x7fff06664050) at graphicsview/qgraphicsview.cpp:2866
#66 0x00007f47ba0b1a26 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x235d320, receiver=receiver@entry=0x3439180, event=event@entry=0x7fff06664050) at kernel/qcoreapplication.cpp:1056
#67 0x00007f47b944eddc in QApplicationPrivate::notify_helper (this=this@entry=0x235d320, receiver=receiver@entry=0x3439180, e=e@entry=0x7fff06664050) at kernel/qapplication.cpp:4563
#68 0x00007f47b94561d0 in QApplication::notify (this=this@entry=0x7fff06664a00, receiver=receiver@entry=0x3439180, e=e@entry=0x7fff06664050) at kernel/qapplication.cpp:4189
#69 0x00007f47bad51a6a in KApplication::notify (this=0x7fff06664a00, receiver=0x3439180, event=0x7fff06664050) at ../../kdeui/kernel/kapplication.cpp:311
#70 0x00007f47ba0b18bd in QCoreApplication::notifyInternal (this=0x7fff06664a00, receiver=receiver@entry=0x3439180, event=event@entry=0x7fff06664050) at kernel/qcoreapplication.cpp:946
#71 0x00007f47b94c9830 in sendSpontaneousEvent (event=0x7fff06664050, receiver=0x3439180) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#72 QETWidget::translateMouseEvent (this=this@entry=0x3439180, event=event@entry=0x7fff066643a0) at kernel/qapplication_x11.cpp:4636
#73 0x00007f47b94c9079 in QApplication::x11ProcessEvent (this=0x7fff06664a00, event=event@entry=0x7fff066643a0) at kernel/qapplication_x11.cpp:3624
#74 0x00007f47b94f0922 in x11EventSourceDispatch (s=0x235be10, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#75 0x00007f47b54e23b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#76 0x00007f47b54e2708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#77 0x00007f47b54e27ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#78 0x00007f47ba0dea55 in QEventDispatcherGlib::processEvents (this=0x235c5e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#79 0x00007f47b94f09d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#80 0x00007f47ba0b05ef in QEventLoop::processEvents (this=this@entry=0x7fff06664780, flags=...) at kernel/qeventloop.cpp:149
#81 0x00007f47ba0b08e5 in QEventLoop::exec (this=this@entry=0x7fff06664780, flags=...) at kernel/qeventloop.cpp:204
#82 0x00007f47ba0b5e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#83 0x00007f47b944d34c in QApplication::exec () at kernel/qapplication.cpp:3828
#84 0x0000000000437fd5 in main (argc=<optimized out>, argv=<optimized out>) at ../../umbrello/main.cpp:111

Reported using DrKonqi
Comment 1 Ralf Habacker 2013-11-04 08:39:00 UTC
The undo framework is known to be broken and needs a refactoring. As a workaround you may disable undo on the general settings page.