Bug 68126

Summary: Crash when deleting class diagram
Product: [Applications] umbrello Reporter: Caleb Tennis <caleb>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Caleb Tennis 2003-11-13 16:00:10 UTC
Version:            (using KDE KDE 3.1.93)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2 
OS:          Linux

I right click a class diagram, then select delete.

This removes the class diagram from the list, but the contents of the diagram are still displayed on the view window. 

Attempting to select another class diagram from the list results in a crash.  Here is the backtrace (from kdesdk-10-12 snapshot)

[New Thread 16384 (LWP 27084)]
0x4123b359 in waitpid () from /lib/libpthread.so.0
#0  0x4123b359 in waitpid () from /lib/libpthread.so.0
#1  0x408b5d9d in KCrash::defaultCrashHandler(int) ()
   from /usr/kde/3.2/lib/libkdecore.so.4
#2  0x4123a17c in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x40f41760 in QGList::clear() () from /usr/qt/3/lib/libqt-mt.so.3
#5  0x0817175a in UMLView::clearSelected() (this=0x884af80) at qptrlist.h:93
#6  0x0815f5c4 in UMLListView::contentsMousePressEvent(QMouseEvent*) (
    this=0x83a3c18, me=0xbfffecd0) at umldoc.h:598
#7  0x40dadc3c in QScrollView::viewportMousePressEvent(QMouseEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#8  0x40dad5e4 in QScrollView::eventFilter(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#9  0x40d7ccb8 in QListView::eventFilter(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#10 0x40c9e39e in QObject::activate_filters(QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#11 0x40c9e2c1 in QObject::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#12 0x40cd501c in QWidget::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#13 0x40c45a65 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#14 0x40c44f48 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#15 0x40809fde in KApplication::notify(QObject*, QEvent*) ()
   from /usr/kde/3.2/lib/libkdecore.so.4
#16 0x40bdebab in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#17 0x40bdc2db in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#18 0x40bf31a7 in QEventLoop::processEvents(unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#19 0x40c58c36 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
#20 0x40c58ad8 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#21 0x40c45cb1 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#22 0x0812fe9e in main (argc=-512, argv=0xfffffe00) at main.cpp:86
#23 0x413a6ba7 in __libc_start_main () from /lib/libc.so.6
Comment 1 lparrab 2003-11-20 23:26:59 UTC
While the description is not the same, I think the problem is the same
as in  Bug #59774.
The patch I just submited for 59774 fixes this as well, so I'm marking it as duplicated

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