Subject: bin/5210: make(1) SIGSEVs on .SHELL target
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hf@melog.de>
List: netbsd-bugs
Date: 03/26/1998 15:25:18
>Number:         5210
>Category:       bin
>Synopsis:       make(1) SIGSEVs on .SHELL target
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 26 06:35:01 1998
>Last-Modified:
>Originator:     Hauke Fath
>Organization:
Melog Software GmbH -- Melog does not speak for me and vice versa.
>Release:        stock 1.3
>Environment:
	
System: NetBSD scree.Melog.DE 1.3 NetBSD 1.3 (BALTRUM) #8: Fri Jan 16 15:50:34 CET 1998 hf@scree.Melog.DE:/usr/src/NetBSD-1.3/sys/arch/i386/compile/BALTRUM i386


>Description:
	
Adding 

.SHELL: path=/bin/sh \
	quiet="set -" \
	echo="set -x" \
	filter="+ set - " \
	echoFlag="x" \
	errFlag="e" \
	hasErrCtl="yes" \
	check="set -e" \
	ignore="set +e"

(from the PMake-Tutorial PSD:12-30) to a Makefile produces a 
SIGSEV within make(1).


>How-To-Repeat:
	

[hf@scree] ~/<2>melog/objects > make cleandir
rm -f .depend /home/hf/work/de/melog/objects/tags
*** Signal 11

Stop.
[hf@scree] ~/<2>melog/objects > gdb /usr/bin/make make.core 
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i386-netbsd), Copyright 1996 Free Software Foundation, Inc...
(no debugging symbols found)...
Core was generated by `make'.
Program terminated with signal 11, Segmentation fault.
#0  0x2e71 in ?? ()
(gdb) bt
#0  0x2e71 in ?? ()
#1  0x13b9d in ?? ()
#2  0x13b29 in ?? ()
#3  0x3164 in ?? ()
#4  0x13b9d in ?? ()
#5  0x13b29 in ?? ()
#6  0x3038 in ?? ()
#7  0x3470 in ?? ()
#8  0xa433 in ?? ()
#9  0x10da in ?? ()
(gdb) 



>Fix:

None.
>Audit-Trail:
>Unformatted: