Bug 128244 - crash when undoing association drawing
Summary: crash when undoing association drawing
Status: RESOLVED DUPLICATE of bug 145762
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 1.5.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-29 15:26 UTC by Mikolaj Kaluszynski
Modified: 2007-06-01 20:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikolaj Kaluszynski 2006-05-29 15:26:02 UTC
Version:           1.5.1 (using KDE KDE 3.5.1)
Installed from:    SuSE RPMs
OS:                Linux

Abot 20 classes in class diagram (not saved yet). After drawing an undirected association, then preesing Ctrl+Z app crashed with following bt:


(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)
[Thread debugging using libthread_db enabled]
[New Thread -1231087952 (LWP 12133)]
(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  0x00000024 in ?? ()
#7  0x082bf16d in CPPHeaderClassDeclarationBlock::updateContent ()
#8  0x08106707 in OwnedHierarchicalCodeBlock::qt_invoke ()
#9  0x082be88b in CPPHeaderClassDeclarationBlock::qt_invoke ()
#10 0xb7204ac1 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0xb72057bd in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x0810151d in UMLObject::modified ()
#13 0x0817b52d in UMLCanvasObject::removeAssociation ()
#14 0x0817bf57 in UMLDoc::removeAssocFromConcepts ()
#15 0x0817bfb2 in UMLDoc::removeAssociation ()
#16 0x0817c01b in UMLAssociation::~UMLAssociation ()
#17 0x081b8598 in UMLDoc::closeDocument ()
#18 0x081bd261 in UMLDoc::loadUndoData ()
#19 0x081bd6c0 in UMLApp::slotEditUndo ()
#20 0x081d3767 in UMLApp::qt_invoke ()
#21 0xb7204b5d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0xb72057bd in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0xb79e6529 in KAction::activated () from /opt/kde3/lib/libkdeui.so.4
#24 0xb7a1c032 in KAction::slotActivated () from /opt/kde3/lib/libkdeui.so.4
#25 0xb7b2893f in KAction::qt_invoke () from /opt/kde3/lib/libkdeui.so.4
#26 0xb7204b5d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0xb72057bd in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0xb7746999 in KAccelPrivate::menuItemActivated ()
   from /opt/kde3/lib/libkdecore.so.4
#29 0xb7785a07 in KAccelPrivate::emitActivatedSignal ()
   from /opt/kde3/lib/libkdecore.so.4
#30 0xb77dfa69 in KAccelPrivate::eventFilter ()
   from /opt/kde3/lib/libkdecore.so.4
#31 0xb720445c in QObject::activate_filters ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0xb72044cb in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0xb723d4fc in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0xb72f6b52 in QMainWindow::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0xb71a5c47 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0xb71a6fdd in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0xb781c8e3 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#38 0xb77a2682 in KAccelEventHandler::x11Event ()
   from /opt/kde3/lib/libkdecore.so.4
#39 0xb781a753 in KApplication::x11EventFilter ()
   from /opt/kde3/lib/libkdecore.so.4
#40 0xb7134c34 in qt_set_x11_event_filter ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#41 0xbfd9c154 in ?? ()
#42 0xbfd9c058 in ?? ()
#43 0x00000001 in ?? ()
#44 0xb766e138 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#45 0xb766e138 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#46 0x08535af8 in ?? ()
#47 0xbfd9bf68 in ?? ()
#48 0xb71445a3 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#49 0xb71445a3 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#50 0xb715545a in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#51 0xb71bca78 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#52 0xb71bc90e in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#53 0xb71a57ff in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#54 0x081d3d48 in main ()
Comment 1 Chris Webster 2007-05-23 01:12:18 UTC
I am having this problem also.  We have a document we brought up from version 1.4.2 to 1.5.7 (built from source today 5/22/07).  All composite, aggregate, inheritence, and directional associations were converted into bi-directional associations.

Deleting any association with multiplicities would instantly cause a crash.  Most associations I could delete the multiplicities first, then the association.  However the last batch are still there.

Instead of trace back, I'm going to put the document up for download:

ftp://ftp.atd.ucar.edu/pub/temp/users/cjw/datasource.xmi

click on "DataSet" Logical View and try to remove any association.
Comment 2 Oliver Kellogg 2007-05-23 06:41:30 UTC
> I am having this problem also.

Fixed by r667075 (see bug 145762)

> All composite, aggregate, inheritance, and directional associations
> were converted into bi-directional associations.

Cannot confirm, except for the annoyance of having to press Undo
several times to restore the full association (i.e. an association
appears undirected on pressing Undo once but when pressing Undo
again then the direction is restored.)
Comment 3 Oliver Kellogg 2007-06-01 20:45:27 UTC
Comment #1 is a duplicate of bug 146064.

*** This bug has been marked as a duplicate of 145762 ***