From owner-freebsd-current Wed Oct 1 22:57:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA05666 for current-outgoing; Wed, 1 Oct 1997 22:57:54 -0700 (PDT) Received: from sinbin.demos.su (sinbin.demos.su [194.87.0.31]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA05659 for ; Wed, 1 Oct 1997 22:57:49 -0700 (PDT) Received: by sinbin.demos.su id JAA12728; (8.6.12/D) Thu, 2 Oct 1997 09:56:34 +0400 From: bag@sinbin.demos.su (Alex G. Bulushev) Message-Id: <199710020556.JAA12728@sinbin.demos.su> Subject: Re: problem with free() and junk pointers? In-Reply-To: <199710020044.OAA11591@caliban.dihelix.com> from "David Langford" at "Oct 1, 97 02:44:42 pm" X-ELM-OSV: (Our standard violations) no-mime=1; no-hdr-encoding=1 To: langfod@dihelix.com (David Langford) Date: Thu, 2 Oct 1997 09:56:33 +0400 (MSD) Cc: current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] Content-Type: text Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > I have a three week old current box that I am trying to > get more current but I keep getting the following: > > make in free(): warning: modified (chunk-) pointer. > make in free(): warning: junk pointer, too low to make sense. > Segmentation fault - core dumped > > > This seems to be a random occurance and makes getting through a make world > a wee bit of a pain. > > Do I have a bad library or could this be a sign of bad memory? > I dont get the normal "cc died due to signal such and such" so I was > disconting the memory bit but.... > this is feature :) for fsck -p via reboot this err occure for big ( >=8 GB ) disk with big number of inodes ... i see this err in Oct 1996 and in Oct 1997 :) for FreeBSD 3.0-970919-SNAP dual PPro 233/512, Intel PR440FX, 256MB RAM sd1: type 0 fixed SCSI 2 sd1: Direct-Access 8683MB (17783112 512 byte sectors) with ~7000000 inodes, fsck report: cannot alloc 7900289 bytes for typemap. fsck in free(): warning: page is already free. fsck in free(): warning: page is already free. fsck in free(): warning: chunk is already free. fsck in free(): warning: page is already free. fsck in free(): warning: chunk is already free. fsck in free(): warning: page is already free. fsck in free(): warning: chunk is already free. fsck in free(): warning: page is already free. fsck in free(): warning: chunk is already free. fsck in free(): warning: page is already free. fsck in free(): warning: chunk is already free. /dev/rsd1e: CAN'T CHECK FILE SYSTEM. /dev/rsd1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. and now for FreeBSD 3.0-970926-SNAP fsck report: cannot alloc 7900289 bytes for typemap. fsck in free(): warning: page is already free. fsck in free(): warning: page is already free. fsck in free(): warning: chunk is already free. fsck in free(): warning: page is already free. fsck in free(): warning: chunk is already free. fsck in free(): warning: junk pointer too low to make sense. fsck: Panic: lost 2 buffers Automatic file system check failed ... help! Alex.