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

Segfault in test remote::swap::tests::hook_macro #2

Open
riking opened this issue Feb 28, 2024 · 0 comments
Open

Segfault in test remote::swap::tests::hook_macro #2

riking opened this issue Feb 28, 2024 · 0 comments

Comments

@riking
Copy link

riking commented Feb 28, 2024

https://asan.saethlin.dev/ub?crate=ezhook&version=0.2.2

test remote::swap::tests::hook_macro ... AddressSanitizer:DEADLYSIGNAL
=================================================================
==20501==ERROR: AddressSanitizer: SEGV on unknown address 0x556ba53c7aa0 (pc 0x556ba52dc022 bp 0x7f01928f45b0 sp 0x7f01928f44c0 T6)
==20501==The signal is caused by a READ memory access.
    #0 0x556ba52dc022  (<unknown module>)
    #1 0x556ba4121413 in ezhook::remote::swap::tests::hook_macro::h1876395e462e4988 /build/src/remote/swap.rs:167:24
    #2 0x556ba4120742 in ezhook::remote::swap::tests::hook_macro::_$u7b$$u7b$closure$u7d$$u7d$::h1b14f3343914486c /build/src/remote/swap.rs:152:20
    #3 0x556ba437211d in core::ops::function::FnOnce::call_once::h2aff8d69bbb7010f /root/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
    #4 0x556ba436a7ef in test::types::RunnableTest::run::h3c21f281234fcdc0 /root/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test/src/types.rs:146:40
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (<unknown module>) 
==20501==ABORTING
error: test failed, to rerun pass `--lib`
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

No branches or pull requests

1 participant