Summary: | delete on "association name" label makes umbrello crash | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Roberto Rambaldi <Roberto.Rambaldi> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | robin.snyder |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Test case which crashes Umbrello without crash report when selecting assoc label and pressing delete.
fix for the crash on deleting an association label |
Description
Roberto Rambaldi
2004-09-15 17:56:51 UTC
Created attachment 7559 [details]
Test case which crashes Umbrello without crash report when selecting assoc label and pressing delete.
The crash happens also (at least) in class diagram. The point is to select the
label of association not the association itself to produce the crash. It causes
segmentation fault printed to the console, no KDE crash report.
Created attachment 7584 [details]
fix for the crash on deleting an association label
This patch should fix the crash. It's against the CVS HEAD. I will test it
thoroughly later.
Great, I've commited your fix, many thanks. Please put this in ~/.cvsrc to create the most easy to use diffs cvs -l -q -z4 diff -up update -dP checkout -P Thanks again *** Bug 88233 has been marked as a duplicate of this bug. *** Same memory allocation related system crash is caused by deleting associations in collaboration diagrams. This patch only fixed the problem in the state diagram for me. Could you try again? I found another occurrence of deletion before UMLDoc::setModified() which I fixed. Collaboration diagrams work for me (although there is still the curious issue of a strange initial name starting with 'm'). sorry, up to now I cannot test it because I have problems in compiling the cvs version, I'll let you know as I solve the compilation problem Same problem occurs on my opensuse system. I compiled umbrello 1.5.52 without any failure. When I run the application and try to delete a role label, it crashes and stats to run a endless loop. I see the following output on my console: umbrello: UMLView::addWidget (modified_by type=313): position (0,0) is out of range. Its serious, becaust it occurs only when I try to delete some labels one by one. At around the 6th label it starts the error loop and crashes. |