I was getting occasional crashes while creating UML-Association
objects. The crashes where happening because in association_create ()
in the file association.c, code inside of the call
association_update_data(assoc);
is doing math with assoc->text_width before it is initialized. for
some reason, it was frequestly set to NaN, which caused a sigfpe.
this patch appears to fix the problem, but i'm not familiar with the
code, so i'm not sure.
-seth
Index: objects/UML/association.c
===================================================================
RCS file: /debian/home/gnomecvs/dia/objects/UML/association.c,v
retrieving revision 1.6
diff -r1.6 association.c
474,475d473
< association_update_data(assoc);
<
485c483
<
---
>
487a486,487
>
> association_update_data(assoc);