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

Segmentation fault #124

Open
chrisburr opened this issue Jun 26, 2024 · 0 comments
Open

Segmentation fault #124

chrisburr opened this issue Jun 26, 2024 · 0 comments

Comments

@chrisburr
Copy link

I've seen a segfault in a larger application which I've managed to simplify down to this reproducer:

$ LD_PRELOAD=$PWD/target/release/libbytehound.so ldd /usr/bin/bash
/usr/bin/ldd: line 98: 444613 Segmentation fault      (core dumped) ( output=$(eval $add_env '"$@"' 2>&1; rc=$?; printf 'x'; exit $rc); rc=$?; printf '%s' "${output%x}"; return $rc )
fish: Job 1, 'LD_PRELOAD=$PWD/target/release/…' terminated by signal SIGSEGV (Address boundary error)

The use of /usr/bin/bash doesn't matter, passing anything here has a similar effect.

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