-
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
received SIGSEGV for address: 0x1aa00030f3e , Many times #4470
Comments
Just to be extra sure about the stack trace, can you run without |
Also, what are you doing to trigger this? Are you merely starting What platform is this on? Are you using third party addons? |
this proxy server. i use addons. |
i check log var tlssocket = new tls.TLSSocket(socket , { secureContext: credential, isServer: true }); |
Do you have a simple, reproducible example that does not include any third party modules or addons? Also, what platform is this on (e.g. Windows, Linux, OS X, FreeBSD, etc.)? |
I try to create a simple reproducible example. So far unsuccessfully. |
Also, Do you have an idea how I can debug it automatically in production |
Can you replay a request sequence (copied from production) against a non-production proxy? This should produce a reproduction of this bug that can be worked on outside of production. |
For readability, here's the demangled stack trace 1:
Stack trace 2:
|
It seems that both exceptions happened during garbage collection --- but in different parts of the program execution. Quite likely, some part of the program corrupts memory, including control structures used for garbage collection. This throws an exception whenever the affected piece of memory is collected. Stack trace 1 could quite possibly show how creating a new object (e.g. In Stack trace 2, garbage collection is triggered by another function. |
Assuming the stack trace is from an x86-64 machine, In both cases we crash because It would be to good to have a test-case reproducing this issue without third-party native addons. (btw, I wouldn't characterize the second stack trace as 'garbage collection is triggered'. Rather we are doing book-keeping for GC to use later). |
@magicode @mscdex @ofrobots @Trott @Yaakov-Belch Execute me, What's this going on? I updated my addon to support nan 2.2.0, node 4.4.1 , got same error. Is there a way to solve this? |
I wonder if this may be the same/related issue as #5900? |
in node 6, this bug solved |
Awesome to hear... if we can track down what fixed it perhaps we can backport ;-) |
Closing, inactive for > 6 months. If someone knows of a reliable way to reproduce, let me know and I'll reopen. |
I believe I'm getting the same issue with Node v4.8.4. Any chance of this being backported? I would really appreciate a simple patch w/o having to upgrade older services to v6.
|
@CExAdamJ we would need a test case to reproduce the issue (that doesn't have any native module dependencies) to be able to make progress on this. |
in node v4.2.4
The text was updated successfully, but these errors were encountered: