Bug 7873 - AE_STACK_OVERFLOW exception on nested calls to methods
Summary: AE_STACK_OVERFLOW exception on nested calls to methods
Status: CLOSED CODE_FIX
Alias: None
Product: ACPI
Classification: Unclassified
Component: ACPICA-Core (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Robert Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-23 11:28 UTC by Valery A Podrezov
Modified: 2008-06-13 20:21 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
ASL code to reproduce the bug (1.18 KB, text/plain)
2007-01-23 11:53 UTC, Valery A Podrezov
Details
Bug-fixing patch (21.39 KB, patch)
2007-01-23 11:53 UTC, Valery A Podrezov
Details | Diff

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.

Note You need to log in before you can comment on or make changes to this bug.