Re: panic malloc_init: bad malloc type magic

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Thu, 23 Apr 2009 18:09:53 +0100 (BST)
On Thu, 23 Apr 2009, Arnar Mar Sig wrote:

> On Apr 23, 2009, at 4:47 PM, Marius Nünnerich wrote:
>> On Thu, Apr 23, 2009 at 15:54, Андрей Грошев <greenx_at_yartv.ru> wrote:
>>> Hello, people! Today the world has updated and now I get subj. Because of 
>>> what's going on? And how to locate the problems?
>> 
>> Could you send a backtrace of the panic?
>
> Got the same panic yesterday after updating.
>
> I was able to boot with older kernel and build new from scratch (rm -rf 
> /usr/obj/*) that worked.

I changed the size of "struct malloc_type", which is embedded in modules 
declaring new malloc types, on 19 April, r191267.  However, I also changed 
__FreeBSD_version, which should cause updated kernels to reject older modules. 
If people are experiencing the panic, they should make sure all modules are in 
sync with their kernel.  If it still occurs, it's probably a bug in the 
module's use of malloc(9), although it may be a bug in the malloc(9) 
sanity-checking I added. :-)

Robert N M Watson
Computer Laboratory
University of Cambridge
Received on Thu Apr 23 2009 - 15:09:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:46 UTC