Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Oct 1997 09:56:33 +0400 (MSD)
From:      bag@sinbin.demos.su (Alex G. Bulushev)
To:        langfod@dihelix.com (David Langford)
Cc:        current@freebsd.org
Subject:   Re: problem with free() and junk pointers?
Message-ID:  <199710020556.JAA12728@sinbin.demos.su>
In-Reply-To: <199710020044.OAA11591@caliban.dihelix.com> from "David Langford" at "Oct 1, 97 02:44:42 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 
> 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: <SEAGATE ST19171W 0023> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710020556.JAA12728>