Bug 149939 - Crash on delete call to object deletion from sequence diagram
Summary: Crash on delete call to object deletion from sequence diagram
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-17 16:36 UTC by Tim Read
Modified: 2007-09-18 11:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Very basic example (10.80 KB, application/x-uml)
2007-09-17 16:38 UTC, Tim Read
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Read 2007-09-17 16:36:06 UTC
Version:           1.5.7 (using KDE 3.5.7-21.fc7 Fedora, Fedora release 7 (Moonshine))
Compiler:          Target: i386-redhat-linux
OS:                Linux (i686) release 2.6.20-2931.fc7xen

When deleting a synchronous message in a sequence diagram umbrello crashes.

This has also been the case when deleting a object with messages attached to it.

Version 1.5.7 using KDE 3.5.7-21.fc7 Fedora.

Umbrello being used stand alone. Problem has been reproduced on very simple case with 3 classes on a sd diagram with two synchronous messages passing between first-second first-thrid object. Deletion of thrid object then produces crash as below.

From dump....

 [?1034h(no debugging symbols found)
Using host libthread_db library "/lib/i686/nosegneg/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208903984 (LWP 3807)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0x00000068 in ?? ()
#7  0x08169c0e in MessageWidget::saveToXMI ()
#8  0x081d4a57 in UMLView::saveToXMI ()
#9  0x0814c8ed in UMLFolder::saveContents ()
#10 0x0814cac2 in UMLFolder::save ()
#11 0x0814d8c0 in UMLFolder::saveToXMI ()
#12 0x081a3058 in UMLDoc::saveToXMI ()
#13 0x081a3e17 in UMLDoc::addToUndoStack ()
#14 0x081a3ebe in UMLDoc::setModified ()
#15 0x081d0713 in UMLView::removeWidget ()
#16 0x08167ecb in MessageWidget::cleanup ()
#17 0x081d05e4 in UMLView::checkMessages ()
#18 0x081d0737 in UMLView::removeWidget ()
#19 0x081d089c in UMLView::deleteSelection ()
#20 0x0819bc23 in UMLApp::slotDeleteSelectedWidget ()
#21 0x0819d005 in UMLApp::qt_invoke ()
#22 0x00ea7d9a in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#23 0x00ea877d in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#24 0x00a2e329 in KAction::activated () from /usr/lib/libkdeui.so.4
#25 0x00a67a52 in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#26 0x00b301af in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#27 0x00ea7d9a in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#28 0x00ea877d in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#29 0x006f5b99 in KAccelPrivate::menuItemActivated ()
   from /usr/lib/libkdecore.so.4
#30 0x00746117 in KAccelPrivate::emitActivatedSignal ()
   from /usr/lib/libkdecore.so.4
#31 0x00797e6e in KAccelPrivate::eventFilter () from /usr/lib/libkdecore.so.4
#32 0x00ea714c in QObject::activate_filters ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#33 0x00ea71cb in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#34 0x00ee407c in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#35 0x00fb3562 in QMainWindow::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#36 0x00e3e58b in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#37 0x00e401c1 in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#38 0x007cc692 in KApplication::notify () from /usr/lib/libkdecore.so.4
#39 0x00e3afae in QAccelManager::tryAccelEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#40 0x00e3b41c in qt_tryAccelEvent () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#41 0x00dd3751 in QETWidget::translateKeyEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#42 0x00dd4643 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#43 0x00de637b in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#44 0x00e57eb0 in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#45 0x00e57d76 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#46 0x00e3e1cf in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#47 0x08167657 in main ()
Comment 1 Tim Read 2007-09-17 16:38:13 UTC
Created attachment 21640 [details]
Very basic example

Example umbrello case that has produced crash on machine
Comment 2 Oliver Kellogg 2007-09-17 21:22:43 UTC
> Deletion of third object then produces crash as below.

Cannot confirm with current SVN branches/KDE/2.5/kdesdk/umbrello/

I tried deleting the "Class3" object in the sequence diagram as well
as in the list view.
I also tried deleting the op2 message from Class1 to Class3 and that
also does not crash.
All of the above with Undo/Redo enabled (your backtrace shows that you
must have had that enabled at the time of crash.)

Please try again with current umbrello from SVN or with the snapshot at
http://uml.sourceforge.net/developers/umbrello.tar.bz2
Comment 3 Oliver Kellogg 2007-09-17 21:59:26 UTC
> Cannot confirm with current SVN branches/KDE/2.5/kdesdk/umbrello/

Oops, make that branches/KDE/3.5/
Comment 4 Tim Read 2007-09-18 11:14:25 UTC
Have built from http://uml.sourceforge.net/developers/umbrello.tar.bz2
and version 1.5.72 does not show these issues and is stable.

Problem solved. Thanks Oliver.
Comment 5 Tim Read 2007-09-18 11:16:19 UTC
Problem has been solved by using recent build.

( Note the version that came with Fedora 3 was unstable ).