Skip to content

Test copy_object_to_self fails with varying errors #300

@martin-hughes

Description

@martin-hughes

As discussed in #299, the following ASL does not run reliably (it's from the test copy_object_to_self in uacpi_examples.rs)

DefinitionBlock("", "DSDT", 1, "RSACPI", "UACPI", 1) {
    Method (TEST) {
        CopyObject(123, TEST)
        Return (1)
    }

    // Segfault in ACPICA, prints 1 in uACPI
    Debug = TEST()

    // Unreachable in ACPICA, prints 123 in uACPI
    Debug = TEST
}

It either runs to completion, or terminates with either of the following errors:

Failed(ParseFail(IllegalOpcode(25))) // but with various numbers for the opcode
Failed(ParseFail(RunOutOfStream))

Given that the error seems non-deterministic (AFAICT) I suspect there may be some kind of memory corruption. Sadly I can't get Miri to run because of the file access operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions