From owner-freebsd-hackers Thu Oct 8 10:54:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA12947 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 10:54:48 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA12928 for ; Thu, 8 Oct 1998 10:54:43 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id KAA14780; Thu, 8 Oct 1998 10:54:37 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma014778; Thu Oct 8 10:54:19 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id KAA02084; Thu, 8 Oct 1998 10:54:19 -0700 (PDT) From: Archie Cobbs Message-Id: <199810081754.KAA02084@bubba.whistle.com> Subject: Re: mail in free(): warning: junk pointer, too high to make sense. In-Reply-To: <361CF008.DEDF45BD@dal.net> from Studded at "Oct 8, 98 10:02:00 am" To: Studded@dal.net (Studded) Date: Thu, 8 Oct 1998 10:54:19 -0700 (PDT) Cc: mike@smith.net.au, FreeBSD-Hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Studded writes: > > Sorry, I meant "replace all occurences of 'msgvec' in lex.c with > > 'msgfoo', then recompile". You might want to make it static too, ie > > change line 158 to 'static int *msgvec;'. > > You know, this is what I get for doing stuff like this late at night. I > sed'ed msgvec to msgfoo, checked it to make sure it worked properly, > recompiled, and retested. What I didn't do was 'mv lex.sed lex.c' :) > Anyway, now that I've actually done that, it works just fine. No > warnings, and no crash in gdb even with AJ -> /etc/malloc.conf. > > This code is the same in both branches, so now that we know (?) what > the problem is, if it's changed it should probably be changed in both > branches. Well, it looks like you've solved the symptom rather than the problem. Do I understand that this happens when you open a mailbox with specific contents? If so, can you create the smallest mailbox that triggers the bug and (uuencode and) mail it to me? Thanks, -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message