[Uml-devel] [Bug 111351] New: Crash on undo (and that's what it is, can't add more text to please the wizard, sorry)

boud at valdyas.org boud at valdyas.org
Tue Aug 23 06:28:32 UTC 2005

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: Crash on undo (and that's what it is, can't add more
                    text to please the wizard, sorry)
           Product: umbrello
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel.kde.org
        ReportedBy: boud valdyas org

Version:           svn 3.5 branch of 22/08/2005 (using KDE KDE 3.4.2)
Installed from:    Unlisted Binary Package
Compiler:          g++ 3.3.5 
OS:                Linux

When I undo in Umbrello, I get a crash fairly often. I have attached a file that you can use to reproduce the crash. 

* Select everything on the diagram called QUPA.
* Select copy
* Create a new Collaboration Diagran
* Select paste
* Notice that Umbrello is right, shouldn't have done that, so press undo to remove all the arrows that have been pasted.
* Crash:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1241120064 (LWP 6538)]
[KCrash handler]
#4  0x00000048 in ?? ()
#5  0xb72cf01e in QGList::clear () from /usr/lib/libqt-mt.so.3
#6  0x081724f5 in QPtrList<QCanvasLine>::clear (this=0x8cad4e0)
    at qptrlist.h:93
#7  0x08170ffd in LinePath::cleanup (this=0x8cad4b4) at linepath.cpp:833
#8  0x08127471 in AssociationWidget::cleanup (this=0x8cad228)
    at associationwidget.cpp:768
#9  0x08124dfa in ~AssociationWidget (this=0x8cad228)
    at associationwidget.cpp:128
#10 0xb6fd323e in QWidget::~QWidget () from /usr/lib/libqt-mt.so.3
#11 0xb70d0bff in QScrollView::~QScrollView () from /usr/lib/libqt-mt.so.3
#12 0xb71e5f92 in QCanvasView::~QCanvasView () from /usr/lib/libqt-mt.so.3
#13 0x081d3608 in ~UMLView (this=0x8af19e8) at umlview.cpp:209
#14 0x08161dd1 in QPtrList<UMLView>::deleteItem (this=0x8511a78, d=0x8af19e8)
    at qptrlist.h:150
#15 0xb72cec5c in QGList::remove () from /usr/lib/libqt-mt.so.3
#16 0x081ba22c in QPtrList<UMLView>::remove (this=0x8511a78, d=0x8af19e8)
    at qptrlist.h:85
#17 0x081a9865 in UMLDoc::removeView (this=0x8511a50, view=0x8af19e8, 
    enforceCurrentView=false) at umldoc.cpp:174
#18 0x081b6e20 in UMLDoc::removeAllViews (this=0x8511a50) at umldoc.cpp:2335
#19 0x081a9c87 in UMLDoc::closeDocument (this=0x8511a50) at umldoc.cpp:279
#20 0x081b8c43 in UMLDoc::loadUndoData (this=0x8511a50) at umldoc.cpp:2738
#21 0x081a2251 in UMLApp::slotEditUndo (this=0x850e200) at uml.cpp:819
#22 0x081a62ed in UMLApp::qt_invoke (this=0x850e200, _id=130, _o=0xbfffeb10)
    at uml.moc:321
#23 0xb6f9ab84 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0xb6f9a951 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#25 0xb79dcdcb in KAction::activated () from /usr/lib/libkdeui.so.4
#26 0xb79dc53a in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#27 0xb79dd0b1 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#28 0xb6f9ab84 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#29 0xb6f9a951 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#30 0xb778741b in KAccelPrivate::menuItemActivated ()
   from /usr/lib/libkdecore.so.4
#31 0xb7785c58 in KAccelPrivate::eventFilter () from /usr/lib/libkdecore.so.4
#32 0xb6f98244 in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#33 0xb6f9816c in QObject::event () from /usr/lib/libqt-mt.so.3
#34 0xb6fd938f in QWidget::event () from /usr/lib/libqt-mt.so.3
#35 0xb70b02a2 in QMainWindow::event () from /usr/lib/libqt-mt.so.3
#36 0xb6f32bef in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#37 0xb6f323e4 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#38 0xb76ff8a5 in KApplication::notify () from /usr/lib/libkdecore.so.4
#39 0xb6f290d2 in QAccelManager::tryAccelEvent () from /usr/lib/libqt-mt.so.3
#40 0xb6f28965 in qt_tryAccelEvent () from /usr/lib/libqt-mt.so.3
#41 0xb6ebd82c in QETWidget::translateKeyEvent () from /usr/lib/libqt-mt.so.3
#42 0xb6eb8775 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#43 0xb6ed1d9e in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#44 0xb6f47c38 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#45 0xb6f47ae8 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#46 0xb6f32e51 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#47 0x0817c67a in main (argc=7, argv=0xbffffad4) at main.cpp:113

Notice that this isn't the only way to get the crash, I get it fairly often. Maybe it happens when removing a connection, maybe when I remove more than one thing at a time -- I don't know...

More information about the umbrello-devel mailing list