[Uml-devel] Critical Bug

Ralf Habacker ralf.habacker at freenet.de
Sun Jun 27 21:06:22 UTC 2010


Kip Warner schrieb:
> I have an Umbrello project that was a couple of kilobytes, then a couple
> megabytes, and then, by golly, as of today, apparently 130 MB. There is
> something seriously wrong with Umbrello's project file i/o because I
> have surely not added that much content to the project. The code must be
> seriously broken because that 130 MB file bzip'd is only 164 KB, so
> clearly there must be a lot of redundant junk it is accidentally
> writing.
>
> I am deeply dependent on Umbrello and so I am very worried about getting
> my project corrupted because the save times are also taking a very long
> time now.
>
> Here is the project file:
> https://www.avaneya.com/temp/design/AresEngine_broken.xmi.bz2
>
> Be careful. Though the file is small, it will decompress to 130 MB.
>
> I am using svn head and any help is appreciated.
>   
streams are your friend :-)


$ less AresEngine_broken.xmi
<?xml version="1.0" encoding="UTF-8"?>
<XMI verified="false" xmi.version="1.2" timestamp="2010-06-26T17:57:15" 
xmlns:UML="http://schema.omg.org/spec/UML/1.3">
 <XMI.header>
  <XMI.documentation>
   <XMI.exporter>umbrello uml modeller http://uml.sf.net</XMI.exporter>
   <XMI.exporterVersion>1.5.8</XMI.exporterVersion>
   <XMI.exporterEncoding>UnicodeUTF8</XMI.exporterEncoding>
  </XMI.documentation>
  <XMI.metamodel xmi.version="1.3" href="UML.xml" xmi.name="UML"/>
 </XMI.header>
 <XMI.content>

<snip>

    <UML:Stereotype visibility="public" isSpecification="false" 
namespace="m1" isAbstract="false" isLeaf="false" isRoot="false" xm
i.id="interface" name="interface"/>
    <UML:Stereotype visibility="public" isSpecification="false" 
namespace="m1" isAbstract="false" isLeaf="false" isRoot="false" xm
i.id="<C3><83><C2><83><C3><82><C2><83><C3><83><C2><82><C3><82><C2><83><C3><83><C2><83><C3><82><C2><82><C3><83><C2><82><C3><82><C2>


and


$ tail -100000  AresEngine_broken.xmi
<snip>

 <UML:Stereotype visibility="public" isSpecification="false" 
namespace="m1" isAbstract="false" isLeaf="false" isRoot="false" 
xmi.id="Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?

There seems to be a problem with xmi.id generating or parsing

Ralf



> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> ------------------------------------------------------------------------
>
> _______________________________________________
> Uml-devel mailing list
> umbrello-devel at kde.org
> https://mail.kde.org/mailman/listinfo/umbrello-devel
>   





More information about the umbrello-devel mailing list