0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
Cross-platform JavaScript runtime environment https://nodejs.org/
Go to file
Ben Noordhuis cd96f0aba8 src: don't SetInternalField() in ObjectWrap dtor
Call SetPointerInInternalField(0, NULL) rather than
SetInternalField(0, Undefined()).

Fixes the following spurious NULL pointer dereference in debug builds:

  #0  0x03ad2821 in v8::internal::FixedArrayBase::length ()
  #1  0x03ad1dfc in v8::internal::FixedArray::get ()
  #2  0x03ae05dd in v8::internal::Context::global_object ()
  #3  0x03b6b87d in v8::internal::Context::builtins ()
  #4  0x03ae1871 in v8::internal::Isolate::js_builtins_object ()
  #5  0x03ab4fab in v8::CallV8HeapFunction ()
  #6  0x03ab4d4a in v8::Value::Equals ()
  #7  0x03b4f38b in CheckEqualsHelper ()
  #8  0x03ac0f4b in v8::Object::SetInternalField ()
  #9  0x06a99ddd in node::ObjectWrap::~ObjectWrap ()
  #10 0x06a8b051 in node::Buffer::~Buffer ()
  #11 0x06a8afbb in node::Buffer::~Buffer ()
  #12 0x06a8af5e in node::Buffer::~Buffer ()
  #13 0x06a9e569 in node::ObjectWrap::WeakCallback ()
2013-04-10 15:37:30 +02:00
benchmark bench: add child process read perf benchmark 2013-03-25 13:16:07 +01:00
deps v8: cherry-pick 75311294 from upstream 2013-04-03 22:11:32 +04:00
doc blog: Post for v0.8.23 2013-04-08 17:41:49 -07:00
lib net: fix socket.bytesWritten Buffers support 2013-04-10 14:51:10 +04:00
src src: don't SetInternalField() in ObjectWrap dtor 2013-04-10 15:37:30 +02:00
test net: fix socket.bytesWritten Buffers support 2013-04-10 14:51:10 +04:00
tools test: test name is the last elem, not second 2013-03-26 00:21:41 +01:00
.gitattributes
.gitignore tools: Add wrk for benchmarking http servers 2013-02-19 17:16:18 -08:00
.mailmap Update .mailmap and AUTHORS 2013-03-19 20:07:38 +01:00
.travis.yml test: add .travis.yml for testing on Travis CI 2011-12-05 16:50:55 -08:00
AUTHORS 2013.04.03, Version 0.10.3 (Stable) 2013-04-03 10:30:57 -07:00
BSDmakefile
ChangeLog 2013.04.03, Version 0.10.3 (Stable) 2013-04-03 10:30:57 -07:00
common.gypi Revert "build, windows: disable SEH" 2013-03-05 19:40:02 +01:00
configure build: allow building with dtrace on osx 2013-04-03 09:52:56 -07:00
CONTRIBUTING.md doc: update CONTRIBUTING.md 2013-03-24 13:28:46 +01:00
LICENSE doc: Add wrk's license to LICENSE file 2013-03-08 13:47:36 -08:00
Makefile build: define nightly tag external to build system 2013-03-05 14:43:27 -08:00
node.gyp Revert "crypto: use better memory BIO implementation" 2013-04-10 13:54:15 +02:00
README.md doc: document PYTHON env var in README 2013-01-22 13:53:49 +01:00
vcbuild.bat build: define nightly tag external to build system 2013-03-05 14:43:27 -08:00

Evented I/O for V8 javascript. Build Status

To build:

Prerequisites (Unix only):

* Python 2.6 or 2.7
* GNU Make 3.81 or newer
* libexecinfo (FreeBSD and OpenBSD only)

Unix/Macintosh:

./configure
make
make install

If your python binary is in a non-standard location or has a non-standard name, run the following instead:

export PYTHON=/path/to/python
$PYTHON ./configure
make
make install

Windows:

vcbuild.bat

To run the tests:

Unix/Macintosh:

make test

Windows:

vcbuild.bat test

To build the documentation:

make doc

To read the documentation:

man doc/node.1

Resources for Newcomers