-
Notifications
You must be signed in to change notification settings - Fork 30k
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
GC segfault #3715
Comments
Is there a reproducible test case that you can share with us to help identify the issue? |
Not sure if this is related, but this consistently dumps core after 5 iterations of the var x = [];
while (true) {
for (var i = 0; i < 10000000; i++) x.push(Math.random());
console.log(process.memoryUsage().rss / 1000000);
} |
@calzoneman I don't think they're related. In your case, the process seems to be running out of memory by continuously pushing to |
It's not running out of memory (it crashes after only reaching ~1.1GB rss), I think I've tracked it down to v8 having a length limit on arrays. But you're right, I think it's unrelated. |
Getting this on node v4.2.2 as well, when using
I'll see if I can dumb it down to a testcase, but it happens very intermittently so I haven't been able to track down what triggers it. |
happens to me too with v4.3.0 and v4.3.2 |
have you tried v4.4.0 |
just tried, happened on 4.4.0 as well after 1 day of running |
@artofspeed do you have a minimal test case? |
happened here in 4.4.7 - any progress/recommandations so far? |
@akobler More info? Any way for us to reproduce? |
@bnoordhuis Quite seldom, but I observed occasionally a Node crash and got the following line in kern.log: So I just enabled core dumps, unfortunately no deeper insight yet. As you see below, the pattern matches pretty good with other observations in this issue. I deliver stack traces as soon as available. Some general info:
|
You could try If you don't have gdb installed, try |
Closing, no real activity in > 1 year. If anyone has a reliable way of reproducing, let me know and I'll reopen. |
I have a similar problem in node 4.8.0. Anyone can give me some direction on how to fix this? I get the following crash stack trace ocasionally without any apparent pattern:
|
@simonecogno Can you let us know:
and open a new issue with that information? |
Known error (nodejs/node-v0.x-archive#25648) with segfault when using --expose-gc repeats on node 5.0.0
Here is callstack:
The text was updated successfully, but these errors were encountered: