Skip to content

CI: Test w/ Memory Sanitizer on AArch64 Linux using cross.#681

Closed
briansmith wants to merge 2 commits into
rust-random:masterfrom
briansmith:b/msan-linux-aarch64-cross
Closed

CI: Test w/ Memory Sanitizer on AArch64 Linux using cross.#681
briansmith wants to merge 2 commits into
rust-random:masterfrom
briansmith:b/msan-linux-aarch64-cross

Conversation

@briansmith
Copy link
Copy Markdown
Contributor

No description provided.

@newpavlov
Copy link
Copy Markdown
Member

Maybe we could use the macOS runner instead of cross for this?

@briansmith
Copy link
Copy Markdown
Contributor Author

Here is the log showing how it fails under cross:
job-logs-aarch64-linux-cross.txt
specifically:


---- src/lib.rs - (line 162) stdout ----
Test executable failed (exit status: 1).

stderr:
MemorySanitizer: CHECK failed: sanitizer_allocator_primary64.h:133 "((kSpaceBeg)) == ((address_range.Init(TotalSpaceSize, PrimaryAllocatorName, kSpaceBeg)))" (0xe00000000000, 0xfffffffffffffff4) (tid=524)
    <empty stack>



---- src/lib.rs - (line 187) stdout ----
Test executable failed (exit status: 1).

stderr:
MemorySanitizer: CHECK failed: sanitizer_allocator_primary64.h:133 "((kSpaceBeg)) == ((address_range.Init(TotalSpaceSize, PrimaryAllocatorName, kSpaceBeg)))" (0xe00000000000, 0xfffffffffffffff4) (tid=538)
    <empty stack>



---- src/lib.rs - (line 36) stdout ----
Test executable failed (exit status: 1).

stderr:
MemorySanitizer: CHECK failed: sanitizer_allocator_primary64.h:133 "((kSpaceBeg)) == ((address_range.Init(TotalSpaceSize, PrimaryAllocatorName, kSpaceBeg)))" (0xe00000000000, 0xfffffffffffffff4) (tid=552)
    <empty stack>



---- src/lib.rs - fill (line 59) stdout ----
Test executable failed (exit status: 1).

stderr:
MemorySanitizer: CHECK failed: sanitizer_allocator_primary64.h:133 "((kSpaceBeg)) == ((address_range.Init(TotalSpaceSize, PrimaryAllocatorName, kSpaceBeg)))" (0xe00000000000, 0xfffffffffffffff4) (tid=566)
    <empty stack>



---- src/lib.rs - u32 (line 121) stdout ----
Test executable failed (exit status: 1).

stderr:
MemorySanitizer: CHECK failed: sanitizer_allocator_primary64.h:133 "((kSpaceBeg)) == ((address_range.Init(TotalSpaceSize, PrimaryAllocatorName, kSpaceBeg)))" (0xe00000000000, 0xfffffffffffffff4) (tid=580)
    <empty stack>



---- src/lib.rs - u64 (line 135) stdout ----
Test executable failed (exit status: 1).

stderr:
MemorySanitizer: CHECK failed: sanitizer_allocator_primary64.h:133 "((kSpaceBeg)) == ((address_range.Init(TotalSpaceSize, PrimaryAllocatorName, kSpaceBeg)))" (0xe00000000000, 0xfffffffffffffff4) (tid=594)
    <empty stack>

@briansmith
Copy link
Copy Markdown
Contributor Author

Maybe we could use the macOS runner instead of cross for this?

I'm not sure what you mean. It would be great to also test the MacOS target using MSAN but that's very different than the Linux target. In PR #680 I use the ARM partner image instead.

I submitted this PR just so I have a reference for the rust-lang/rust issue I am about to file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants