Bug 148704

Summary: Umbrello crashes when deleting an association from a class diagram
Product: [Applications] umbrello Reporter: Uli <irgendwas>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Test case for reproduction

Description Uli 2007-08-10 09:12:49 UTC
Version:           1.5.7 (using KDE KDE 3.5.7)
Installed from:    Debian testing/unstable Packages

Umbrello crashed when deleting an association between two classes. It does not matter how the deletion is triggered (whether by selecting the association and pressing DEL or by removing it in the properties dialog of one of the classes. The stack trace reported by the KDE crash handler is:

#5  0x00000038 in ?? ()
#6  0x08176c17 in AssociationWidget::saveToXMI ()
#7  0x0813982d in UMLView::saveToXMI ()
#8  0x081571cd in UMLFolder::saveContents ()
#9  0x081573a2 in UMLFolder::save ()
#10 0x081c9db0 in UMLFolder::saveToXMI ()
#11 0x08184a38 in UMLDoc::saveToXMI ()
#12 0x08161017 in UMLDoc::addToUndoStack ()
#13 0x081610bc in UMLDoc::setModified ()
#14 0x081b78e3 in UMLView::removeWidget ()
#15 0x081b7501 in AssociationWidget::cleanup ()
#16 0x081b761a in UMLView::removeAssoc ()
#17 0x081b859d in UMLView::deleteSelection ()
#18 0x081b8673 in UMLApp::slotDeleteSelectedWidget ()
#19 0x081f1005 in UMLApp::qt_invoke ()
#20 0xa7724d43 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#21 0xa77257e8 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#22 0xa67ae729 in KAction::activated () from /usr/lib/libkdeui.so.4
#23 0xa67e3b02 in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#24 0xa68afdbd in KAction::slotPopupActivated () from /usr/lib/libkdeui.so.4
#25 0xa68b0081 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#26 0xa7724d43 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#27 0xa7ab16a8 in QSignal::signal () from /usr/lib/libqt-mt.so.3
#28 0xa7744d6e in QSignal::activate () from /usr/lib/libqt-mt.so.3
#29 0xa784b631 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#30 0xa67b792e in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#31 0xa775bcd2 in QWidget::event () from /usr/lib/libqt-mt.so.3
#32 0xa76bc500 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#33 0xa76be6c1 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#34 0xa7e63142 in KApplication::notify () from /usr/lib/libkdecore.so.4
#35 0xa764f629 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#36 0xa764e00b in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#37 0xa764c6fa in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#38 0xa7662fd8 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#39 0xa76d6c06 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#40 0xa76d6a16 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#41 0xa76be0a9 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#42 0x081c81cc in main ()
Comment 1 Uli 2007-08-10 09:16:48 UTC
Created attachment 21359 [details]
Test case for reproduction

To reproduce the dug described, simply try to delete the association between
the Classes "CardDriver" and "CardSlot". Trying to delete the "CardManager"
class crashes Umbrello as well.
Comment 2 Bram Schoenmakers 2007-08-10 18:55:17 UTC
Upgrading to 1.5.71 should fix the problem, as seen in bug 148486.

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