Bug 7873

Summary: AE_STACK_OVERFLOW exception on nested calls to methods
Product: ACPI Reporter: Valery A Podrezov (Valery.A.Podrezov)
Component: ACPICA-CoreAssignee: Robert Moore (Robert.Moore)
Status: CLOSED CODE_FIX    
Severity: normal CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6 Subsystem:
Regression: --- Bisected commit-id:
Attachments: ASL code to reproduce the bug
Bug-fixing patch

Description Valery A Podrezov 2007-01-23 11:28:18 UTC
Most recent kernel where this bug did *NOT* occur:
Distribution:
Hardware Environment:
Software Environment:
Problem Description:

The Linux kernel ACPI interpreter fails the following
AML test when it is compiled into a simulator.  So
if an OEM BIOS includes this code, Linux would fail.

Steps to reproduce:

Run interpreter with the demo code attached.

INTERNAL BUG NUMBER:
   262

Result stack overflow is unexpectedly emitted on interpretation of the AML
code containing a method call expression with deeply nested calls (see demo).
Comment 1 Valery A Podrezov 2007-01-23 11:53:01 UTC
Created attachment 10160 [details]
ASL code to reproduce the bug
Comment 2 Valery A Podrezov 2007-01-23 11:53:58 UTC
Created attachment 10161 [details]
Bug-fixing patch
Comment 3 Lin Ming 2007-08-08 22:37:48 UTC
this patch works well in version 20061109 of ACPICA
and, the bug has gone in version 20070508 of ACPICA

thanks:)
Comment 4 Len Brown 2008-06-13 20:21:59 UTC
ACPICA 20070508 shipped in Linux-2.6.26-rc1

closed.