From owner-freebsd-current Sun Feb 9 00:59:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA07828 for current-outgoing; Sun, 9 Feb 1997 00:59:06 -0800 (PST) Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id AAA07822 for ; Sun, 9 Feb 1997 00:59:02 -0800 (PST) Received: from schizo.dk.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0vtV5h-0003viC; Sun, 9 Feb 97 00:58 PST Received: from critter.dk.tfs.com (critter-home [193.162.32.19]) by schizo.dk.tfs.com (8.8.2/8.7.3) with ESMTP id JAA12316; Sun, 9 Feb 1997 09:58:26 +0100 (MET) Received: from critter.dk.tfs.com (localhost [127.0.0.1]) by critter.dk.tfs.com (8.8.2/8.8.2) with ESMTP id KAA09479; Sun, 9 Feb 1997 10:00:29 +0100 (MET) To: Andrew Herdman cc: current@freebsd.org Subject: Re: Make world of Current dies with weird errors. In-reply-to: Your message of "Sat, 08 Feb 1997 17:53:35 EST." Date: Sun, 09 Feb 1997 10:00:29 +0100 Message-ID: <9477.855478829@critter.dk.tfs.com> From: Poul-Henning Kamp Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hey Cool! Now for an encore, try to make "make" with -static so we don't have to fight shared libs in gdb. I would expect 807d432() to be free(3) but that is merely a guess... Poul-Henning >Well I had some courage. I can reliably reproduce the bug, and have with >a make re-compiled with -g, and the malloc trick i now have a nice core >file. As for using gdb for debugging... err well I don't now much about >it... i've seen the bt command used extensively and this is what i got: > >Core was generated by `make'. >Program terminated with signal 6, Abort trap. >Cannot access memory at address 0x654f0. >#0 0x807de11 in ?? () >(gdb) bt >#0 0x807de11 in ?? () >#1 0x807d6e3 in ?? () >#2 0x807c232 in ?? () >#3 0x807c270 in ?? () >#4 0x807d24b in ?? () >#5 0x807d432 in ?? () >#6 0x12731 in Lst_Destroy (l=0x588c0, freeProc=0) > at /usr/src/usr.bin/make/lst.lib/lstDestroy.c:99 >#7 0xfb2b in TargFreeGN (gnp=0x55d00) at targ.c:219 >#8 0x1270b in Lst_Destroy (l=0x182e0, freeProc=0xfae0 ) > at /usr/src/usr.bin/make/lst.lib/lstDestroy.c:93 >#9 0xf9d7 in Targ_End () at targ.c:139 >#10 0xa000 in main (argc=3, argv=0xefbfd798) at main.c:804 > > >I have the core and the program that created, and if you want I can leave >them somewhere for someone who knows what they are doing to take a peek at >them. I will help where I can of course, but this one is bigger than I >am. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@tfs.com TRW Financial Systems, Inc. Power and ignorance is a disgusting cocktail.