This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
segfault in node v0.6.6 #2438
Comments
ry
added a commit
that referenced
this issue
Dec 29, 2011
Unfortunately valgrind must be used to see the bad read. It would be nice if we could improve this test to cause a segfault.
Stacks from various cores run into trouble in a number of places, all after http_parser somewhere. Memory corruption is tricky. |
potential fix https://gist.github.com/1536827 |
potential fix didn't work. resulted in new crashes https://gist.github.com/53efa2e0f2b1efac75c8 |
ry
added a commit
that referenced
this issue
Jan 4, 2012
ry
added a commit
that referenced
this issue
Jan 4, 2012
- Save StringPtr if the header hasn't been completely received yet after one packet. - Add one to num_fields and num_values. They were actually one less than the number of fields and values. - Remove always_inline makes debugging difficult, and has negligible performance benefits.
f3da6c6 was tested in production and does fix the bug. |
isaacs
added a commit
to isaacs/node-v0.x-archive
that referenced
this issue
Jan 6, 2012
* Upgrade V8 to 3.6.6.15 * Upgrade npm to 1.1.0-beta-10 (isaacs) * many doc updates (Ben Noordhuis, Jeremy Martin, koichik, Dave Irvine, Seong-Rak Choi, Shannen, Adam Malcontenti-Wilson, koichik) * nodejs#2438 segfault in node v0.6.6 * dgram, timers: fix memory leaks (Ben Noordhuis, Yoshihiro Kukuchi) * repl: fix repl.start not passing the `ignoreUndefined` arg (Damon Oehlman) * nodejs#1980: Socket.pause null reference when called on a closed Stream (koichik) * nodejs#2263: XMLHttpRequest piped in a writable file stream hang (koichik) * nodejs#2069: http resource leak (koichik) * buffer.readInt global pollution fix (Phil Sung) * timers: fix performance regression (Ben Noordhuis) * nodejs#2308, nodejs#2246: node swallows openssl error on request (koichik) * nodejs#2114: timers: remove _idleTimeout from item in .unenroll() (James Hartig) * nodejs#2379: debugger: Request backtrace w/o refs (Fedor Indutny) * simple DTrace ustack helper (Dave Pacheco) * crypto: rewrite HexDecode without snprintf (Roman Shtylman) * crypto: add SecureContext.clearOptions() method (Ben Noordhuis) * crypto: don't ignore DH init errors (Ben Noordhuis)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Experiencing crashes in what appears to be a bad ref in node_http_parser.cc during
StringPtr::Update
.Crashes are very rare. At first we thought this was a problem with missing
HandleScope
and made 73cf8e8 to fix it. It turns out that didn't stop the problems and was reverted in 448c5e0.cc @mranney @bnoordhuis
The text was updated successfully, but these errors were encountered: