-
Notifications
You must be signed in to change notification settings - Fork 63
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
shm_id "No space left on device" #65
Comments
This is most likely due to the fact that you are using a too-recent release of AFL++'s compiler and/or the size of your bitmap in the configuration doesn't match the size of the bitmap produced by the target. PLease first make sure to set the bitmap size to the right value in the config, and if that doesn't work, try using an older compiler. @vanhauser-thc might know which compiler/version works :) |
Compile with AFL_LLVM_INSTRUMENT=CLASSIC and run with AFL_OLD_FORKSERVER=1 |
Thank you for your replies. @vanhauser-thc , how to run with
|
You just set the environment variable |
Still getting the same error:
|
when did you update afl++ from github, recompiled and installed? |
Just now. I cloned, recompiled and reinstalled. But the error persists. Can you please reproduce at your end? |
@vanhauser-thc can you confirm the bug please? Does the issue exist in older versions of afl++. |
Just tested commit |
weird you are right it does not work with the current state. |
Any updates on this bug? Nautilus still crashing. |
use afl-gcc and it works. Cornelius is looking into an issue why afl-clang-fast is not working as it should |
@eqv any progress on this? I am still getting this crash even when using older AFL++ commits! |
The crash is caused by the large number of shared memory segments (shmmni) being allocated, quickly exceeding the default limit of 4096 segments. You can check current number of segments using:
|
When running the instrumented target program, I get the following warning:
So, I was able to solve the issue by setting the AFL environment variable
Nautilus configuration variable |
I have tried running Nautilus on both Mac OS and Ubuntun, but its crashing.
Running
target/release/fuzzer -o findings -- ./test '@@'
[2024-07-01] 12:44:07 Starting Fuzzing...
thread 'fuzzer_1' panicked at forksrv/src/lib.rs:192:17:
shm_id "No space left on device"
note: run with
RUST_BACKTRACE=1
environment variable to display a backtraceSegmentation fault
Are there any memory requirements?
The text was updated successfully, but these errors were encountered: