Subject: toolchain/24933: make -V dumps core
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <recht@netbsd.org>
List: netbsd-bugs
Date: 03/27/2004 00:48:43
>Number:         24933
>Category:       toolchain
>Synopsis:       make -V without a varname dumps core
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 26 23:49:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Marc Recht
>Release:        NetBSD 1.6ZL
>Organization:
	
>Environment:
	
	
System: NetBSD leeloo.intern.geht.de 1.6ZL NetBSD 1.6ZL (LEELOO) #0: Fri Mar 26 15:27:59 CET 2004 root@leeloo.intern.geht.de:/usr/obj/sys/arch/i386/compile/LEELOO i386
Architecture: i386
Machine: i386
>Description:
If no varname is given to make -V it dumps the core. make -V var (eg. LDFLAGS)
works fine.

(gdb) run -V
Starting program: /usr/bin/make -V
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x0805bb4c in Var_Append ()
(gdb) bt
#0  0x0805bb4c in Var_Append ()
#1  0x08052b62 in MainParseArgs ()
#2  0x080536a2 in main ()
#3  0x08049902 in ___start ()

(I could provide a trace with symbols if it helps..)
	
>How-To-Repeat:
make -V
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: