Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh-3.0-pre2 cores on irix 5.3 (?)
- X-seq: zsh-workers 1536
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: andreas.koenig@xxxxxxxxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: zsh-3.0-pre2 cores on irix 5.3 (?)
- Date: Sat, 6 Jul 1996 09:24:16 -0700
- In-reply-to: Andreas Koenig <k@xxxxxxxxxxxxxxxxx>        "zsh-3.0-pre2 cores on irix 5.3 (?)" (Jul  6,  1:52pm)
- References: <199607061152.NAA20190@xxxxxxxxxxxxxxxxx>
- Reply-to: schaefer@xxxxxxx
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