Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 2009 18:09:53 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Arnar Mar Sig <antab@valka.is>
Cc:        =?KOI8-R?B?4c7E0sXKIOfSz9vF1w==?= <greenx@yartv.ru>, freebsd-current@freebsd.org
Subject:   Re: panic malloc_init: bad malloc type magic
Message-ID:  <alpine.BSF.2.00.0904231808070.54334@fledge.watson.org>
In-Reply-To: <91A2A3D2-C4F6-46EF-83A9-AA8CF58F54BF@valka.is>
References:  <49F072FB.1090404@yartv.ru> <b649e5e0904230747h28c5cbe7i8943886a88ba433a@mail.gmail.com> <91A2A3D2-C4F6-46EF-83A9-AA8CF58F54BF@valka.is>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--621616949-899222135-1240506593=:54334
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8BIT

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@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
--621616949-899222135-1240506593=:54334--



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