Skip to content

Segmentation fault #124

Open
Open
@chrisburr

Description

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.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions