- Version: 8.0.0-pre
- Platform: Linux
- Subsystem: inspector
Description:
Running node --inspect in the background causes make cctest to abort. The same thing for trying to run node --inspect twice.
Reproduction:
Run node --inspect in one window, and make cctest in another window. The test should fail with:
../test/cctest/test_inspector_socket_server.cc:381: Failure
Value of: server->Start(&loop)
Actual: false
Expected: true
[--I] signal 0x6caf08
[-AI] async 0x6cad50
[---] <unknown> 0x7fff84cd1998
Makefile:117: recipe for target 'cctest' failed
make: *** [cctest] Segmentation fault (core dumped)
Alternative is to run node --inspect twice. Which gives me:
trevnorris:node (async-wrap-eps-impl) $ ./node --inspect
Unable to open devtools socket: address already in use
Unable to open devtools socket: Unknown system error 0
> /var/projects/node/out/Release/node[17258]: ../src/node.cc:3739:void node::EnableDebug(node::Environment *): Assertion `debugger_running' failed.
1: node::Abort() [./node]
2: 0x10abe44 [./node]
3: 0x10b547b [./node]
4: node::Start(v8::Isolate*, node::IsolateData*, int, char const* const*, int, char const* const*) [./node]
5: node::Start(uv_loop_s*, int, char const* const*, int, char const* const*) [./node]
6: node::Start(int, char**) [./node]
7: __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
8: _start [./node]
Aborted (core dumped)
/cc @nodejs/v8-inspector