[umbrello-devel] [umbrello] [Bug 345388] New: Dangling pointer issue on document close
Ralf Habacker
ralf.habacker at freenet.de
Sat Mar 21 10:32:59 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=345388
Bug ID: 345388
Summary: Dangling pointer issue on document close
Product: umbrello
Version: Git
Platform: Other
OS: other
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
Assignee: umbrello-devel at kde.org
Reporter: ralf.habacker at freenet.de
In UMLPackage::removeAllObjects() there is the following code fragment
...
removeObject(o);
//delete o;
// CHECK: Direct usage of the destructor crashes on associations.
o->deleteLater();
While doing a research related to bug 73847 I stumpled over this comment.
Uncommenting the code fragment to
delete o;
// CHECK: Direct usage of the destructor crashes on associations.
//o->deleteLater();
still let umbrello crash on document close because of accessing a dangling
pointer.
Reproducible: Always
Steps to Reproduce:
1. change code mentioned above
2. compile umbrello
3. start umbrello
4. click on "new document"
Actual Results:
umbrello crashes
Expected Results:
umbrello should not crash
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list