Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2010 14:15:26 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: MacBookPro 5,1
Message-ID:  <4CB4434E.7020006@icyb.net.ua>
In-Reply-To: <201010121209.06397.hselasky@c2i.net>
References:  <201010121209.06397.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
on 12/10/2010 13:09 Hans Petter Selasky said the following:
> Hi,
> 
> My MacBookPro 5,1 does not boot using -current because memory inside the ACPI 
> kernel module is used after free.
> 
> The following patch temporily mitigates the problem:
> 
> /usr/src/sys/dev/acpica/Osd/OsdMemory.c
> 
> void
> AcpiOsFree(void *Memory)
> {
> + if (cold == 0)
>     free(Memory, M_ACPICA);
> }
> 
> Is there any way to debug this from user-land?

I think that the best way is to get a backtrace at least or better a crashdump.

-- 
Andriy Gapon



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