[Uml-devel] [umbrello] [Bug 230350] Umbrello segfaults on opening xmi file

Ralf Habacker ralf.habacker at freenet.de
Tue Jun 18 10:48:15 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=230350

--- Comment #9 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to comment #8)
> Shouldn't this format issue be sanitized instead of looping forever? (it
> doesn't segfaults for me, but it loops forever).
> 
> Also the original submitter (in the debian bug) claims that the file, the
> file you mentioned, was generated by an older version of umbrello, 
> so maybe this bug needs to be retitled, but I don't see it as invalid.

umbrello has already gotten some work to be loop resistant, but in all those
cases there are uniq element id's, which is not the case here. 

Here i would classify the file as corrupt, because umbrello will not be able to
load this file  without loosing contained information. If there are two equal
id's and they are referenced from other elements, how should umbrello be able
to say which reference is for which element ?  Should it skip those elements
and all references or assign all references to one element and re'id the other
?  And how will the user be able to see this corruption visual ? 

In fact when umbrello is directed to load such a file it should cancel file
loading and report a "file cannot be load, because it is corrupt" or similar
message to the user. 

>  was generated by an older version of umbrello, 
has this been reported as major bug in that version ? Creating corrupt files
looks like a major bug to me.

-- 
You are receiving this mail because:
You are the assignee for the bug.




More information about the umbrello-devel mailing list