From owner-acpi-jp@jp.freebsd.org  Thu Dec 14 20:08:48 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id UAA67003;
	Thu, 14 Dec 2000 20:08:48 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from shidahara1.planet.sci.kobe-u.ac.jp (shidahara1.planet.sci.kobe-u.ac.jp [133.30.50.200])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id UAA66988;
	Thu, 14 Dec 2000 20:08:43 +0900 (JST)
	(envelope-from takawata@shidahara1.planet.sci.kobe-u.ac.jp)
Received: from shidahara1.planet.sci.kobe-u.ac.jp (localhost [127.0.0.1])
	by shidahara1.planet.sci.kobe-u.ac.jp (8.9.3/8.9.3) with ESMTP id UAA16894;
	Thu, 14 Dec 2000 20:08:46 +0900 (JST)
	(envelope-from takawata@shidahara1.planet.sci.kobe-u.ac.jp)
Message-Id: <200012141108.UAA16894@shidahara1.planet.sci.kobe-u.ac.jp>
To: iwasaki@jp.freebsd.org, acpi-jp@jp.freebsd.org
In-reply-to: Your message of "Thu, 14 Dec 2000 20:00:45 JST."
             <20001214200045D.iwasaki@jp.FreeBSD.org>
Date: Thu, 14 Dec 2000 20:08:46 +0900
From: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: acpi-jp 963
Subject: [acpi-jp 963] Re: patch against AcpiDsInitObjectFromOp()
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: takawata@shidahara1.planet.sci.kobe-u.ac.jp

In message <20001214200045D.iwasaki@jp.FreeBSD.org>, Mitsuru IWASAKI $B$5$s$$$o$/(B:
>Hi, I'm trying to make ACPICA debugger to work in userland, and found
>a problem on memory allocation for String Object in Dispatcher subsystem.
>
>When I terminate the debugger, I always get following core dump.
>
>ACPI Subsystem version [Dec 14 2000]
>Parsing Methods:.................................................................
>.................................................................................
>.......................
>169 Control Methods found and parsed (499 nodes total)
>ACPI Namespace successfully loaded at root 0x808eac4
>- q
>cmdelete-0300: *** Error: _CmFree: Entry not found in list
> cmalloc-0441: _CmFree: Entry 0x28146cd9 was not found in allocation list
>acpicadb in free(): error: junk pointer, too high to make sense.
>Abort(core dumped)

This is not ACPICA problem but acpicadb problem I think.
ACPICA assumes DSDT header and body is continuous.

$BEOJUB:5*(B
$B?@8MBg3XBg3X1!<+A32J3X8&5f2J(BD3$B>pJs%a%G%#%"2J3X@l96(B
<a href="http://www.planet.sci.kobe-u.ac.jp/~takawata/key.html">
Public Key</a>
Key fingerprint =  2C 51 E2 78 2C E1 C5 2D  0F F1 20 A3 11 3A 62 2A 

