On 24 April, 2001 - Franz Zieher sent me these 0.4K bytes:

> 
> After compiling gimp succesfully on an SGI box (IRIX 6.5) I get the
> following startup error
> after the configuration screens.
> 
> GLib-ERROR **: could not allocate -1580979376 bytes
> aborting...
> gimp terminated: Abort

Sorry for being a bit slow, but I believe you've run into a compiler bug
in MIPSpro cc... It doesn't clear structs correctly according to the C
specification when there are insufficient initializers for a struct. I
ran into this bug with MIPSpro 7.2.1.3m and it works with
7.3.1.something (don't remember exactly and I don't have access to that
machine now).

Apply this patch to your glib:

--- site/gstrfuncs.c    Tue Feb 27 07:00:22 2001
+++ irix65/gstrfuncs.c  Fri Apr 13 21:58:32 2001
@@ -849,7 +849,7 @@
         len += 1;
       else /* (c == '%') */
         {
-          PrintfArgSpec spec = { 0, };
+          PrintfArgSpec spec = { 0,0,0,0,0,0,0,0,0,0,0,0,0 };
           gboolean seen_l = FALSE, conv_done = FALSE;
           guint conv_len = 0;
           const gchar *spec_start = format;

/Tomas
-- 
Tomas ÷gren, [EMAIL PROTECTED], http://www.ing.umu.se/~stric/
|- Student at Computing Science, University of UmeŚ
`- Sysadmin at {cs,ing,acc}.umu.se
_______________________________________________
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

Reply via email to