question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

--execution-timeout fails

See original GitHub issue

Description

Using the --execution-timeout flag fails under large loads and/or on an unknown set of addresses. I am running mythril on a large set of addresses with a execution-timeout flag of 900. However, under top, there are two running instances of mythril that have been running for 861:55:86+ and 1580:41+ (minutes:seconds.hundredths).

How to Reproduce

I’m unsure of how to reproduce this as I’m unable to determine the addresses they failed on, or the true root cause. After I kill the processes, then maybe there may be a stack trace, but I don’t think that this will reveal what addresses they failed on.

Expected behavior

Mythril should stop trying to symbolically execute after 900 seconds has elapsed.

Screenshots

execution-timeout_issue

EDIT: I actually am recording what addresses give what output (e.g., success, ERROR, CRITICAL, etc.), so I can determine if this bug is due to a specific contract, the volume of contracts I am scanning, or the method (i.e., multiprocessing with docker run commands) by checking my original file full of addresses and seeing what contract did not complete (i.e., did not get written to any of files/“bins” above).

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
Danc2050commented, Nov 5, 2019

I believe this is actually an issue with Docker, not mythril.

Below is optional reading I originally was cleaning up old containers with the command docker system prune in a crontab. However, what I believe ended up happening was the crontab would run when a Docker container was being started and marked as inactive, but then it would start, but not be able to run since it was marked for deletion. Still haven’t proven this, but I get an error message that seems to hint at this being hte issue. Since using the --rm command to remove the container instead of the crontab, I haven’t had any issues of a myth process running past the execution-timeout specified. I’ll bring this to the Docker people instead of here.

0reactions
norhhcommented, Feb 15, 2021

@chetansaini1234 can you elaborate on the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

web.config executionTimeout not working in ASP.NET MVC
The web.config's httpRuntime executionTimeout is not working when using ASP.NET MVC. I also tested on ASP.NET MVC 2 and ASP.
Read more >
ExecutionTimeout not working - Stack Overflow
I found a solution to my own problem. I am using Ajax and it turns out that when using Ajax it is not...
Read more >
ExecutionTimeout not working with StitchedSchema #2571
Using HotChocolate 10.5.2 Testing locally, the execution timeout doesn't seem to trigger at all. I'm running in Visual Studio's "Release" ...
Read more >
Failure of long download running more than 50 minutes (3000 ...
Long file download failure in Moveit Transfer. ... The default value of <httpRuntime executionTimeout> was changed to 86400 seconds (24hrs) ...
Read more >
Modifying the Execution TimeOut Setting in Microsoft ...
You are using Microsoft Reporting Services and one of your reports are failing with a time out error. One common example: report fails...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found