Date: Tue, 28 Aug 2001 12:16:02 -0400 (EDT) From: Andrew Gallatin <gallatin@cs.duke.edu> To: Steve Ames <steve@virtual-voodoo.com> Cc: "David O'Brien" <obrien@FreeBSD.ORG>, Jim Bryant <kc5vdj@yahoo.com>, Charlie & <root@virtual-voodoo.com>, FreeBSD-hackers@FreeBSD.ORG Subject: Re: TCSH bug... Message-ID: <15243.50114.846473.519938@grasshopper.cs.duke.edu> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15243.50114.846473.519938>