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

Echidna doesn't work #22

Open
ZeframLou opened this issue Jun 3, 2021 · 6 comments
Open

Echidna doesn't work #22

ZeframLou opened this issue Jun 3, 2021 · 6 comments

Comments

@ZeframLou
Copy link

Running echidna-test in the container outputs Killed regardless of the input options.

  • Docker version: v20.10.6
  • OS: macOS 11.2.3
  • Processor: Apple M1
  • Image ID: 2ad73f16de91
@damianrusinek
Copy link

Try to increase RAM in Docker resources.

For future similar issues run container with --privileged option and after the issue run sudo dmesg in container to diagnose the problem.

@genisis0x
Copy link

it also not working can you suggest something other than that?

@ggrieco-tob
Copy link

@elopez is taking a look to the Docker containers right now

@elopez
Copy link
Member

elopez commented Dec 9, 2021

With the default 2GB of memory given by Docker Desktop, echidna will be Killed due to OOM (Out Of Memory). From my tests on M1 hardware, echidna-test on startup uses around ~7GB by itself. At this time I would recommend setting up Docker Desktop to at least 8GB of memory to allow echidna to run without being killed due to lack of memory:
setting up Docker Desktop on Mac M1 to allow up to 8GB of memory

I can confirm that echidna-test runs and can fuzz a simple contract with this configuration and the current eth-security-toolbox amd64 image on an M1 Pro MacBook.

@rac-sri
Copy link

rac-sri commented Dec 20, 2021

Thanks for the fix @elopez !! That worked !!

@vantwoutmaarten
Copy link

if you have a bit more than a simple test you need to increase the memory a bit! You can also see the memory hitting around its limits in the desktop monitoring.

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

7 participants