facebookexperimental / hermit

Hermit launches linux x86_64 programs in a special, hermetically isolated sandbox to control their execution. Hermit translates normal, nondeterministic behavior, into deterministic, repeatable behavior. This can be used for various applications, including replay-debugging, reproducible artifacts, chaos mode concurrency testing and bug analysis.
Other
1.17k stars 31 forks source link

thread 'main' panicked at 'prehook: Missed expected preemption!..' #20

Open mrichtarsky opened 1 year ago

mrichtarsky commented 1 year ago

Describe the bug

thread 'main' panicked at 'prehook: Missed expected preemption! Clock_value: 29407230. Stepped forward 27577123 RCBs, but should have trapped at 17690825'

To Reproduce Cannot share binary unfortunately. However it is linked against a basis library with quite some changes to standard glibc (lots of hooks). A simple program works. So I suspect that library to be the problem.

Expected behavior Program executes successfully.

Environment

Additional context Logs attached. hermit.log