Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 1997 13:48:14 +0200 (MET DST)
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/4692: make core dump / SUFFIXES
Message-ID:  <199710051148.NAA01131@panke.panke.de>
Resent-Message-ID: <199710051200.FAA14849@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4692
>Category:       bin
>Synopsis:       make core dump / SUFFIXES
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct  5 05:00:04 PDT 1997
>Last-Modified:
>Originator:     Wolfram Schneider
>Organization:
>Release:        FreeBSD 2.2-RELEASE i386
>Environment:


$ cd src/gnu/usr.bin/dc/doc
$ cat <<EOF> bsd.info.mk
.SUFFIXES: .info .texi .texinfo

.texinfo.info:
.texi.info:
	date

EOF

$ make -I .
Segmentation fault (core dumped)

wosch@campa <13:33:35> [/usr/tmp/src/gnu/usr.bin/dc/doc] 509
bash$ gdb -core make.core /wd0/usr/tmp/make/make
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-unknown-freebsd), 
Copyright 1996 Free Software Foundation, Inc...
Core was generated by `make'.
Program terminated with signal 11, Segmentation fault.
#0  0x1805f in Lst_Member (l=0xd0d0d0d0, d=0x1f780)
    at /wd0/usr2/tmp/make/lst.lib/lstMember.c:58
58          lNode = list->firstPtr;
(gdb) where
#0  0x1805f in Lst_Member (l=0xd0d0d0d0, d=0x1f780)
    at /wd0/usr2/tmp/make/lst.lib/lstMember.c:58
#1  0x11791 in SuffUnRef (lp=0xd0d0d0d0, sp=0x1f780) at suff.c:337
#2  0x11864 in SuffRemove (l=0xd0d0d0d0, s=0x1f780) at suff.c:395
#3  0x11db4 in Suff_EndTransform (gnp=0x1ee80, dummy=0x0) at suff.c:694
#4  0x17e3c in Lst_ForEachFrom (l=0x1d040, ln=0x2dc40, 
    proc=0x11d0c <Suff_EndTransform>, d=0x0)
    at /wd0/usr2/tmp/make/lst.lib/lstForEachFrom.c:93
#5  0x17df5 in Lst_ForEach (l=0x1d040, proc=0x11d0c <Suff_EndTransform>, d=0x0)
    at /wd0/usr2/tmp/make/lst.lib/lstForEach.c:72
#6  0x109be in ParseFinishLine () at parse.c:2338
#7  0x10cd5 in Parse_File (name=0xc1dc "àß\001", stream=0x809d0e0)
    at parse.c:2492
#8  0xceee in ReadMakefile (p=0xc1dc, q=0x0) at main.c:860
#9  0xc9b5 in main (argc=3, argv=0xefbfd800) at main.c:683
(gdb) 
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710051148.NAA01131>