Status: New
Owner: ----

New issue 3545 by [email protected]: Frequent SEGV crashes in nodejs
https://code.google.com/p/v8/issues/detail?id=3545

I recently upgraded to node 0.10.31, and have started receiving an alarming number of SEVGs from v8 (which is version 3.14.5.9 in this nodejs). My nodejs is self-compiled, but I am using the official sources (i.e. http://nodejs.org/dist/v0.10.31/node-v0.10.31.tar.gz).

When running the stratifiedJS buildscript:

$ git clone https://github.com/onilabs/stratifiedjs.git
$ cd stratifiedjs
$ ./sjs src/build/buildscript.sjs

Just now I had to run that last command 40+ times before it actually succeeded (the failures were all SEGV crashes).

I'm afraid I haven't been able to narrow down the problem further - I'm assuming it's memory corruption somewhere, so it's very difficult to know where to start.

In node 0.10.26 (the previous version I was using), I would occasionally get SEGVs, but only one every couple of days.

After running `ulimit -c unlimited` in my shell and triggering some more crashes, I have tried to get a backtrace (using the `bt` command of `gdb path/to/node core.PID`) but it doesn't look very healthy.

This backtrace appeared in 9 of the 10 dumps I tried:

#0  0x000000000279f701 in ?? ()
#1 0x00000000007fe746 in v8::internal::HeapObject::HeapObjectShortPrint(v8::internal::StringStream*) ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

----

The one outlier had this different backtrace:

#0  0x00001e3748604101 in ?? ()
#1  0x00007fff2e614ef0 in ?? ()
#2  0x00007fff2e614f28 in ?? ()
#3  0x0000000001b8c9f0 in ?? ()
#4  0x0000000000000005 in ?? ()
#5  0x00007fff2e614ee0 in ?? ()
#6 0x000000000080c61d in v8::internal::JSObject::GetLocalPropertyNames(v8::internal::FixedArray*, int) ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

I don't know if I'm missing some debuginfo files to resolve those "??" backtrace lines. GDB didn't instruct me to install any additional debuginfo packages as it sometimes does.

OS: Fedora 20

$ uname -a
Linux meep 3.15.10-200.fc20.x86_64 #1 SMP Thu Aug 14 15:39:24 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to