I was getting a SIGSEGV when I had the font path setup incorrectly. I
tracked it down and here's a patch to CVS (8/28). g_renew was returning a
different memory space from the one that was passed in.

Index: src/af/ev/unix/gnome/ev_UnixGnomeMenu.cpp
===================================================================
RCS file: /cvsroot/abi/src/af/ev/unix/gnome/ev_UnixGnomeMenu.cpp,v
retrieving revision 1.7
diff -u -r1.7 ev_UnixGnomeMenu.cpp
--- src/af/ev/unix/gnome/ev_UnixGnomeMenu.cpp   2000/07/19 01:57:56     1.7
+++ src/af/ev/unix/gnome/ev_UnixGnomeMenu.cpp   2000/08/28 22:34:07
@@ -449,7 +449,7 @@
                pos++;
        }

-       g_renew(GnomeUIInfo, retval, i + 1);
+       retval = g_renew(GnomeUIInfo, retval, i + 1);

        return (retval);
 }




Reply via email to