Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh-3.0-pre2 cores on irix 5.3 (?)



On Jul 6,  1:52pm, Andreas Koenig wrote:
} Subject: zsh-3.0-pre2 cores on irix 5.3 (?)
}
} As I had to rebuild my whole irix 5.3 from both CDROM and backup
} tapes, this may be a due to a misconfiguration of my
} machine. Nonetheless, recompiling beta19 works, pre2 results in a
} core.
} 
} exec.c: In function `execcmd':
} exec.c:1318: warning: format argument is not a pointer (arg 3)

That (and the core dump) are almost certainly from the DPUTS() typo
that someone (Wayne?) already reported:

--- zsh-3.0-pre2/Src/zsh.h	Fri Jul  5 10:57:49 1996
+++ zsh-3.0-pre2-fix/Src/zsh.h	Fri Jul  5 11:25:44 1996
@@ -1307,7 +1307,7 @@
 
 #ifdef DEBUG
 # define DPUTS(X,Y) if (!(X)) {;} else \
-			fprintf(stderr, "%s\n", X), fflush(stderr)
+			fprintf(stderr, "%s\n", Y), fflush(stderr)
 # define MUSTUSEHEAP(X) if (useheap) {;} else \
 		fprintf(stderr, "BUG: permanent allocation in %s\n", X), \
 		fflush(stderr)


} #3  0x45db7c in loop (toplevel=0) at init.c:131

That line is this call:

	DPUTS(alloc_stackp, "BUG: alloc_stackp != 0 in loop()");

So apparently our allocation problems aren't all over with, yet.

-- 
Bart Schaefer                             Brass Lantern Enterprises
http://www.well.com/user/barts            http://www.nbn.com/people/lantern

New male in /home/schaefer:
>N  2 Justin William Schaefer  Sat May 11 03:43  53/4040  "Happy Birthday"




Messages sorted by: Reverse Date, Date, Thread, Author