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

Frequent and inconsistent "Unable to communicate with fork server (OOM?)" #11

Closed
reijin90 opened this issue Oct 25, 2019 · 4 comments
Closed

Comments

@reijin90
Copy link

reijin90 commented Oct 25, 2019

I'm seeing this error quite often with the Jil example:

[-] PROGRAM ABORT : Unable to communicate with fork server (OOM?)
         Location : run_target(), afl-fuzz.c:2417

I'm using AFL 2.56b, With dotnet 3.0. My csproj-file contains this:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp3.0</TargetFramework>
  </PropertyGroup>

<ItemGroup>
  <Reference Include="Jil">
    <HintPath>Jil.dll</HintPath>
  </Reference>
</ItemGroup>
<ItemGroup>
  <PackageReference Include="SharpFuzz" Version="1.6.1" />
  <PackageReference Include="Sigil" Version="5.0.0" />
</ItemGroup>
</Project>

I've checked the .cur_input file, but when I add it to the testcases for the next run, it does not lead to a crash, so I'm guessing there is an other issue. In addition, when monitoring the memory usage there does not seem to be happening out of the ordinary: the process simply dies (disappears from top)

Can you help me investigate?

@Metalnem
Copy link
Owner

Can you try running afl-fuzz with the timeout parameter? For example: -t 5000 (this will set the execution timeout to five seconds). By default, afl-fuzz automatically calculates the timeout based on the previous runs, but that doesn't play really well with SharpFuzz.

@reijin90
Copy link
Author

Thank you! that seems to have worked!

Did I miss that info in the docs? Or maybe we could add that somewhere?

@Metalnem
Copy link
Owner

You didn't miss it - I'll add it to the docs!

@Metalnem
Copy link
Owner

Fixed in 608faf9.

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

2 participants