Version: 2.2.1 (using KDE 4.2.0) OS: Linux Installed from: Unlisted Binary Package Right click an (directed) association and click away the context menu. Then right click again on that association and Umbrello crashes. Programma: Umbrello UML Modeller (umbrello), signaal SIGSEGV Thread 1 (Thread 0xb5d5f700 (LWP 6924)): [KCrash Handler] #6 0x08674577 in AssociationWidget::slotRemovePopupMenu (this=0xa0c3920) at /home/jan/ScratchPad/kdemod-new-makepkg/work/core/kdesdk/src/kdesdk-4.2.1/umbrello/umbrello/associationwidget.cpp:3196 #7 0x08680f20 in AssociationWidget::qt_metacall (this=0xa0c3920, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfa8e878) at /home/jan/ScratchPad/kdemod-new-makepkg/work/core/kdesdk/src/kdesdk-4.2.1/umbrello/umbrello/associationwidget.moc:77 #8 0xb6ad077b in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #9 0xb6ad0cd2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #10 0x087731e9 in UMLView::sigRemovePopupMenu (this=0xa0b0358) at /home/jan/ScratchPad/kdemod-new-makepkg/work/core/kdesdk/src/kdesdk-4.2.1/umbrello/umbrello/umlview.moc:165 #11 0x0871a8e5 in ToolBarState::mousePress (this=0xa0c0768, ome=0xbfa8e94c) at /home/jan/ScratchPad/kdemod-new-makepkg/work/core/kdesdk/src/kdesdk-4.2.1/umbrello/umbrello/umlview.h:926 #12 0x08773adf in UMLView::contentsMousePressEvent (this=0xa0b0358, ome=0xbfa8e94c) at /home/jan/ScratchPad/kdemod-new-makepkg/work/core/kdesdk/src/kdesdk-4.2.1/umbrello/umbrello/umlview.cpp:1243 #13 0xb6840d38 in Q3ScrollView::viewportMousePressEvent () from /usr/lib/libQt3Support.so.4 #14 0xb6842970 in Q3ScrollView::eventFilter () from /usr/lib/libQt3Support.so.4 #15 0xb6abe13a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4 #16 0xb6c77aca in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #17 0xb6c7e863 in QApplication::notify () from /usr/lib/libQtGui.so.4 #18 0xb7847cfd in KApplication::notify () from /usr/lib/libkdeui.so.5 #19 0xb6abef31 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #20 0xb6c7fbe3 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4 #21 0xb6cdc715 in ?? () from /usr/lib/libQtGui.so.4 #22 0x0a0b0168 in ?? () #23 0xbfa8eecc in ?? () #24 0x0a0b0168 in ?? () #25 0x09f39348 in ?? () #26 0xb72aabd0 in ?? () from /usr/lib/libQtGui.so.4 #27 0xb72aabd4 in ?? () from /usr/lib/libQtGui.so.4 #28 0xbfa8ef4c in ?? () #29 0xb6795401 in Q3GListIterator::~Q3GListIterator () from /usr/lib/libQt3Support.so.4 #30 0xb6cdbbcd in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 #31 0xb6d01172 in ?? () from /usr/lib/libQtGui.so.4 #32 0xbfa8f680 in ?? () #33 0xbfa8f3ac in ?? () #34 0x00000000 in ?? ()
*** Bug 188566 has been marked as a duplicate of this bug. ***
Bug 188566 has another set of steps to reproduce the crash
Another reproduction process: 1- Create 2 classes 2- Create an association betweem them 3- Open the properties window for the association 4- Click ok (no changes made) 5- Click in any place of the edit zone 6- Application crash
Confirm this bug in umbrello 2.2.2, KDE 4.2.2, here is the trace: This backtrace appears to be of no use. This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash. (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0x7f24fafcb750 (LWP 10377)] 0x00007f24f70924a5 in __libc_waitpid (pid=10379, stat_loc=0x0, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:32 in ../sysdeps/unix/sysv/linux/waitpid.c [Current thread is 0 (process 10377)] Thread 1 (Thread 0x7f24fafcb750 (LWP 10377)): #0 0x00007f24f70924a5 in __libc_waitpid (pid=10379, stat_loc=0x0, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:32 #1 0x00007f24f9b385c3 in KCrash::startDirectly (argv=0x7fff030e85f0) at ../../kdeui/util/kcrash.cpp:436 #2 0x00007f24f9b3950c in KCrash::defaultCrashHandler (sig=11) at ../../kdeui/util/kcrash.cpp:340 #3 <signal handler called> #4 0x0000000000b5f512 in ?? () #5 0x0000000000b6ba70 in ?? () #6 0x00007f24f81836e4 in QMetaObject::activate (sender=0x3133ea0, from_signal_index=<value optimized out>, to_signal_index=53, argv=0x7fff030e8c40) at kernel/qobject.cpp:3031 #7 0x0000000000c0199e in ?? () #8 0x0000000000c5a0b1 in ?? () #9 0x00007f24f7c82e49 in Q3ScrollView::viewportMousePressEvent (this=0x3133ea0, e=0x7fff030e94c0) at widgets/q3scrollview.cpp:1738 #10 0x00007f24f7c84596 in Q3ScrollView::eventFilter (this=0x3133ea0, obj=0x3133e50, e=0x7fff030e94c0) at widgets/q3scrollview.cpp:1466 #11 0x00007f24f816e668 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x3133e50, event=0x7fff030e94c0) at kernel/qcoreapplication.cpp:694 #12 0x00007f24f8621a2c in QApplicationPrivate::notify_helper (this=0x2ad28e0, receiver=0x3133e50, e=0x7fff030e94c0) at kernel/qapplication.cpp:3799 #13 0x00007f24f862a04a in QApplication::notify (this=<value optimized out>, receiver=0x3133e50, e=0x7fff030e94c0) at kernel/qapplication.cpp:3528 #14 0x00007f24f9ad355b in KApplication::notify (this=0x7fff030ea140, receiver=0x3133e50, event=0x7fff030e94c0) at ../../kdeui/kernel/kapplication.cpp:307 #15 0x00007f24f816f391 in QCoreApplication::notifyInternal (this=0x7fff030ea140, receiver=0x3133e50, event=0x7fff030e94c0) at kernel/qcoreapplication.cpp:587 #16 0x00007f24f86293e8 in QApplicationPrivate::sendMouseEvent (receiver=0x3133e50, event=0x7fff030e94c0, alienWidget=0x3133e50, nativeWidget=0x2b45400, buttonDown=<value optimized out>, lastMouseReceiver=@0x7f24f8fa70e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212 #17 0x00007f24f868d939 in QETWidget::translateMouseEvent (this=0x2b45400, event=<value optimized out>) at kernel/qapplication_x11.cpp:4044 #18 0x00007f24f868c82f in QApplication::x11ProcessEvent (this=0x8b, event=0x7fff030e9d80) at kernel/qapplication_x11.cpp:3162 #19 0x00007f24f86b3cb4 in x11EventSourceDispatch (s=0x2ad66c0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142 #20 0x00007f24f3e9be4a in IA__g_main_context_dispatch (context=0x2ad5520) at /tmp/buildd/glib2.0-2.20.0/glib/gmain.c:1814 #21 0x00007f24f3e9f510 in g_main_context_iterate (context=0x2ad5520, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.20.0/glib/gmain.c:2448 #22 0x00007f24f3e9f6ac in IA__g_main_context_iteration (context=0x2ad5520, may_block=1) at /tmp/buildd/glib2.0-2.20.0/glib/gmain.c:2511 #23 0x00007f24f819771f in QEventDispatcherGlib::processEvents (this=0x2ad2220, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319 #24 0x00007f24f86b347f in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198 #25 0x00007f24f816dcb2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 51290224}) at kernel/qeventloop.cpp:143 #26 0x00007f24f816de3d in QEventLoop::exec (this=0x7fff030ea0b0, flags={i = 51290304}) at kernel/qeventloop.cpp:194 #27 0x00007f24f81702ed in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845 #28 0x0000000000bc8c75 in ?? () #29 0x00007f24f70125a6 in __libc_start_main (main=0xbc8300, argc=1, ubp_av=0x7fff030ea568, init=0xc8f080 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff030ea558) at libc-start.c:222 #30 0x0000000000433939 in _start () 0x00007f24f70924a5 32 in ../sysdeps/unix/sysv/linux/waitpid.c
If a name is assigned to the association, there aren't any problem. Look like it's related to save an association with no name.
(In reply to comment #5) > If a name is assigned to the association, there aren't any problem. Look like > it's related to save an association with no name. Yes, with named associations everything works fine. But the same bug happens for other types of unnamed relations.
Just for completeness similar backtrace from Kubuntu 9.04 (KDE 4.2.2) packages: Application: Umbrello UML Modeller (umbrello), signal SIGSEGV Thread 1 (Thread 0xb5ab29e0 (LWP 20833)): [KCrash Handler] #6 0x08672617 in AssociationWidget::slotRemovePopupMenu (this=0xa998240) at /build/buildd/kdesdk-4.2.2/umbrello/umbrello/associationwidget.cpp:3196 #7 0x0867ef40 in AssociationWidget::qt_metacall (this=0xa998240, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf9c3fd8) at /build/buildd/kdesdk-4.2.2/obj-i486-linux-gnu/umbrello/umbrello/associationwidget.moc:78 #8 0xb67b5ca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #9 0xb67b6932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #10 0x0876e4a9 in UMLView::sigRemovePopupMenu (this=0xa9961f0) at /build/buildd/kdesdk-4.2.2/obj-i486-linux-gnu/umbrello/umbrello/umlview.moc:167 #11 0x087152f5 in ToolBarState::mousePress (this=0xa997ad0, ome=0xbf9c40ac) at /build/buildd/kdesdk-4.2.2/umbrello/umbrello/umlview.h:926 #12 0x0876ed4f in UMLView::contentsMousePressEvent (this=0xa9961f0, ome=0xbf9c40ac) at /build/buildd/kdesdk-4.2.2/umbrello/umbrello/umlview.cpp:1243 #13 0xb64b31e1 in Q3ScrollView::viewportMousePressEvent () from /usr/lib/libQt3Support.so.4 #14 0xb64b4dc0 in Q3ScrollView::eventFilter () from /usr/lib/libQt3Support.so.4 #15 0xb679ec5a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4 #16 0xb6c70f0a in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #17 0xb6c79ba1 in QApplication::notify () from /usr/lib/libQtGui.so.4 #18 0xb789594d in KApplication::notify () from /usr/lib/libkdeui.so.5 #19 0xb679fa3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #20 0xb6c78c0e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4 #21 0xb6ce8a0e in ?? () from /usr/lib/libQtGui.so.4 #22 0xb6ce7d37 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 #23 0xb6d12cfa in ?? () from /usr/lib/libQtGui.so.4 #24 0xb5c61b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #25 0xb5c650eb in ?? () from /usr/lib/libglib-2.0.so.0 #26 0xb5c65268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #27 0xb67cb438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #28 0xb6d123f5 in ?? () from /usr/lib/libQtGui.so.4 #29 0xb679e06a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #30 0xb679e4aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #31 0xb67a0959 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #32 0xb6c70da7 in QApplication::exec () from /usr/lib/libQtGui.so.4 #33 0x086dc925 in main (argc=3, argv=0xbf9c5004) at /build/buildd/kdesdk-4.2.2/umbrello/umbrello/main.cpp:110
*** Bug 191079 has been marked as a duplicate of this bug. ***
I stumbled upon this bug when I tried to change multiplicities of an unnamed directed association. Umbrello crashes everytime when opening the context menu the second time for the second multiplicity. KDE 4.2.2, Umbrello 2.2.2, Ubuntu 9.0.4.
Yeah, just for completeness similar backtrace from Kubuntu 8.10 (KDE 4.2.2) packages: Application: Umbrello UML Modeller (umbrello), signal SIGSEGV (no debugging symbols found) 0xb80cf430 in __kernel_vsyscall () [Current thread is 0 (process 8164)] Thread 1 (Thread 0xb5d418d0 (LWP 8164)): #0 0xb80cf430 in __kernel_vsyscall () #1 0xb63aef10 in nanosleep () from /lib/tls/i686/cmov/libc.so.6 #2 0xb63aed4e in sleep () from /lib/tls/i686/cmov/libc.so.6 #3 0xb7a1a262 in ?? () from /usr/lib/libkdeui.so.5 #4 0xb7a1ac24 in KCrash::defaultCrashHandler () from /usr/lib/libkdeui.so.5 #5 <signal handler called> #6 0x08672537 in ?? () #7 0x0867ee60 in ?? () #8 0xb69f1a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #9 0xb69f27e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #10 0x0876e349 in ?? () #11 0x08715215 in ?? () #12 0x0876ebef in ?? () #13 0xb66f4071 in Q3ScrollView::viewportMousePressEvent () from /usr/lib/libQt3Support.so.4 #14 0xb66f5c50 in Q3ScrollView::eventFilter () from /usr/lib/libQt3Support.so.4 #15 0xb69dc04a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4 #16 0xb6e8f8ca in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #17 0xb6e980e1 in QApplication::notify () from /usr/lib/libQtGui.so.4 #18 0xb79aa2ad in KApplication::notify () from /usr/lib/libkdeui.so.5 #19 0xb69dce61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #20 0xb6e9736e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4 #21 0xb6f01656 in ?? () from /usr/lib/libQtGui.so.4 #22 0xb6f009e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 #23 0xb6f2a7aa in ?? () from /usr/lib/libQtGui.so.4 #24 0xb5f66718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #25 0xb5f69dc3 in ?? () from /usr/lib/libglib-2.0.so.0 #26 0xb5f69f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #27 0xb6a07478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #28 0xb6f29ea5 in ?? () from /usr/lib/libQtGui.so.4 #29 0xb69db52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #30 0xb69db6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #31 0xb69ddda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #32 0xb6e8f767 in QApplication::exec () from /usr/lib/libQtGui.so.4 #33 0x086dc835 in ?? () #34 0xb6328685 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6 #35 0x080710b1 in _start () #0 0xb80cf430 in __kernel_vsyscall ()
Created attachment 35327 [details] Another trace, KDE crash handler and ddd/gdb There probably are enough traces already, but since I came here with one, I'll just leave it here. It might add something; you never know.
This has been reported as being fixed in KDE 4.3 in the downstream bugtracker by its reporter: https://launchpad.net/bugs/362374
Can anybody else confirm this (comment 12) ? Thanks
Yes, I can confirm it has been fixed in both 4.3 and trunk :-)