On 20 Oct 1999, Daniel Wang wrote:
>
> I've run into a particularly odd error. I updated my linux box to redhat-6.1
> and recompiled dia from the latest version in CVS.
>
> An old diagram I was working on, now causes dia to segfault. However, if I
> recompile dia with the --enable-gnome
>
> option my old file works!
>
> Does anyone have an idea why this is so? Is this just a bug that
> --enable-gnome hides or does --enable-gnome effect the compilation in a
> non-trival way...
>
> http://vista.cs.princeton.edu/~danwang/work.dia
>
> is the file.
>
> I'd at least appreciate it if someone else can confirm it works or dies with
> a particular version of dia and OS instillation.
This was due to a problem loading flowchart objects. They didn't
load/save the "padding" property. Sometimes when they were loaded the
padding was some random number leading to a crash.
The --enable-gnome stuff was probably just enough changes to change this
random initialization in this case.
It's fixed in CVS, "works-for-me". Can you test it?
/ Alex