From owner-freebsd-hackers Thu Oct 8 11:09:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA15515 for freebsd-hackers-outgoing; Thu, 8 Oct 1998 11:09:06 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA15510 for ; Thu, 8 Oct 1998 11:09:04 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id LAA23634; Thu, 8 Oct 1998 11:08:51 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <361CFFB1.8D05F69B@dal.net> Date: Thu, 08 Oct 1998 11:08:49 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.5b2 [en] (X11; I; FreeBSD 2.2.7-STABLE-0929 i386) X-Accept-Language: en MIME-Version: 1.0 To: Archie Cobbs CC: mike@smith.net.au, FreeBSD-Hackers@FreeBSD.ORG Subject: Re: mail in free(): warning: junk pointer, too high to make sense. References: <199810081754.KAA02084@bubba.whistle.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Archie Cobbs wrote: > > 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. No argument there at all. > 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? No contents are required. It happens every time I type 'mail' by itself to start the interface, whether there is mail waiting or not. It *doesn't* happen when I use 'mail to-someone@an.address' however, so I think mike is right inre it's probably related to opening the mail file. I'll be happy to continue working on this if we're interested in finding the real problem. I'm just happy to not have those error messages any more. :) Doug -- *** Chief Operations Officer, DALnet IRC network *** Go PADRES! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message