Application: umbrello (2.7.4) KDE Platform Version: 4.7.4 (4.7.4) Qt Version: 4.7.4 Operating System: Linux 3.0.0-16-generic x86_64 Distribution: Ubuntu 11.10 -- Information about the crash: - What I was doing when the application crashed: I was changing the background using Fill Color of a note in a diagram I had made. The program popped up the color change menu, but then crashed when I selected a color. I had already done this once successfully, but am unsure as to what went wrong the second time. -- Backtrace: Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault [Current thread is 1 (Thread 0x7f7e9d331780 (LWP 22396))] Thread 3 (Thread 0x7f7e88449700 (LWP 22399)): #0 0x00007f7e98dd8034 in __pthread_mutex_lock (mutex=0x1343508) at pthread_mutex_lock.c:61 #1 0x00007f7e957e2f2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f7e957e3792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f7e905d6516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #4 0x00007f7e958082b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f7e98dd5efc in start_thread (arg=0x7f7e88449700) at pthread_create.c:304 #6 0x00007f7e990cc89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f7e7f3a7700 (LWP 22402)): #0 0x00007f7e98dd8034 in __pthread_mutex_lock (mutex=0x183f028) at pthread_mutex_lock.c:61 #1 0x00007f7e957e275f in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f7e957e2f82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f7e957e3429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f7e9a1b4f3e in QEventDispatcherGlib::processEvents (this=0x1824ee0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424 #5 0x00007f7e9a188cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007f7e9a188ef7 in QEventLoop::exec (this=0x7f7e7f3a6dd0, flags=...) at kernel/qeventloop.cpp:201 #7 0x00007f7e9a0a027f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498 #8 0x00007f7e9a16bcbf in QInotifyFileSystemWatcherEngine::run (this=0x184adc0) at io/qfilesystemwatcher_inotify.cpp:248 #9 0x00007f7e9a0a2d05 in QThreadPrivate::start (arg=0x184adc0) at thread/qthread_unix.cpp:331 #10 0x00007f7e98dd5efc in start_thread (arg=0x7f7e7f3a7700) at pthread_create.c:304 #11 0x00007f7e990cc89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #12 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f7e9d331780 (LWP 22396)): [KCrash Handler] #6 0x0000000000692fb6 in UMLWidget::slotMenuSelection (this=0x2f98680, action=<optimized out>) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:320 #7 0x000000000067a575 in NoteWidget::qt_metacall (this=0x2f98680, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffaa6596d0) at ./notewidget.moc:72 #8 0x00007f7e9a19ceba in QMetaObject::activate (sender=0x31b4ef0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffaa6596d0) at kernel/qobject.cpp:3278 #9 0x00007f7e9aaee452 in QMenu::triggered (this=<optimized out>, _t1=0x2ebd760) at .moc/release-shared/moc_qmenu.cpp:164 #10 0x00007f7e9aaee626 in QMenuPrivate::activateCausedStack (this=0x276c990, causedStack=..., action=0x2ebd760, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1015 #11 0x00007f7e9aaf4312 in QMenuPrivate::activateAction (this=0x276c990, action=0x2ebd760, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1097 #12 0x00007f7e9bbb90d0 in KMenu::mouseReleaseEvent (this=0x26b8450, e=0x7fffaa65a0b0) at ../../kdeui/widgets/kmenu.cpp:464 #13 0x00007f7e9a70acea in QWidget::event (this=0x26b8450, event=0x7fffaa65a0b0) at kernel/qwidget.cpp:8295 #14 0x00007f7e9aaf58bb in QMenu::event (this=0x26b8450, e=0x7fffaa65a0b0) at widgets/qmenu.cpp:2405 #15 0x00007f7e9a6ba474 in notify_helper (e=0x7fffaa65a0b0, receiver=0x26b8450, this=0x1211700) at kernel/qapplication.cpp:4486 #16 QApplicationPrivate::notify_helper (this=0x1211700, receiver=0x26b8450, e=0x7fffaa65a0b0) at kernel/qapplication.cpp:4458 #17 0x00007f7e9a6bfcbb in QApplication::notify (this=<optimized out>, receiver=0x26b8450, e=0x7fffaa65a0b0) at kernel/qapplication.cpp:4047 #18 0x00007f7e9baf7466 in KApplication::notify (this=0x7fffaa65ad30, receiver=0x26b8450, event=0x7fffaa65a0b0) at ../../kdeui/kernel/kapplication.cpp:311 #19 0x00007f7e9a189afc in QCoreApplication::notifyInternal (this=0x7fffaa65ad30, receiver=0x26b8450, event=0x7fffaa65a0b0) at kernel/qcoreapplication.cpp:787 #20 0x00007f7e9a6bb442 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #21 QApplicationPrivate::sendMouseEvent (receiver=0x26b8450, event=0x7fffaa65a0b0, alienWidget=0x0, nativeWidget=0x26b8450, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146 #22 0x00007f7e9a73b091 in QETWidget::translateMouseEvent (this=0x26b8450, event=<optimized out>) at kernel/qapplication_x11.cpp:4505 #23 0x00007f7e9a73994e in QApplication::x11ProcessEvent (this=0x7fffaa65ad30, event=0x7fffaa65a8d0) at kernel/qapplication_x11.cpp:3693 #24 0x00007f7e9a7624a2 in x11EventSourceDispatch (s=0x1215670, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #25 0x00007f7e957e2a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #26 0x00007f7e957e3258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #27 0x00007f7e957e3429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #28 0x00007f7e9a1b4ed6 in QEventDispatcherGlib::processEvents (this=0x11ccf40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422 #29 0x00007f7e9a76210e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #30 0x00007f7e9a188cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #31 0x00007f7e9a188ef7 in QEventLoop::exec (this=0x7fffaa65aca0, flags=...) at kernel/qeventloop.cpp:201 #32 0x00007f7e9a18d789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064 #33 0x000000000043aba6 in main (argc=3, argv=0x7fffaa65b138) at ../../../umbrello/umbrello/main.cpp:111 Reported using DrKonqi
Could not be reproduced with 2.10.5. From the backtrace #6 0x0000000000692fb6 in UMLWidget::slotMenuSelection (this=0x2f98680, action=<optimized out>) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:320 the related code fragment is shown below: case ListPopupMenu::mt_Fill_Color: widget = m_pView->getFirstMultiSelectedWidget(); if (widget) { newColour = widget->getFillColour(); } if (KColorDialog::getColor(newColour)) { m_pView->selectionSetFillColor(newColour); m_pDoc->setModified(true); } break; The bug report says: > The program popped up the color change menu, but then crashed when I selected a color. which happens in KColorDialog: if (KColorDialog::getColor(newColour)) { The mentioned back trace frame number > #6 0x0000000000692fb6 in UMLWidget::slotMenuSelection which is not the top of the frames indicates also that this crash happens in basic kde libraries.