From owner-freebsd-hackers Tue Aug 28 9:16:37 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id AF5EC37B403; Tue, 28 Aug 2001 09:16:33 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id MAA01553; Tue, 28 Aug 2001 12:16:31 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f7SGG2e44698; Tue, 28 Aug 2001 12:16:02 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15243.50114.846473.519938@grasshopper.cs.duke.edu> Date: Tue, 28 Aug 2001 12:16:02 -0400 (EDT) To: Steve Ames Cc: "David O'Brien" , Jim Bryant , Charlie & , FreeBSD-hackers@FreeBSD.ORG Subject: Re: TCSH bug... In-Reply-To: <20010828092016.B21396@virtual-voodoo.com> References: <3B8AC157.5000203@yahoo.com> <020701c12f43$8e0e2310$28d90c42@eservoffice.com> <3B8AC8DB.5090603@yahoo.com> <004801c12f49$66cccb20$28d90c42@eservoffice.com> <20010827201407.A32152@virtual-voodoo.com> <3B8B05AF.9070004@yahoo.com> <20010827200243.A8113@dragon.nuxi.com> <20010828092016.B21396@virtual-voodoo.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Steve Ames writes: > > We *do* know who that is. This however is a more tcsh-specific issue, > > and raising it with the tcsh author would probably lead you to faster > > happiness. Is there some reason you wont email him about this? > > Except it isn't tcsh specific really. > > Our config.h in /usr/src/bin/csh defines SYSMALLOC. The port does not. > The port works, the system version doesn't. If you comment out SYSMALLOC > in /usr/src/bin/csh/config.h and recompile then the TCSH bug goes away. > > Now you could argue that perhaps the definition of SYSMALLOC just exposes > a bug in tcsh? OTOH, since the system version in -STABLE also defines > SYSMALLOC and still manages to work... you could also argue that this points > to some other bug in -CURRENT... lastly it could be argued that I'm barking > up completely the wrong tree. *shrug* Actually, it is a tcsh bug. Try playing with the MALLOC_OPTIONS env. variable in -stable. Specifically, set it to 'AJ' & I bet it will drop core in -stable. Eg: <12:10pm>thunder/gallatin:/tmp>uname -sr FreeBSD 4.4-RC <12:10pm>thunder/gallatin:/tmp>setenv MALLOC_OPTIONS 'AJ' <12:10pm>thunder/gallatin:/tmp>tcsh tcsh 6.10.00 (Astron) 2000-11-19 (alpha-digital-FreeBSD) options 8b,nls,dl,al,kan,sm,rh,color,dspm <12:10pm>thunder/gallatin:/tmp>set rmstar <12:10pm>thunder/gallatin:/tmp>rm * Do you really want to delete all files? [n/y] n Segmentation fault (core dumped) Note that -current has malloc options 'AJ' on by default to catch just this kind of bug. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message