[Uml-devel] [Bug 59774] New: crash when cutting last diagram left
Sebastian Stein
seb_stein at gmx.de
Sat Jun 14 09:41:06 UTC 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=59774
Summary: crash when cutting last diagram left
Product: umbrello
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: NEW
Severity: crash
Priority: NOR
Component: general
AssignedTo: umbrello-devel at kde.org
ReportedBy: seb_stein at gmx.de
Version: 1.2-alpha (using KDE 3.1.1)
Compiler: gcc version 3.2.2
OS: Linux (i686) release 2.4.20
Start a new projekt and cut the default class diagram. Umbrello will crash. The
problem is, that the diagram is destroyed and after that it is tried to access
the current diagram in
UMLApp::slotDeleteSelectedWidget() {
doc->getCurrentView()->deleteSelection();
}
There the crash occurs. A fix would be to maybe check if the object to be
deleted is a diagram and than call
UMLApp::slotDeleteDiagram() {
doc->removeDiagram( doc->getCurrentView()->getID() );
}
Because you can delete all diagrams without crash. The crash only happens with
cutting.
So, please have a look at it, a fix might be near...
Steinchen
More information about the umbrello-devel
mailing list