Bug 298728 - Umbrello chashes when recording new created package
Summary: Umbrello chashes when recording new created package
Status: RESOLVED DUPLICATE of bug 268469
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-24 09:18 UTC by FrViPofm
Modified: 2012-05-27 08:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FrViPofm 2012-04-24 09:18:21 UTC
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-17-generic-pae i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing : I juste created new package. The project was only saved as empty.

-- Backtrace:
Application: Umbrello - Outil de modélisation UML (umbrello), signal: Segmentation fault
[Current thread is 1 (Thread 0xb49c0ab0 (LWP 19508))]

Thread 2 (Thread 0xb2eacb70 (LWP 19520)):
#0  0xb4ee97f3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb4eea637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb4eeaf9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4477cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#4  0xb4f115f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb56d2d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb57ba46e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb49c0ab0 (LWP 19508)):
[KCrash Handler]
#7  0x00000000 in ?? ()
#8  0x08394fb9 in UMLListView::popupMenuSel (this=0x9eedb08, action=0xa07359b) at ../../../umbrello/umbrello/umllistview.cpp:595
#9  0x0839b331 in UMLListView::qt_metacall (this=0x9eedb08, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfd1f038) at ./umllistview.moc:111
#10 0xb5dd3b7d in metacall (argv=0xbfd1f038, idx=139, cl=QMetaObject::InvokeMetaMethod, object=0x9eedb08) at kernel/qmetaobject.cpp:237
#11 QMetaObject::metacall (object=0x9eedb08, cl=QMetaObject::InvokeMetaMethod, idx=139, argv=0xbfd1f038) at kernel/qmetaobject.cpp:232
#12 0xb5de2a6a in QMetaObject::activate (sender=0x9fc2730, m=0xb69af50c, local_signal_index=2, argv=0xbfd1f038) at kernel/qobject.cpp:3278
#13 0xb65018a5 in QMenu::triggered (this=0x9fc2730, _t1=0x9f4c168) at .moc/release-shared/moc_qmenu.cpp:164
#14 0xb65029ad in QMenuPrivate::_q_actionTriggered (this=0xa055958) at widgets/qmenu.cpp:1123
#15 0xb65068b3 in QMenu::qt_metacall (this=0x9fc2730, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfd1f218) at .moc/release-shared/moc_qmenu.cpp:105
#16 0xb6fb41e2 in KMenu::qt_metacall (this=0x9fc2730, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfd1f218) at ./kmenu.moc:76
#17 0xb5dd3b7d in metacall (argv=0xbfd1f218, idx=35, cl=QMetaObject::InvokeMetaMethod, object=0x9fc2730) at kernel/qmetaobject.cpp:237
#18 QMetaObject::metacall (object=0x9fc2730, cl=QMetaObject::InvokeMetaMethod, idx=35, argv=0xbfd1f218) at kernel/qmetaobject.cpp:232
#19 0xb5de2a6a in QMetaObject::activate (sender=0x9f4c168, m=0xb69a8458, local_signal_index=1, argv=0xbfd1f218) at kernel/qobject.cpp:3278
#20 0xb605886d in QAction::triggered (this=0x9f4c168, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#21 0xb6058b0b in QAction::activate (this=0x9f4c168, event=QAction::Trigger) at kernel/qaction.cpp:1257
#22 0xb6501b63 in QMenuPrivate::activateCausedStack (this=0xa055958, causedStack=..., action=0x9f4c168, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1005
#23 0xb65083ff in QMenuPrivate::activateAction (this=0xa055958, action=0x9f4c168, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1097
#24 0xb650b145 in QMenu::mouseReleaseEvent (this=0x9fc2730, e=0xbfd1f93c) at widgets/qmenu.cpp:2296
#25 0xb6fb2fbc in KMenu::mouseReleaseEvent (this=0x9fc2730, e=0xbfd1f93c) at ../../kdeui/widgets/kmenu.cpp:464
#26 0xb60b9fc8 in QWidget::event (this=0x9fc2730, event=0xbfd1f93c) at kernel/qwidget.cpp:8295
#27 0xb6509bbc in QMenu::event (this=0x9fc2730, e=0xbfd1f93c) at widgets/qmenu.cpp:2405
#28 0xb605fd84 in notify_helper (e=0xbfd1f93c, receiver=0x9fc2730, this=0x9b3bb90) at kernel/qapplication.cpp:4486
#29 QApplicationPrivate::notify_helper (this=0x9b3bb90, receiver=0x9fc2730, e=0xbfd1f93c) at kernel/qapplication.cpp:4458
#30 0xb6065deb in QApplication::notify (this=0x9b3bb90, receiver=0x9fc2730, e=0xbfd1f93c) at kernel/qapplication.cpp:4047
#31 0xb6ed4971 in KApplication::notify (this=0xbfd20160, receiver=0x9fc2730, event=0xbfd1f93c) at ../../kdeui/kernel/kapplication.cpp:311
#32 0xb5dcd19e in QCoreApplication::notifyInternal (this=0xbfd20160, receiver=0x9fc2730, event=0xbfd1f93c) at kernel/qcoreapplication.cpp:787
#33 0xb6060d45 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QApplicationPrivate::sendMouseEvent (receiver=0x9fc2730, event=0xbfd1f93c, alienWidget=0x0, nativeWidget=0x9fc2730, buttonDown=0xb69caeb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#35 0xb60eda3a in QETWidget::translateMouseEvent (this=0x9fc2730, event=0xbfd1fdbc) at kernel/qapplication_x11.cpp:4505
#36 0xb60ebe8d in QApplication::x11ProcessEvent (this=0xbfd20160, event=0xbfd1fdbc) at kernel/qapplication_x11.cpp:3693
#37 0xb611828c in x11EventSourceDispatch (s=0x9b3e118, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0xb4eea25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0xb4eea990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0xb4eeac2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0xb5dfbada in QEventDispatcherGlib::processEvents (this=0x9b0f230, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#42 0xb6117e7a in QGuiEventDispatcherGlib::processEvents (this=0x9b0f230, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0xb5dcc1dd in QEventLoop::processEvents (this=0xbfd200c4, flags=...) at kernel/qeventloop.cpp:149
#44 0xb5dcc421 in QEventLoop::exec (this=0xbfd200c4, flags=...) at kernel/qeventloop.cpp:201
#45 0xb5dd119d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#46 0xb605d924 in QApplication::exec () at kernel/qapplication.cpp:3760
#47 0x08079565 in main (argc=0, argv=0x11) at ../../../umbrello/umbrello/main.cpp:111

Possible duplicates by query: bug 294480, bug 291691, bug 291623, bug 289048, bug 280770.

Reported using DrKonqi
Comment 1 FrViPofm 2012-04-24 09:29:23 UTC
In fact, I was asiggning a package to a class.
The project was saved but not the newly created package.
I have restarted Umbrello, opend the project, re-created the package, saved, closed, re-opened the project. The package was recorded.

I have tried again to assing a package to a class, in the class setting window. The package appeared in the menu and was selected. But whaen I closed the class setting window, Umbrello crashed again.
Comment 2 FrViPofm 2012-04-25 08:01:14 UTC
I have had a lot of crashes yersteday.
It seems that Umbrello crashes when adding an object to an other by using the edit windows, but not by using a right-clic on it with the submenu "add > something".
The added object is editable without crash in the edit window.

If it can help...
Comment 3 Oliver Kellogg 2012-05-27 08:19:30 UTC
(In reply to comment #0)
> [...]
> -- Backtrace:
> [...]
> Thread 1 (Thread 0xb49c0ab0 (LWP 19508)):
> [KCrash Handler]
> #7  0x00000000 in ?? ()
> #8  0x08394fb9 in UMLListView::popupMenuSel (this=0x9eedb08,
> action=0xa07359b) at ../../../umbrello/umbrello/umllistview.cpp:595

The revision of umllistview.cpp which was tagged as part of KDE 4.7.4 was r1266985.
In that revision, line 595 is the last statement of the "case ListPopupMenu::mt_Properties:"
        temp->cancelRename(0);

In r1267732, habacker changed that as follows:

        // Bug 268469: Changing the package of a class deletes the old widget.
        // By reloading the current item we are sure to not use a destroyed object
        currItem = (UMLListViewItem*)currentItem();
        if (currItem)
            currItem->cancelRename(0);

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