[Uml-devel] [Bug 146208] New: crash while deleting a class from the uml diagram

Carlos Aceituno cdaceituno at hotmail.com
Thu May 31 16:43:31 UTC 2007

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: crash while deleting a class from the uml diagram
           Product: umbrello
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel.kde.org
        ReportedBy: cdaceituno hotmail com

Version:            (using KDE KDE 3.5.7)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 4.1.3 20070514 (prerelease) (Debian 4.1.2-7) 
OS:                Linux

Hi again,

This is to report a crash occured while trying to delete a class from a uml diagram obtained by reverse-engineering java classes. This class had several associations and generalizations attached. This is the gdb backtrace:

umbrello: ERROR: AssociationWidget::getWidgetID(): m_pWidget is NULL
umbrello: ERROR: AssociationWidget::getWidgetID(): m_pWidget is NULL

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1503598896 (LWP 18019)]
0x08146534 in AssociationWidget::saveToXMI (this=0x898d4a8, qDoc= 0xaff0bb50, qElement= 0xaff0b740) at associationwidget.cpp:3314
3314    associationwidget.cpp: No such file or directory.
        in associationwidget.cpp

(gdb) backtrace

#0  0x08146534 in AssociationWidget::saveToXMI (this=0x898d4a8, qDoc= 0xaff0bb50, qElement= 0xaff0b740) at associationwidget.cpp:3314
#1  0x081d8049 in UMLView::saveToXMI (this=0x8faba50, qDoc= 0xaff0bb50, qElement= 0xaff0b858) at umlview.cpp:2957
#2  0x08176b48 in UMLFolder::saveContents (this=0x841e270, qDoc= 0xaff0bb50, qElement= 0xaff0b8d8) at folder.cpp:192
#3  0x08176ccc in UMLFolder::save (this=0x841e270, qDoc= 0xaff0bb50, qElement= 0xaff0bae8) at folder.cpp:208
#4  0x08176d50 in UMLFolder::saveToXMI (this=0x841e270, qDoc= 0xaff0bb50, qElement= 0xaff0bae8) at folder.cpp:214
#5  0x081ba59d in UMLDoc::saveToXMI (this=0x8418dc0, file= 0x90b2508) at umldoc.cpp:1307
#6  0x081b8241 in UMLDoc::addToUndoStack (this=0x8418dc0) at umldoc.cpp:2149
#7  0x081b8382 in UMLDoc::setModified (this=0x8418dc0, modified=true, addToUndo=true) at umldoc.cpp:1941
#8  0x081e05c0 in UMLView::removeWidget (this=0x8faba50, o=0x90ea8b8) at umlview.cpp:828
#9  0x08148574 in AssociationWidget::cleanup (this=0x898d4a8) at associationwidget.cpp:726
#10 0x081da0d3 in UMLView::removeAssoc (this=0x8faba50, pAssoc=0x898d4a8) at umlview.cpp:1756
#11 0x081da37b in UMLView::removeAssociations (this=0x8faba50, Widget=0x8d1acc8) at umlview.cpp:1796
#12 0x081e04f8 in UMLView::removeWidget (this=0x8faba50, o=0x8d1acc8) at umlview.cpp:813
#13 0x081e0a1f in UMLView::slotObjectRemoved (this=0x8faba50, o=0x8f9c640) at umlview.cpp:509
#14 0x081e238c in UMLView::qt_invoke (this=0x8faba50, _id=70, _o=0xaff0bf54) at umlview.moc:252
#15 0xa6e71e7c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#16 0x081b7830 in UMLDoc::sigObjectRemoved (this=0x8418dc0, t0=0x8f9c640) at umldoc.moc:219
#17 0x081bad25 in UMLDoc::removeUMLObject (this=0x8418dc0, umlobject=0x8f9c640) at umldoc.cpp:1180
#18 0x081c3753 in UMLListView::deleteItem (this=0x84b3fb0, temp=0x8e2fb58) at umllistview.cpp:2640
#19 0x081cb5c0 in UMLListView::popupMenuSel (this=0x84b3fb0, sel=87) at umllistview.cpp:426
#20 0x081cbfe9 in UMLListView::qt_invoke (this=0x84b3fb0, _id=115, _o=0xaff0c7f8) at umllistview.moc:165
#21 0xa6e71d4f in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#22 0xa6e72656 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#23 0xa7215a09 in QPopupMenu::activated () from /usr/lib/libqt-mt.so.3
#24 0xa6f966f9 in QPopupMenu::actSig () from /usr/lib/libqt-mt.so.3
#25 0xa6f96d10 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#26 0xa77b489e in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#27 0xa6ea86f0 in QWidget::event () from /usr/lib/libqt-mt.so.3
#28 0xa6e09c26 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#29 0xa6e0bdc9 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#30 0xa75b1cce in KApplication::notify () from /usr/lib/libkdecore.so.4
#31 0xa6d9d495 in QApplication::sendSpontaneousEvent () from /usr/lib/libqt-mt.so.3
#32 0xa6d9be88 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
#33 0xa6d9a6b0 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#34 0xa6db0d02 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#35 0xa6e24179 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#36 0xa6e23f9a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#37 0xa6e0b7bf in QApplication::exec () from /usr/lib/libqt-mt.so.3
#38 0x0818bc5c in main (argc=-1489909624, argv=0x8afd1a8) at main.cpp:137

More information about the umbrello-devel mailing list