Reproduces getsentry/sentry-javascript#20029.
npm installnode repro.jsRun it a few times — crash rate is ~40-60% per run. Crashed workers show CRASHED (exit code ...) in the output.
DISABLE_PROFILING=1 node repro.jsWith profiling disabled, 0% crash rate.