Version: (using KDE KDE 3.5.5) Installed from: Compiled From Sources Compiler: gcc 4.1.1 OS: Linux I have an enum with 2 entries, now I deleted 1, clicked Ok and umbrello crashes. It also crashes if I add an entry. This occurs with umbrello 1.5.5 and with the kde 4 svn build of today. I don't have a backtrace from 1.5.5 because that umbrello is from the fedora packages. Backtrace from the svn build with rev. 627087.: Using host libthread_db library "/lib/libthread_db.so.1". `shared object read from target memory' has disappeared; keeping its symbols. [Thread debugging using libthread_db enabled] [New Thread -1208887600 (LWP 13410)] [KCrash handler] #5 0x0825ae94 in UMLRole::saveToXMI (this=0xa2b8fd8, qDoc=@0xbf92e2e4, qElement=@0xbf92e068) at /home/kde-devel/kdesdk/umbrello/umbrello/umlrole.cpp:101 #6 0x081b0ca3 in UMLAssociation::saveToXMI (this=0xa509ec0, qDoc=@0xbf92e2e4, qElement=@0xbf92e12c) at /home/kde-devel/kdesdk/umbrello/umbrello/association.cpp:187 #7 0x081ecfc1 in UMLFolder::saveContents (this=0x9f2f708, qDoc=@0xbf92e2e4, qElement=@0xbf92e184) at /home/kde-devel/kdesdk/umbrello/umbrello/folder.cpp:182 #8 0x081ed2cd in UMLFolder::save (this=0x9f2f708, qDoc=@0xbf92e2e4, qElement=@0xbf92e2b0) at /home/kde-devel/kdesdk/umbrello/umbrello/folder.cpp:208 #9 0x081ed341 in UMLFolder::saveToXMI (this=0x9f2f708, qDoc=@0xbf92e2e4, qElement=@0xbf92e2b0) at /home/kde-devel/kdesdk/umbrello/umbrello/folder.cpp:214 #10 0x0823ac86 in UMLDoc::saveToXMI (this=0x9f2f3d8, file=@0xa166e88) at /home/kde-devel/kdesdk/umbrello/umbrello/umldoc.cpp:1301 #11 0x082385a9 in UMLDoc::addToUndoStack (this=0x9f2f3d8) at /home/kde-devel/kdesdk/umbrello/umbrello/umldoc.cpp:2134 #12 0x08238721 in UMLDoc::setModified (this=0x9f2f3d8, modified=true, addToUndo=true) at /home/kde-devel/kdesdk/umbrello/umbrello/umldoc.cpp:1926 #13 0x082701c5 in UMLWidget::showProperties (this=0xa523f88) at /home/kde-devel/kdesdk/umbrello/umbrello/umlwidget.cpp:603 #14 0x08270bc2 in UMLWidget::slotMenuSelection (this=0xa523f88, sel=85) at /home/kde-devel/kdesdk/umbrello/umbrello/umlwidget.cpp:290 #15 0x081e867e in EnumWidget::slotMenuSelection (this=0xa523f88, sel=85) at /home/kde-devel/kdesdk/umbrello/umbrello/enumwidget.cpp:177 #16 0x0826e7cc in UMLWidget::qt_metacall (this=0xa523f88, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf92eb8c) at /home/kde-devel/kdesdk-build/umbrello/umbrello/umlwidget.moc:85 #17 0x002f0ba8 in QMetaObject::activate (sender=0xa4f8ce8, from_signal_index=31, to_signal_index=31, argv=0xbf92eb8c) at kernel/qobject.cpp:2937 #18 0x002f0f34 in QMetaObject::activate (sender=0xa4f8ce8, m=0x74cadc8, local_signal_index=4, argv=0xbf92eb8c) at kernel/qobject.cpp:2983 #19 0x072b23ca in QMenu::activated (this=0xa4f8ce8, _t1=85) at .moc/debug-shared/moc_qmenu.cpp:166 #20 0x072b56dd in QMenuPrivate::_q_actionTriggered (this=0xa1d1430) at widgets/qmenu.cpp:808 #21 0x072b9100 in QMenu::qt_metacall (this=0xa4f8ce8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf92f13c) at .moc/debug-shared/moc_qmenu.cpp:95 #22 0x00b780cc in KMenu::qt_metacall (this=0xa4f8ce8, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbf92f13c) at /home/kde-devel/kdelibs-build/kdeui/kmenu.moc:70 #23 0x002f0ba8 in QMetaObject::activate (sender=0xa2a9ff8, from_signal_index=5, to_signal_index=6, argv=0xbf92f13c) at kernel/qobject.cpp:2937 #24 0x002f0cfa in QMetaObject::activate (sender=0xa2a9ff8, m=0x74c6490, from_local_signal_index=1, to_local_signal_index=2, argv=0xbf92f13c) at kernel/qobject.cpp:2992 #25 0x06f63d1e in QAction::triggered (this=0xa2a9ff8, _t1=false) at .moc/debug-shared/moc_qaction.cpp:208 #26 0x06f656c8 in QAction::activate (this=0xa2a9ff8, event=QAction::Trigger) at kernel/qaction.cpp:1070 #27 0x072ba6dd in QMenuPrivate::activateAction (this=0xa1d1430, action=0xa2a9ff8, action_e=QAction::Trigger) at widgets/qmenu.cpp:751 #28 0x072bd267 in QMenu::mouseReleaseEvent (this=0xa4f8ce8, e=0xbf92f8c0) at widgets/qmenu.cpp:1828 #29 0x00b77f97 in KMenu::mouseReleaseEvent (this=0xa4f8ce8, e=0xbf92f8c0) at /home/kde-devel/kdelibs/kdeui/widgets/kmenu.cpp:406 #30 0x06fb880d in QWidget::event (this=0xa4f8ce8, event=0xbf92f8c0) at kernel/qwidget.cpp:5698 #31 0x072b720a in QMenu::event (this=0xa4f8ce8, e=0xbf92f8c0) at widgets/qmenu.cpp:1896 #32 0x06f6b365 in QApplicationPrivate::notify_helper (this=0x9ea1660, receiver=0xa4f8ce8, e=0xbf92f8c0) at kernel/qapplication.cpp:3434 #33 0x06f6bf48 in QApplication::notify (this=0xbf93001c, receiver=0xa4f8ce8, e=0xbf92f8c0) at kernel/qapplication.cpp:3133 #34 0x00af8aa3 in KApplication::notify (this=0xbf93001c, receiver=0xa4f8ce8, event=0xbf92f8c0) at /home/kde-devel/kdelibs/kdeui/kernel/kapplication.cpp:261 #35 0x06f74599 in QCoreApplication::sendSpontaneousEvent (receiver=0xa4f8ce8, event=0xbf92f8c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:186 #36 0x06fd1d99 in QETWidget::translateMouseEvent (this=0xa4f8ce8, event=0xbf92fd60) at kernel/qapplication_x11.cpp:3589 #37 0x06fcfede in QApplication::x11ProcessEvent (this=0xbf93001c, event=0xbf92fd60) at kernel/qapplication_x11.cpp:2764 #38 0x06ffa962 in x11EventSourceDispatch (s=0x9ea7c48, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:122 #39 0x00f3d15d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #40 0x00f403ef in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #41 0x00f40955 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #42 0x003080b0 in QEventDispatcherGlib::processEvents (this=0x9ea62c0, flags=@0xbf92ff08) at kernel/qeventdispatcher_glib.cpp:363 #43 0x06ffa228 in QGuiEventDispatcherGlib::processEvents (this=0x9ea62c0, flags=@0xbf92ff3c) at kernel/qguieventdispatcher_glib.cpp:178 #44 0x002dd77e in QEventLoop::processEvents (this=0xbf92ffb0, flags=@0xbf92ff74) at kernel/qeventloop.cpp:126 #45 0x002dd900 in QEventLoop::exec (this=0xbf92ffb0, flags=@0xbf92ffb8) at kernel/qeventloop.cpp:168 #46 0x002e0c7f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:727 #47 0x06f6aee8 in QApplication::exec () at kernel/qapplication.cpp:2927 #48 0x08204a63 in main (argc=137147436, argv=0x9f2d738) at /home/kde-devel/kdesdk/umbrello/umbrello/main.cpp:137
Cannot confirm with either trunk or branches/KDE/3.5. > Installed from: Compiled From Sources Did you compile 1.5.5? Then please use a later version - the most stable right now is branches/KDE/3.5/kdesdk HEAD which will be released as 1.5.61 shortly. If you still get a crash from 1.5.61 then please attach the backtrace.
I haven't compiled 1.5.5, but I had the kde4svn and it crashed at the same action. But after a few tries it suddenly worked again, so I'm not sure if I'm able to reproduce it again with 1.5.61
Created attachment 19600 [details] umbrello crash backtrace I also ran it in gdb and it's (partial) output is, if you need more I'll attach it later: 0x081dddea in UMLRole::saveToXMI (this=0xa06c6b0, qDoc=@0xbffb7268, qElement=@0xbffb6eb8) at umlrole.cpp:101 101 roleElement.setAttribute( "type", ID2STR(m_pSecondary->getID()) ); (gdb) backtrace #0 0x081dddea in UMLRole::saveToXMI (this=0xa06c6b0, qDoc=@0xbffb7268, qElement=@0xbffb6eb8) at umlrole.cpp:101 #1 0x0812b05c in UMLAssociation::saveToXMI (this=0xa06c610, qDoc=@0xbffb7268, qElement=@0xbffb6fa8) at association.cpp:187 #2 0x0816c227 in UMLFolder::saveContents (this=0x9e57700, qDoc=@0xbffb7268, qElement=@0xbffb7008) at folder.cpp:182 #3 0x0816c54a in UMLFolder::save (this=0x9e57700, qDoc=@0xbffb7268, qElement=@0xbffb7200) at folder.cpp:208 #4 0x0816c5cb in UMLFolder::saveToXMI (this=0x9e57700, qDoc=@0xbffb7268, qElement=@0xbffb7200) at folder.cpp:214 #5 0x081bd3cb in UMLDoc::saveToXMI (this=0x9e574a0, file=@0x9f107c8) at umldoc.cpp:1293 #6 0x081bac40 in UMLDoc::addToUndoStack (this=0x9e574a0) at umldoc.cpp:2135 #7 0x081badc0 in UMLDoc::setModified (this=0x9e574a0, modified=true, addToUndo=true) at umldoc.cpp:1927
Created attachment 19601 [details] file on which it crashes The file on which it crashes, I deleted an enum value of the 'Lifeness' enum in the previous backtrace.
Created attachment 19651 [details] XMI file of attachment 19601 [details], cleaned up Could you try again with 1.5.61? Your XMI file contained a large number of duplicated/orphaned <UML:Association>s. If you still experience problems with the cleaned file and using 1.5.61 then please reopen http://bugs.kde.org/129859
*** This bug has been marked as a duplicate of 129859 ***