-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Segmentation fault in Node 20.9.0 in SSL_select_next_proto
#50626
Comments
Can you get a disassembly from around the offending instruction? The other issue has info on how to obtain that. |
@bnoordhuis Are you referring to this comment? I'm not familiar with gdb or debugging anything other than JavaScript code to be honest, do I need to run |
Yes, that comment and no, you don't need to turn on any flags, just make sure core dumps are enabled on your system. |
I'm not seeing any segmentation faults even though it crashed, is this because I'm using
So everything is set up correctly. |
Yes, it's probably because of segfault-handler. That module does some really questionable things in its signal handler, by the way. Not something I'd recommend running in production. |
Let me know if this is enough information, I can also upload the
|
That's the bug from #47207. Somewhat to my surprise commit 1643adf doesn't actually seem to have been merged into v20.x; instead it's scheduled for v20.10.0 which is in the process of being released, see #50682. It's kind of odd that people reported it as being fixed but maybe that's because it shows up so infrequently 🤷 Anyway, I'll go ahead and close this as a duplicate. The problem should go away when you upgrade. |
Version
20.9.0
Platform
Linux Ubuntu-2004-focal-64-minimal-hwe 5.15.0-71-generic #78~20.04.1-Ubuntu SMP Wed Apr 19 11:26:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
It's hard to give concrete steps to reproduce this bug, I have an express.js server running that exits because of SIGSEGV once a day or so. Sorry that I can't be of much help.
How often does it reproduce? Is there a required condition?
This issue #47207 seems to be related but it's reported as fixed in 20.8.0. I can reproduce this problem on all versions of Node 20 and the latest Node 18. The problem is not present on 18.10.0.
What is the expected behavior? Why is that the expected behavior?
No response
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: