Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix corruption when running cargo test on ARM64 #693

Closed
wants to merge 1 commit into from

Commits on Oct 12, 2024

  1. Fix corruption when running cargo test on ARM64

    Run `cargo test` on ARM64 will encounter following corruption, which is
    caused by unaligned memory access. So enable the test for x86_64 only.
    
    thread 'coredump::test::test_coredump' panicked at src/coredump.rs:94:30:
    misaligned pointer dereference: address must be a multiple of 0x8 but is 0xffffa6ba0334
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    thread caused non-unwinding panic. aborting.
    error: test failed, to rerun pass `--lib`
    
    Caused by:
      process didn't exit successfully: `/dragonball/py-spy.git/target/debug/deps/py_spy-1a1c8047c3d9ee13` (signal: 6, SIGABRT: process abort signal)
    
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    jiangliu committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    6c0963b View commit details
    Browse the repository at this point in the history