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

CRASH SIGILL signal error with running DynamoRIO client on Fedora 40 and Ubuntu 24.04 versions #7008

Closed
Mr-Grag-Universe opened this issue Sep 27, 2024 · 2 comments

Comments

@Mr-Grag-Universe
Copy link

Describe the bug

Currently I develop a custom fuzzer based on LibFuzzer using DynamoRIO for coverage extantion. Before this bug used Fedora Linux system 38-39. This Summer I moved to the Kubuntu and tried to run my project there, but I faced the bug.
My client just cannot start and crashed before any commands in main function.
image

I run my program under the GDB and here is the result:
image

To Reproduce

I run command

./DynamoRIO_Linux_10/bin64/drrun -c ./bin/libclient.so -- ./bin/fuzz_app

on Fedora 40 and Kubuntu 24.04.1 where it does not works.
As well as with command

./DynamoRIO_Linux_10/bin64/drrun -c ./bin/libclient.so -- ls

Without client it works fine:

./DynamoRIO_Linux_10/bin64/drrun ./bin/fuzz_app

or

./DynamoRIO_Linux_10/bin64/drrun ls

There is no difference when I run client with debug option.

So I guess it's only DR client running problem. As I discovered some bad things happening when DR tries to handle the threads to tun client.

Expected behavior

here is a screenshot of correct fuzzer work:
image

Versions

I use the latest release of DynamoRIO from here https://dynamorio.org/page_releases.html
I work on such systems:
Fedora 40 (in container)
image
Kubuntu 24.04.1 (main system)
image

@derekbruening
Copy link
Contributor

As documented, DR sends itself a SIGILL and handles it, so there is no crash involving SIGILL: https://dynamorio.org/page_debugging.html#autotoc_md142

As for the floating-point fault, that is almost certainly due to recent glibc bad designs with hidden dependencies: #5437. Probably the latest weekly build at
/~https://github.com/DynamoRIO/dynamorio/releases fixes it; if not please update #5437.

Often it is a good idea to first ask questions on the users list.

Closing as a duplicate of #5437.

@Mr-Grag-Universe
Copy link
Author

Thanks. I've seen this issue before asked this question, but I guessed, that my problem was not related to this question closely enough. I also apologize, if this issue seems garbagelike)

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

No branches or pull requests

2 participants