Bug 150091 - crash when deleting a message in a sequence diagram
Summary: crash when deleting a message in a sequence diagram
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-22 14:57 UTC by Mads N Noe
Modified: 2007-10-10 20:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
gdb backtrace (3.15 KB, text/plain)
2007-09-22 15:06 UTC, Mads N Noe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mads N Noe 2007-09-22 14:57:14 UTC
Version:           1.5.7 (using kde-3.5.7) (using KDE KDE 3.5.7)
Installed from:    Gentoo Packages
Compiler:          gcc-4.1.2 
OS:                Linux

Umbrello crashes when deleting a(n) (a)synchronous message between two objects in a sequence diagram.

Steps to reproduce:
- Create a sequence diagram
- Create two objects
- Create a message between them
- Select the message and press <delete>

I'll attach console output and backtrace.
Comment 1 Mads N Noe 2007-09-22 15:06:29 UTC
Created attachment 21671 [details]
gdb backtrace
Comment 2 Mads N Noe 2007-09-22 15:17:58 UTC
Update: Compiled the package manually for debugging, but on this build I can't reproduce the bug. May be Gentoo-specific.
Comment 3 Philip Rodrigues 2007-09-23 18:58:19 UTC
Please paste the first ~10 useful calls from backtraces, as this allows the "search for similar crashes" feature to work. Thanks!

#0  0xb7456593 in QString::QString () from /usr/qt/3/lib/libqt-mt.so.3
#1  0x08143a15 in FloatingTextWidget::getText ()
#2  0x08162cac in MessageWidget::saveToXMI ()
#3  0x081c8fbc in UMLView::saveToXMI ()
#4  0x08146ecc in UMLFolder::saveContents ()
#5  0x08147093 in UMLFolder::save ()
#6  0x08147e50 in UMLFolder::saveToXMI ()
#7  0x08198d55 in UMLDoc::saveToXMI ()
#8  0x08199ac6 in UMLDoc::addToUndoStack ()
#9  0x08199b63 in UMLDoc::setModified ()
#10 0x081c4e41 in UMLView::removeWidget ()
#11 0x081613ab in MessageWidget::cleanup ()
#12 0x081c4d9f in UMLView::removeWidget ()
#13 0x081c507e in UMLView::deleteSelection ()
#14 0x08191f89 in UMLApp::slotDeleteSelectedWidget ()
#15 0x081932d5 in UMLApp::qt_invoke ()
Comment 4 Sébastien Sénégas 2007-10-04 10:53:34 UTC
I can confirm the problem, it is very painfull

(no debugging symbols found)
Using host libthread_db library "/lib/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 -1208932656 (LWP 25612)]
(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)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0x0619ca0b in QString::QString () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#7  0x08148feb in FloatingTextWidget::getText ()
#8  0x08169b2d in MessageWidget::saveToXMI ()
#9  0x081d4a67 in UMLView::saveToXMI ()
#10 0x0814c89d in UMLFolder::saveContents ()
#11 0x0814ca72 in UMLFolder::save ()
#12 0x0814d870 in UMLFolder::saveToXMI ()
#13 0x081a3068 in UMLDoc::saveToXMI ()
#14 0x081a3e27 in UMLDoc::addToUndoStack ()
#15 0x081a3ece in UMLDoc::setModified ()
#16 0x081d0723 in UMLView::removeWidget ()
#17 0x08167f1b in MessageWidget::cleanup ()
#18 0x081d0681 in UMLView::removeWidget ()
#19 0x081d098e in UMLView::deleteSelection ()
#20 0x0819bc33 in UMLApp::slotDeleteSelectedWidget ()
#21 0x0819d015 in UMLApp::qt_invoke ()
#22 0x05e80bea in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#23 0x05e8171d in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#24 0x06d36e0e in KAction::activated () from /usr/lib/libkdeui.so.4
#25 0x06d37622 in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#26 0x06d37ad2 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#27 0x05e80bea in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#28 0x05e8171d in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#29 0x068057ee in KAccelPrivate::menuItemActivated ()
   from /usr/lib/libkdecore.so.4
#30 0x06806d97 in KAccelPrivate::emitActivatedSignal ()
   from /usr/lib/libkdecore.so.4
#31 0x0680744d in KAccelPrivate::eventFilter () from /usr/lib/libkdecore.so.4
#32 0x05e8022c in QObject::activate_filters ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#33 0x05e802ab in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#34 0x05ebdcfc in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#35 0x05f8bb62 in QMainWindow::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#36 0x05e17e6b in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#37 0x05e1978d in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#38 0x0679056e in KApplication::notify () from /usr/lib/libkdecore.so.4
#39 0x0720af8e in QApplication::sendEvent () from /usr/lib/libkio.so.4
#40 0x06808106 in KAccelEventHandler::x11Event ()
   from /usr/lib/libkdecore.so.4
#41 0x0679127b in KAppX11HackWidget::publicx11Event ()
   from /usr/lib/libkdecore.so.4
#42 0x06787bcc in KApplication::x11EventFilter ()
   from /usr/lib/libkdecore.so.4
#43 0x05d9d784 in ?? () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#44 0x05dadf93 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#45 0x05dc014b in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#46 0x05e313f0 in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#47 0x05e312a6 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#48 0x05e1797f in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#49 0x081676a7 in main ()
Comment 5 Knut Omang 2007-10-10 09:52:22 UTC
I also experience this consequently. Any cut operation of an asynchronous message seems to core dump. Similar stack trace as above. 
I am running on an AMD64.

Anyway, this is becoming a great tool (and hopefully *the* standard one!) once these stability issues are fixed!
Comment 6 Oliver Kellogg 2007-10-10 20:04:17 UTC
Cannot confirm with 1.5.71 or 1.5.8 SVN.