From owner-freebsd-current Sun Feb 9 07:21:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA20040 for current-outgoing; Sun, 9 Feb 1997 07:21:04 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id HAA20035 for ; Sun, 9 Feb 1997 07:21:01 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id QAA22736; Sun, 9 Feb 1997 16:20:50 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.6.9) id QAA13687; Sun, 9 Feb 1997 16:08:07 +0100 (MET) Message-ID: Date: Sun, 9 Feb 1997 16:08:07 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: andrew@why.whine.com (Andrew Herdman) Cc: current@freebsd.org Subject: Re: Make world of Current dies with weird errors. References: X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: ; from Andrew Herdman on Feb 9, 1997 02:22:03 -0500 Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Andrew Herdman wrote: > (gdb) up 6 > #6 0x12731 in Lst_Destroy (l=0x588c0, freeProc=0) > at /usr/src/usr.bin/make/lst.lib/lstDestroy.c:99 > 99 free ((Address)ln); > (gdb) Either some list is being destroyed twice, or there are duplicate elements in a list. That's odd. It's even odder that it only happens for you. > I look at this and my head hurts. I'm afraid pascal was my language of > choice during my programming times.... :( Nah, c'mon. Sure, the head hurts when looking there, but Pascal doesn't quite ship with a better list handling either. Infact, programming lists in Pascal yields some very similar code to the quoted example (with the exception that you can't call indirect functions in Pascal). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)