Skip to content

QEMU issues #2

Closed
Closed
@japaric

Description

@japaric

Update

Trying to run the test suite on QEMU for some targets crashes QEMU

I'm not quite sure what's the exact problem for each target but some possible causes:

  • The std binaries for the target are "broken". Most likely, some C binding in libc is wrong.
  • We are using the wrong QEMU variant (qemu-ppc64le).
  • "Just" a problem with multithreading. This leads to sporadic failures.

In some cases, using QEMU's system emulation instead of user emulation might fix the problem.


Example.

Emphasis on sometimes. This is weird because (a) as of e5ab308, the test suite is deterministic and (b) I'm using RUST_TEST_THREADS=1 to "prevent" multithreading (QEMU is known to have problems handling multiple threads) but I guess this last part is impossible because detecting a panic requires at least two threads.

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