-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
SIGSEGV for address: 0x0 in ConcurrentMarking::Run #37106
Comments
@bolt-juri-gavshin could you perhaps share some code that can help to reproduce the issue, please? |
I would gladly do it, if I could reproduce it myself. As I wrote in the report, the error happens on LIVE only, sporadically, probably triggered by specific endpoint call (or calls), but the same call works just fine in staging. I can start this service with additional Node flags (or libraries, like "segfault-handler") to gather more data in the event of it's untimely death, let me know which ones... |
What kind of service is it then? Is it some kind of HTTP(S) service? If so, do you use any web-frameworks? also, do you use native modules? |
This is a gateway service with HTTP (non-S) endpoints, doing HTTP (non-S) requests. Update: "deasync" is not actually used - we use "node-etcd" without the |
I rechecked, this specific service calls require only for 2 native modules, |
You most probably need to rebuild these modules due to your Node.JS version upgrade. I have little experience with rebuilding modules, as I practice clean installs, but I believe you should look for npm rebuild. You can also try reinstalling the package (so it will get compiled again). Lemme know if it helps |
Our deployment is Docker based and |
@bolt-juri-gavshin I know, it’s just without ability to replicate the issue, I am trying to troubleshoot other potential causes ;) |
@schamberg97 looks like the only way forward (to gather more info) is to put debug Node into LIVE env. Is there an easy way to get a debug version of Node using |
Good morning! There are some new developments:
It was quite stable before (with the official binary):
@targos , I believe the "v8 engine" tag you added and removed is also correct here. My impression is that v8 used in 14.15.4 has a bug in GC (official Node 14.15.4 release):
Maybe someone has access to the release build output and can map that instruction to specific line in the code? |
Hello!
but segfault is now different: 14.15.4:
14.15.5:
Note the different instruction pointer
@schamberg97 @targos |
Duplicate of #37553. No problems observed in 14.17.4 |
v14.15.4
Linux 3d0c8550bcf0 4.19.121-linuxkit #1 SMP Tue Dec 1 17:50:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
What steps will reproduce the bug?
I wish I knew, it happens sporadically in LIVE env, started to happen right after upgrade from node 12.20.0 to 14.15.4.
How often does it reproduce? Is there a required condition?
Service has very spiky Memory usage, looks like it happens after responding with a larger response (17MB). But having only this condition is not enough, we couldn't reproduce it in staging environment.
What is the expected behavior?
No crash.
What do you see instead?
Process is crashed with segfault.
Additional information
Got stacktrace using
require("segfault-handler").registerHandler
:The text was updated successfully, but these errors were encountered: