Could people experiencing crashes or lockups while loading diagrams with
shapes try to apply the patch attached here ?
(this is against CVS, it may work against 0.83)
-- Cyrille
PS: people to whom I already sent that privately don't need to apply that.
------------------------------------------------------------------------------
Grumpf.
diff -urN -x Makefile.in -x dia.pot -x configure -x CVS -x .cvsignore -x intl -x
ABOUT-NLS -x COPYING -x aclocal.m4 -x config.guess -x config.h.in -x config.sub -x
install-sh -x ltconfig -x ltmain.sh -x missing -x mkinstalldirs -x Makefile.in.in -x
cat-id-tbl.c -x cat-id-tbl.c.orig -x dia.pot.orig -x *.gmo -x Makefile -x .deps -x
.libs dia-cvs/dia/ChangeLog dia-mine/dia/ChangeLog
--- dia-cvs/dia/ChangeLog Thu Dec 30 11:08:50 1999
+++ dia-mine/dia/ChangeLog Tue Jan 4 10:59:05 2000
@@ -1,3 +1,12 @@
+2000-01-04 Cyrille Chepelov <[EMAIL PROTECTED]>
+ * app/Makefile.am (app/run_dia.sh actually):
+ Added $DEBUGGER in front of dia's invocation, so that
+ you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
+
+ * objects/custom/custom_object.c: custom_object doesn't fully
+ initialise all its fields ; in particular, [xy]offs. This sometimes
+ spreads subtle corruption upon reload.
+
1999-12-18 Yuri Syrota <[EMAIL PROTECTED]>
* configure.in: Added "uk" to ALL_LINGUAS.
diff -urN -x Makefile.in -x dia.pot -x configure -x CVS -x .cvsignore -x intl -x
ABOUT-NLS -x COPYING -x aclocal.m4 -x config.guess -x config.h.in -x config.sub -x
install-sh -x ltconfig -x ltmain.sh -x missing -x mkinstalldirs -x Makefile.in.in -x
cat-id-tbl.c -x cat-id-tbl.c.orig -x dia.pot.orig -x *.gmo -x Makefile -x .deps -x
.libs dia-cvs/dia/app/Makefile.am dia-mine/dia/app/Makefile.am
--- dia-cvs/dia/app/Makefile.am Thu Dec 30 11:08:56 1999
+++ dia-mine/dia/app/Makefile.am Tue Jan 4 11:00:35 2000
@@ -145,6 +145,6 @@
echo DIA_INT_SHAPE_PATH=`pwd`/../objects >> run_dia.sh
echo DIA_SHEET_PATH=`pwd`/../sheets >> run_dia.sh
echo >> run_dia.sh
- echo "`pwd`/dia \$$*" >> run_dia.sh
+ echo "\$$DEBUGGER `pwd`/dia \$$*" >> run_dia.sh
chmod a+x run_dia.sh
diff -urN -x Makefile.in -x dia.pot -x configure -x CVS -x .cvsignore -x intl -x
ABOUT-NLS -x COPYING -x aclocal.m4 -x config.guess -x config.h.in -x config.sub -x
install-sh -x ltconfig -x ltmain.sh -x missing -x mkinstalldirs -x Makefile.in.in -x
cat-id-tbl.c -x cat-id-tbl.c.orig -x dia.pot.orig -x *.gmo -x Makefile -x .deps -x
.libs dia-cvs/dia/objects/custom/custom_object.c
dia-mine/dia/objects/custom/custom_object.c
--- dia-cvs/dia/objects/custom/custom_object.c Fri Nov 12 00:32:10 1999
+++ dia-mine/dia/objects/custom/custom_object.c Tue Jan 4 10:47:18 2000
@@ -1084,7 +1084,7 @@
init_default_values();
- custom = g_malloc(sizeof(Custom));
+ custom = g_malloc0(sizeof(Custom));
elem = &custom->element;
obj = (Object *) custom;
@@ -1155,7 +1155,7 @@
elem = &custom->element;
- newcustom = g_malloc(sizeof(Custom));
+ newcustom = g_malloc0(sizeof(Custom));
newelem = &newcustom->element;
newobj = (Object *) newcustom;
@@ -1236,7 +1236,7 @@
int i;
AttributeNode attr;
- custom = g_malloc(sizeof(Custom));
+ custom = g_malloc0(sizeof(Custom));
elem = &custom->element;
obj = (Object *) custom;