Article View: gnu.utils.bug
Article #1586Make 3.47 dump core
From: Alexander Dupuy
Date: Mon, 01 May 1989 20:59
Date: Mon, 01 May 1989 20:59
33 lines
1506 bytes
1506 bytes
From: yhe@zippy.eecs.umich.edu (Youda He)
Newsgroups: gnu.utils.bug
Organization: University of Michigan EECS Dept., Ann Arbor, MI
make 3.47 was compiled by both cc and gcc, the test is then made by
delete *.o, make, Machine: sun4, Os: sun os4:
GNU Make version 3.47, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 1989 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
gcc -g -O -c arscan.c -o arscan.o
make: *** Waiting for children....
segmentation fault (core dumped)
Hope this will help.
Youda He
I had the same experience, with the same configuration. The problem is that in
commands.c, in the function child_handler:
/* If this child had the good stdin, say it is now free. */
if (c->good_stdin)
good_stdin_used = 0;
is used before c is initialized. I guess this works on a Vax, where c might be
NULL, and also dereferenceable.
@alex
Technical Details
Message-ID:
<8905012059.AA26241@cs.columbia.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!CS.COLUMBIA.EDU!dupuyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!CS.COLUMBIA.EDU!dupuy From: dupuy@CS.COLUMBIA.EDU (Alexander Dupuy) Newsgroups: gnu.utils.bug Subject: Make 3.47 dump core Message-ID: <8905012059.AA26241@cs.columbia.edu> Date: 1 May 89 20:59:36 GMT Sender: daemon@tut.cis.ohio-state.edu Reply-To: dupuy@cs.columbia.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 33