Alexander Larsson wrote:

> > I tried to open my Dia 0.30 diagrams with a fresh CVS dia (so I could
> > get the new UML objects), but dia just segfaults.  Here is the
> > backtrace.  Is the new dia comptible with the 0.30 XML files???
> 
>  A bit fast are we? I just commited the new UML objects a second ago.
>  You'll probably have to wait some minutes before they are mirrored to
>  the anon cvs servers :).

I thought these things went in over the weekend.
 
>  This backtrace is very strange. It seems doc->root->name is NULL
>  (probably). Which should NOT happen (i think). Could you send me the
>  file in question so i can take a closer look?

Sorry, it is the inheritance diagram from my company's crown jewel
software.  Here is the part of the file that I can show you, though:

<?xml version="1.0"?>
<dia:diagram xmlns:dia="http://www.lysator.liu.se/~alla/dia/">
  <dia:diagramdata>
    <dia:attribute name="background">
      <dia:color val="#ffffff"/>
    </dia:attribute>
  </dia:diagramdata>
  <dia:layer name="Background" visible="true">
    <dia:object type="UML - Class" version="0" id="O0">
      <dia:attribute name="obj_pos">
        <dia:point val="8,-31"/>
      </dia:attribute>
      <dia:attribute name="obj_bb">
        <dia:rectangle val="7.95,-31.05;21.9396,-24.35"/>
      </dia:attribute>
      <dia:attribute name="elem_corner">
        <dia:point val="8,-31"/>
      </dia:attribute>
      <dia:attribute name="elem_width">
        <dia:real val="13.8896"/>
      </dia:attribute>
      <dia:attribute name="elem_height">
        <dia:real val="6.6"/>
      </dia:attribute>
      <dia:attribute name="name">
...

My libxml went from 0.99.3 to 0.99.5, do you think this might have
broken it?

>  If you don't want to mail me the file could you please execute the
>  commands "p doc", "p doc->root" and "p doc->root->name" in gdb after
>  the crash.

(gdb) p doc
$3 = 0x80b3e98
(gdb) p doc->root
$4 = (struct xmlNode *) 0x80b5aa0
(gdb) p doc->root->name
$5 = (CHAR *) 0x0

Saving new diagrams in my copy of dia is also not working at the
moment.  More on this if I get to investigate it.

Cheers,
Jeffrey
-- 
Jeffrey W. Baker
Critical Path, Inc
Speaking for myself only, of course

Reply via email to