Bug 71805

Summary: crash in CodeClassField destructor upon Close or Quit
Product: [Applications] umbrello Reporter: Oliver Kellogg <okellogg>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: HI    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Oliver Kellogg 2004-01-04 11:43:39 UTC
Version:           cvs (using KDE KDE 3.1.1)

Upon closing a file or exiting out of Umbrello altogether,
a crash occurs as follows:

#4  0x0843f729 in ?? ()
#5  0x081105ad in ~CodeClassField (this=0x83c9920) at codeclassfield.cpp:55
#6  0x0824b128 in ~CPPCodeClassField (this=0x83c9920)
    at cppcodeclassfield.cpp:46
#7  0x40a97aaa in QObject::~QObject() () from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0x08179144 in ~UMLObject (this=0x8466598) at umlobject.cpp:37
#9  0x0810906a in ~UMLClassifierListItem (this=0x8466598)
    at classifierlistitem.cpp:23
#10 0x0810099a in ~UMLAttribute (this=0x8466598) at attribute.cpp:29
#11 0x40a984fc in QObject::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x40a395f8 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x40a38b50 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x4068b929 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#15 0x40a3a4f4 in QApplication::sendPostedEvents(QObject*, int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x40a4dbc8 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40a4da76 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40a3987f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x0814229a in main (argc=1, argv=0xbffff244) at main.cpp:86
#20 0x411548ae in __libc_start_main () from /lib/libc.so.6

As a hotfix, I a commenting out the offending lines in
codeclassfield.cpp revision 1.17.
A more detailed investigation must follow.
Any help is appreciated.
Comment 1 Brian Thomas 2004-02-17 19:29:04 UTC
I believe this is now fixed. If it isnt please send me an XMI file
which shows the bug.