diff --git a/host/src/app.c b/host/src/app.c index dc6a48e9..527f1e82 100644 --- a/host/src/app.c +++ b/host/src/app.c @@ -721,6 +721,9 @@ int app_main(int argc, char * argv[]) if (!installCrashHandler(os_getExecutable())) DEBUG_WARN("Failed to install the crash handler"); + // make sure rng is actually seeded for LGMP + srand((unsigned)time(NULL)); + app.state = APP_STATE_RUNNING; ivshmemOptionsInit();