-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion in parallel/test-trace-events-dynamic-enable from libuv #23675
Comments
I believe this is a race condition that @ofrobots just fixed in master last week. Can you check this against master and see if you are continuing to see the same issue? |
As of 3 hours ago, it's still happening with master, but only on x86_64, while 32-bit is passing... https://build.opensuse.org/package/show/devel:languages:nodejs:staging/nodejs42 [ 769s] not ok 1852 parallel/test-trace-events-dynamic-enable I've triggered a rebuild to see if it happens again. I've had problems reproducing this problem outside of the open build service (generally, QEMU build environment without network) |
That build is based on b2e4cb7 |
This seems distinct from #22865 that I fixed recently. @AdamMajer if there is a core-dump you're able to capture (with |
I've been able to generate consistent coredump for this problem in a regular chroot using
This gets me generally about 1% failure rate on the test.
Backtrace is always the same in case of failure,
|
@AdamMajer a few more questions.. 1) do you have instructions on how you're running in a chroot. I want to reproduce this. 2) in the core dump, on the asserting thread, do you know the value of |
I run it in a normal chroot with /proc and /sys mounted, nothing else. The way I run it, is just as seen in my example - with a for () loop to execute many node processes in parallel to trigger this race. If I only run 100 parallel processes, then I stop seeing the problem. So you'll need to boost that number accordingly. 500 seems to work ok for 8 concurrent threads CPU. It's very interesting, but I've compiled node from git/master with just
Anyway, that handle->type is unfortunately corrupted. I can provide you with the executable and the coredump, but I suspect this is a little useless without reproducer.
I'm investigating why this is not getting triggered outside the chroot |
I have tried a few different environments (chroot, docker, docker with gvisor) and am unable to reproduce the the issue. Also, I don't have any ideas why the uv handle would be pointing to a region of memory painted with 0x45 (ASCII 'E'). I am not sure how to progress further on this. @AdamMajer if you're able to find any more information on your, please do let us know here. |
This seems to have been now resolved, somehow.. Closing. |
While running NodeJS build and then test-ci make target under OBS (Open Build Service), I've seen crashes, all like,
https://build.opensuse.org/package/live_build_log/devel:languages:nodejs/nodejs10/openSUSE_Tumbleweed/i586
The same build under different environment seems to succeed, for example with
https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs10
So far I've been unable to isolate why this could be happening.
The text was updated successfully, but these errors were encountered: