joyent/node — Issue #2850: Dtrace related crash on Mac OS 10.7.3
Author: doc
Created: 2012-03-01 04:14:38+00:00
State: open

Freshly built node (master bab59f33e7e51a17771f6236aa236687f8ab899f) crashes after first request on Mac OS 10.7.3 with the following console output:

net.js:882
DTRACE_NET_SERVER_CONNECTION(socket);
^
ReferenceError: DTRACE_NET_SERVER_CONNECTION is not defined
at TCP.onconnection (net.js:882:3)

Node is running the following simple server at the time of the crash.

var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(1337,"127.0.0.1");
console.log('Server running at http://127.0.0.1:1337/');