Open aduh95 opened 7 months ago
It's possible V8 12.3 introduced it.
I think I'm able to reproduce on my mac, but I got one timeout out of 1000 runs, which makes it difficult to debug.
I've gotten the timeout on several CI runs for #52509, so it's not system specific.
Report from https://github.com/nodejs/reliability/issues/842
On container builds where this does pass, the test finishes in 3-5 seconds, so this is likely a bug with V8.
Looking at other recent flakes that are at the top of the list, it seems the V8 update introduced quite a lot of timeouts, it could be some kind of deadlock.
Another clue - I don't see this flaking in the V8 CI (Linux x64 only), so it should be our bug.
Not sure what's the root cause, but it could be that the update made exceeding the max stack size less stable.
https://github.com/nodejs/node/blob/708bffa9992d65fbe063c6a2f30892b8b5c0af57/test/parallel/test-error-serdes.js#L88-L93
When I run this part with Node.js v20.12.1
, I observe pretty much reproducible depth === 1542
.
When I run it with current main
build, the cycle ends with fluctuating numbers like 1717
, 1649
, etc.
Increasing stack size leads to exponential increase in time, e.g. node --stack-size=4096 test/parallel/test-error-serdes.js
easily exceeds 120 seconds for me (ulimit -s
is 8192
).
Maybe under some "lucky" conditions this cycle can go abnormally deep?
Test
test-error-serdes
Platform
Linux x64
Console output
Build links
Additional information
No response