Bug 87995 - deleting sychronous message crash
Summary: deleting sychronous message crash
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Oliver Kellogg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-25 02:53 UTC by SoggyGibblets
Modified: 2004-09-28 23:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SoggyGibblets 2004-08-25 02:53:10 UTC
Version:           1.3.0 (using KDE 3.2.3, Gentoo)
Compiler:          gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
OS:                Linux (i686) release 2.6.5-gentoo-r1

Howdy all

I`m not sure if this has been resolved as there seems to be reports for the same bug but they are either closed or for a previous version.
I downloaded the latest version (as of a bit over a week ago) from the homepage and i`m running KDE-3.2.3
All compiled fine etc apart from this rather painfull bug.
I will update from cvs or some such and report back if this still happens.

This is a trace from the crash.....
Using host libthread_db library "/lib/libthread_db.so.1".
0x412479a8 in waitpid () from /lib/libpthread.so.0
#0  0x412479a8 in waitpid () from /lib/libpthread.so.0
#1  0x408ca0d4 in ?? () from /usr/kde/3.2/lib/libkdecore.so.4
#2  0x40807360 in KCrash::defaultCrashHandler(int) ()
   from /usr/kde/3.2/lib/libkdecore.so.4
#3  0x08536518 in ?? ()
#4  0x40fb37b0 in __JCR_LIST__ () from /usr/qt/3/lib/libqt-mt.so.3
#5  0xbfffdf48 in ?? ()
#6  0x40e3ff33 in QStringData::deleteSelf() () from /usr/qt/3/lib/libqt-mt.so.3

Thanks for your time and great work guys `n girls!
Comment 1 SoggyGibblets 2004-08-25 02:56:19 UTC
Oops forgot to say what caused it LOL.. now where did i put my coffee!
Ok this is caused from deleting a synchronous message from a given sequence diagram, easily reproducible aswell.
Thanks again!
Comment 2 SoggyGibblets 2004-08-25 13:24:56 UTC
Hi again

I just downloaded kdesdk-040825.tar.bz2 and installed umbrello and the problem still exists.
Another thing I noticed is that it said it was still 1.3 and not 1.4 and yet in the README or some such it clearly said 1.4?
Any help would be greatly apreciated and I will try CVS tommorow and then possibly KDE 3.3.0 on friday.
Comment 3 Jonathan Riddell 2004-08-25 16:42:46 UTC
Confirmed.  It doesn't happen every time but it is common, not sure what the deciding factor is.

#0  0x40ee1ae4 in QDomNodePrivate::ownerDocument() () from /usr/lib/libqt-mt.so.3
#1  0x40ee2448 in QDomNode::ownerDocument() const () from /usr/lib/libqt-mt.so.3
#2  0x40ee7961 in QDomElementPrivate::save(QTextStream&, int, int) const () from /usr/lib/libqt-mt.so.3
#3  0x40ee1c9a in QDomNodePrivate::save(QTextStream&, int, int) const () from /usr/lib/libqt-mt.so.3
#4  0x40ee78c6 in QDomElementPrivate::save(QTextStream&, int, int) const () from /usr/lib/libqt-mt.so.3
#5  0x40ee1c9a in QDomNodePrivate::save(QTextStream&, int, int) const () from /usr/lib/libqt-mt.so.3
#6  0x40ee78c6 in QDomElementPrivate::save(QTextStream&, int, int) const () from /usr/lib/libqt-mt.so.3
#7  0x40eed09f in QDomDocumentPrivate::save(QTextStream&, int, int) const () from /usr/lib/libqt-mt.so.3
#8  0x40ee2a23 in QDomNode::save(QTextStream&, int) const () from /usr/lib/libqt-mt.so.3
#9  0x40eedccd in QDomDocument::toString() const () from /usr/lib/libqt-mt.so.3
#10 0x081832fc in UMLDoc::saveToXMI(QIODevice&) (this=0x8438de0, file=@0x86b3b60) at umldoc.cpp:1831
#11 0x0818863b in UMLDoc::addToUndoStack() (this=0x8438de0) at umldoc.cpp:2641
#12 0x0818793b in UMLDoc::setModified(bool, bool) (this=0x8438de0, modified=true, addToUndo=true) at umldoc.cpp:2445
#13 0x0819e786 in UMLView::removeWidget(UMLWidget*) (this=0x84de9b0, o=0x87fda20) at umlview.cpp:801
#14 0x08159494 in MessageWidget::cleanup() (this=0x87fdcd0) at messagewidget.cpp:493
#15 0x0819e697 in UMLView::removeWidget(UMLWidget*) (this=0x84de9b0, o=0x87fdcd0) at umlview.cpp:791
#16 0x0819f1b4 in UMLView::deleteSelection() (this=0x84de9b0) at umlview.cpp:1052
#17 0x08177128 in UMLApp::slotDeleteSelectedWidget() (this=0x83c0248) at uml.cpp:1330
#18 0x08177fa0 in UMLApp::qt_invoke(int, QUObject*) (this=0x83c0248, _id=119, _o=0xbfffec70) at uml.moc:278
#19 0x40cad10c in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/libqt-mt.so.3
#20 0x40cacf34 in QObject::activate_signal(int) () from /usr/lib/libqt-mt.so.3
#21 0x4056939b in KAction::activated() () from /usr/lib/libkdeui.so.4
#22 0x40568d6f in KAction::slotActivated() () from /usr/lib/libkdeui.so.4
#23 0x405695a1 in KAction::qt_invoke(int, QUObject*) () from /usr/lib/libkdeui.so.4
#24 0x40cad10c in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/libqt-mt.so.3
#25 0x40cacf34 in QObject::activate_signal(int) () from /usr/lib/libqt-mt.so.3
#26 0x40862e8b in KAccelPrivate::menuItemActivated() () from /usr/lib/libkdecore.so.4
#27 0x4086170c in KAccelPrivate::eventFilter(QObject*, QEvent*) () from /usr/lib/libkdecore.so.4
#28 0x40caaa3e in QObject::activate_filters(QEvent*) () from /usr/lib/libqt-mt.so.3
#29 0x40caa96c in QObject::event(QEvent*) () from /usr/lib/libqt-mt.so.3
#30 0x40ce30cf in QWidget::event(QEvent*) () from /usr/lib/libqt-mt.so.3
#31 0x40da13b2 in QMainWindow::event(QEvent*) () from /usr/lib/libqt-mt.so.3
#32 0x40c50c6f in QApplication::internalNotify(QObject*, QEvent*) () from /usr/lib/libqt-mt.so.3
#33 0x40c50764 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libqt-mt.so.3
#34 0x407def13 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdecore.so.4
#35 0x4086069b in KAccelEventHandler::x11Event(_XEvent*) () from /usr/lib/libkdecore.so.4
#36 0x407e4edf in KApplication::x11EventFilter(_XEvent*) () from /usr/lib/libkdecore.so.4
#37 0x40bda068 in qt_set_x11_event_filter(int (*)(_XEvent*)) () from /usr/lib/libqt-mt.so.3
#38 0x40be3c4b in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libqt-mt.so.3
#39 0x40bfac94 in QEventLoop::processEvents(unsigned) () from /usr/lib/libqt-mt.so.3
#40 0x40c62f78 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
#41 0x40c62e28 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
#42 0x40c50ec1 in QApplication::exec() () from /usr/lib/libqt-mt.so.3
#43 0x08157069 in main (argc=1, argv=0xbffff8d4) at main.cpp:86
Comment 4 Thiago Silva 2004-09-13 17:55:29 UTC
Here too. I moved a synchronous message (it losts its position, but thats other bug) and deleted it. Here is the bt:

Using host libthread_db library "/lib/libthread_db.so.1".
0x413ff497 in waitpid () from /lib/libpthread.so.0
#0  0x413ff497 in waitpid () from /lib/libpthread.so.0
#1  0x408bf520 in KCrash::defaultCrashHandler ()
   from /opt/kde/lib/libkdecore.so.4
#2  0x413fdbe5 in pthread_barrierattr_setpshared () from /lib/libpthread.so.0
#3  0x00000007 in ?? ()
#4  0x00000000 in ?? ()
#5  0x0000002b in ?? ()
#6  0x0000002b in ?? ()
#7  0xbfffe300 in ?? ()
#8  0xbfffe2f0 in ?? ()
#9  0xbfffe328 in ?? ()
#10 0xbfffe2c0 in ?? ()
#11 0x0000752e in ?? ()
#12 0x08685ea0 in ?? ()
#13 0xbfffe660 in ?? ()
#14 0x00730075 in ?? ()
#15 0x0000000e in ?? ()
#16 0x00000004 in ?? ()
#17 0x0813d12f in MessageWidget::saveToXMI ()
Comment 5 SoggyGibblets 2004-09-28 12:27:22 UTC
Ok just a quick update .....
I have since gone through a few different versions of Umbrello and the last one that doesn`t die horribly after deletion of anything seems to be version 1.2
It does have the occasional fart etc but no where near as bad as the later versions.
Let me know if anyone cares about this and needs more info. (seems though no one does)
Comment 6 Pekka Jääskeläinen 2004-09-28 16:23:51 UTC
Have you tried CVS HEAD? Couple of crash bugs have been fixed there.
Comment 7 Oliver Kellogg 2004-09-28 17:26:47 UTC
Ah, it occurs to me that I switched off undo/redo in my "Configure Umbrello"
a while ago. That may very well be the reason that I'm not seeing these
crashes. I'll enable Undo and let you know.
Comment 8 Oliver Kellogg 2004-09-28 20:14:30 UTC
Sure enough, enable Undo and ka-zang! crashes galore.
I've been living in a happy world :)
Comment 9 Oliver Kellogg 2004-09-28 22:11:08 UTC
Works for me now but since I might be affected by
implementor blindness it wouldn't harm if somebody
else gave it a try too
Comment 10 SoggyGibblets 2004-09-28 23:14:39 UTC
*Feels the love*
Ahh excelent I`m glad this didn`t slip away into back waters as this has been killing me.

Have you tried CVS HEAD? Couple of crash bugs have been fixed there.

Surely have :0) and about 3 days ago was the latest.

Works for me now but since I might be affected by implementor blindness it wouldn't harm if somebody else gave it a try too.

Will gladly do in it about a week as I`m on holidays from today and my entire assignment is in 1.2.
I`ll definitely let you all know how it all pans out and hope i can contribute more in the up comming uni holidays.
Thanks for your help guys!