Version: 1.3.0 (using KDE 3.2.1, SuSE) Compiler: gcc version 3.3.3 (SuSE Linux) OS: Linux (i686) release 2.6.7-ck1 In state diagram put a state, then another and draw an association set the association name then click on the association name label and hit the "del" key. Umbrello starts allocating memory and hangs the machine.
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.