Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FATAL ERROR: node::inspector::Agent::ToggleAsyncHook Cannot toggle Inspector's AsyncHook, please report this. #27714

Closed
xehpuk opened this issue May 15, 2019 · 8 comments
Labels
async_hooks Issues and PRs related to the async hooks subsystem. inspector Issues and PRs related to the V8 inspector protocol

Comments

@xehpuk
Copy link

xehpuk commented May 15, 2019

  • Version: v10.15.3
  • Platform: Microsoft Windows [Version 10.0.17763.437] 64-bit
  • Subsystem: inspector?

pg-promise@8.6.2

Abnormal client.end() call, due to invalid code or failed server connection.
    at Pool._remove (\node_modules\pg-pool\index.js:161:12)
    at Client.idleListener (\node_modules\pg-pool\index.js:75:10)
    at Connection.connectedErrorHandler (\node_modules\pg\lib\client.js:148:10)
    at Socket.reportStreamError (\node_modules\pg\lib\connection.js:71:10)

<output of 656 console.error calls>

RangeError: Maximum call stack size exceeded
    at Console.error (<anonymous>)
    at Object.error (<snip>)
    at Object.error (\node_modules\pg-promise\lib\events.js:356:25)
    at Client.onError (\node_modules\pg-promise\lib\connect.js:109:16)
    at Client.emit (events.js:194:15)
    at Client.EventEmitter.emit (domain.js:441:20)
    at Connection.connectedErrorHandler (\node_modules\pg\lib\client.js:148:10)
    at Connection.emit (events.js:189:13)
    at Connection.EventEmitter.emit (domain.js:441:20)
    at Socket.reportStreamError (\node_modules\pg\lib\connection.js:71:10)
Waiting for the debugger to disconnect...
FATAL ERROR: node::inspector::Agent::ToggleAsyncHook Cannot toggle Inspector's AsyncHook, please report this.
 1: 00007FF6461EF04A v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+5114
 2: 00007FF6461CA0C6 node::MakeCallback+4518
 3: 00007FF6461CAA30 node_module_register+2032
 4: 00007FF6461CAA49 node_module_register+2057
 5: 00007FF6461018F6 std::basic_ostream<char,std::char_traits<char> >::operator<<+46358
 6: 00007FF64654D285 v8::internal::Factory::NewCallHandlerInfo+71237
 7: 00007FF64649C09C v8_inspector::V8ContextInfo::executionContextId+3836
 8: 00007FF64649BFD4 v8_inspector::V8ContextInfo::executionContextId+3636
 9: 00007FF6460FF021 std::basic_ostream<char,std::char_traits<char> >::operator<<+35905
10: 00007FF646102696 std::basic_ostream<char,std::char_traits<char> >::operator<<+1206
11: 00007FF646101F1E std::basic_ostream<char,std::char_traits<char> >::operator<<+47934
12: 00007FF6460FF1C8 std::basic_ostream<char,std::char_traits<char> >::operator<<+36328
13: 00007FF6460F3950 std::basic_ios<char,std::char_traits<char> >::imbue+32768
14: 00007FF6460F3426 std::basic_ios<char,std::char_traits<char> >::imbue+31446
15: 00007FF6460F330E std::basic_ios<char,std::char_traits<char> >::imbue+31166
16: 00007FF6460F1B0C std::basic_ios<char,std::char_traits<char> >::imbue+25020
17: 00007FF6460F2846 std::basic_ios<char,std::char_traits<char> >::imbue+28406
18: 00007FF646151132 v8::internal::StackGuard::ArchiveSpacePerThread+52082
19: 00007FF6461517F3 v8::internal::StackGuard::ArchiveSpacePerThread+53811
20: 00007FF646151B4C v8::internal::StackGuard::ArchiveSpacePerThread+54668
21: 00007FF646100758 std::basic_ostream<char,std::char_traits<char> >::operator<<+41848
22: 00007FF6461C9D19 node::MakeCallback+3577
23: 00007FF6461C9E50 node::MakeCallback+3888
24: 00007FF6461CACD5 node_module_register+2709
25: 00007FF64679A7DD v8::internal::StackGuard::HandleInterrupts+5053
26: 00007FF64679A479 v8::internal::StackGuard::HandleInterrupts+4185
27: 00007FF646947614 v8::internal::Isolate::PrintStack+14340
28: 00007FF646798754 v8::internal::StackGuard::reset_limits+1060
29: 00007FF6467988CE v8::internal::StackGuard::reset_limits+1438
30: 00007FF64679891A v8::internal::Execution::Call+42
31: 00007FF646469D92 v8::Function::Call+498
32: 00007FF646B50059 v8::internal::compiler::JSOperatorBuilder::CreateBlockContext+43145
33: 00007FF6467E0719 unibrow::Utf8DecoderBase::WriteUtf16Slow+26377
34: 00007FF6467E01E8 unibrow::Utf8DecoderBase::WriteUtf16Slow+25048
35: 00007FF64649CF3E v8_inspector::V8ContextInfo::executionContextId+7582
36: 00007FF6465F8F5D v8::internal::wasm::WasmInterpreter::Thread::Step+106893
37: 00007FF6465F9591 v8::internal::wasm::WasmInterpreter::Thread::Step+108481
38: 00007FF6465FC10E v8::internal::wasm::WasmInterpreter::Thread::Step+119614
39: 00007FF64672A94E v8_inspector::V8Inspector::create+11518
40: 00007FF6465FA0E1 v8::internal::wasm::WasmInterpreter::Thread::Step+111377
41: 00007FF646603257 v8::internal::EhFrameIterator::Done+18263
42: 00007FF646603040 v8::internal::EhFrameIterator::Done+17728
43: 00007FF6466037BB v8::internal::EhFrameIterator::Done+19643
44: 00007FF6469C388B v8::internal::OptimizingCompileDispatcher::Unblock+24923
45: 00007FF6469C3F38 v8::internal::OptimizingCompileDispatcher::Unblock+26632
46: 0000018682ADC721 

Process finished with exit code 134
@bzoz
Copy link
Contributor

bzoz commented May 16, 2019

/cc @nodejs/inspector

@joyeecheung
Copy link
Member

I think this might be fixed by #26935 can you still reproduce this with a newer version of Node.js with this fix? Like v12?

@joyeecheung joyeecheung added async_hooks Issues and PRs related to the async hooks subsystem. inspector Issues and PRs related to the V8 inspector protocol labels Feb 25, 2020
@towry
Copy link

towry commented Jun 5, 2020

I have same issue, node: v12.18.0.

Update: I think this is vscode-insiders's issue, I will report it to vscode-insiders.

cd /Users/towry/xxx/qxjs ; env CI=vscode-jest-tests 'NODE_OPTIONS=--require "/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/ms-vscode.js-debug-nightly/src/bootloader.bundle.js" ' 'VSCODE_INSPECTOR_OPTIONS={"inspectorIpc":"/var/folders/gd/8tghdshx483fdmjm04n68kwr0000gn/T/node-cdp.46893-2.sock","deferredMode":false,"waitForDebugger":"","execPath":"/Users/towry/.nvm/versions/node/v12.18.0/bin/node","onlyEntrypoint":false,"fileCallback":"/var/folders/gd/8tghdshx483fdmjm04n68kwr0000gn/T/node-debug-callback-e86d1556c7220a2b"}' /Users/towry/.nvm/versions/node/v12.18.0/bin/node /Users/towry/xxx/qxjs/node_modules/jest/bin/jest --runInBand 
Debugger listening on ws://127.0.0.1:59662/028fe828-faba-4c41-a13b-8104134f63b3
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
PASS src/vendors/ve-form/__tests__/VeForm.spec.ts
PASS src/vue/components/demo/__tests__/ButtonDemo.spec.ts
PASS src/vendors/formatter/__tests__/Formatter.spec.ts
PASS src/core/__tests__/VueReactiveSetter.spec.ts
PASS src/core/__tests__/getByteLen.spec.ts
PASS src/core/__tests__/RevertableValue.spec.ts
PASS src/core/__tests__/freezeObject.spec.ts
PASS src/core/__tests__/ensureArrayValue.spec.ts
PASS src/core/__tests__/EventEmitter.spec.ts

Test Suites: 9 passed, 9 total
Tests:       15 passed, 15 total
Snapshots:   0 total
Time:        4.227 s
Ran all test suites.
Debugger listening on ws://127.0.0.1:59662/028fe828-faba-4c41-a13b-8104134f63b3
For help, see: https://nodejs.org/en/docs/inspector
undefined:0



illegal access
FATAL ERROR: 
node::inspector::Agent::ToggleAsyncHook Cannot toggle Inspector's AsyncHook, please report this.
 1: 0x1011c96b5 node::Abort() (.cold.1) [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
 2: 0x10009cae9 node::Abort() [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
 3: 0x10009cc4f node::OnFatalError(char const*, char const*) [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
 4: 0x10009caf9 node::FatalError(char const*, char const*) [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
 5: 0x10016ab60 node::inspector::Agent::AsyncTaskScheduled(v8_inspector::StringView const&, void*, bool) [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
 6: 0x1008220f3 v8_inspector::V8Debugger::setAsyncCallStackDepth(v8_inspector::V8DebuggerAgentImpl*, int) [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
 7: 0x10082ad43 v8_inspector::V8DebuggerAgentImpl::disable() [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
 8: 0x1008432b4 v8_inspector::V8InspectorSessionImpl::~V8InspectorSessionImpl() [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
 9: 0x10084356e v8_inspector::V8InspectorSessionImpl::~V8InspectorSessionImpl() [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
10: 0x10016b9db node::inspector::(anonymous namespace)::ChannelImpl::~ChannelImpl() [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
11: 0x10016ba4e node::inspector::(anonymous namespace)::ChannelImpl::~ChannelImpl() [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
12: 0x10016c2ae node::inspector::NodeInspectorClient::disconnectFrontend(int) [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
13: 0x10016c01b node::inspector::(anonymous namespace)::SameThreadInspectorSession::~SameThreadInspectorSession() [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
14: 0x10017eacc node::inspector::(anonymous namespace)::DeletableWrapper<node::inspector::(anonymous namespace)::MainThreadSessionState>::~DeletableWrapper() [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
15: 0x10015d9fa unsigned long std::__1::__hash_table<std::__1::__hash_value_type<int, std::__1::unique_ptr<node::inspector::Deletable, std::__1::default_delete<node::inspector::Deletable> > >, std::__1::__unordered_map_hasher<int, std::__1::__hash_value_type<int, std::__1::unique_ptr<node::inspector::Deletable, std::__1::default_delete<node::inspector::Deletable> > >, std::__1::hash<int>, true>, std::__1::__unordered_map_equal<int, std::__1::__hash_value_type<int, std::__1::unique_ptr<node::inspector::Deletable, std::__1::default_delete<node::inspector::Deletable> > >, std::__1::equal_to<int>, true>, std::__1::allocator<std::__1::__hash_value_type<int, std::__1::unique_ptr<node::inspector::Deletable, std::__1::default_delete<node::inspector::Deletable> > > > >::__erase_unique<int>(int const&) [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
16: 0x10017ecbe node::inspector::(anonymous namespace)::DeleteRequest::Call(node::inspector::MainThreadInterface*) [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
17: 0x10017d903 node::inspector::MainThreadInterface::DispatchMessages() [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
18: 0x10017f2fe node::inspector::(anonymous namespace)::DispatchMessagesTask::Run() [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
19: 0x100105d53 node::PerIsolatePlatformData::RunForegroundTask(std::__1::unique_ptr<v8::Task, std::__1::default_delete<v8::Task> >) [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
20: 0x100104a77 node::PerIsolatePlatformData::FlushForegroundTasksInternal() [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
21: 0x10093da84 uv__async_io [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
22: 0x100950f0f uv__io_poll [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
23: 0x10093dff1 uv_run [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
24: 0x100050549 node::Environment::CleanupHandles() [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
25: 0x100050cc2 node::Environment::RunCleanup() [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
26: 0x1000ddb0e node::NodeMainInstance::Run() [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
27: 0x100073015 node::Start(int, char**) [/Users/towry/.nvm/versions/node/v12.18.0/bin/node]
28: 0x7fff70cd9cc9 start [/usr/lib/system/libdyld.dylib]
[1]    74231 abort      env CI=vscode-jest-tests   /Users/towry/.nvm/versions/node/v12.18.0/bin/node 

@eoingroat
Copy link

eoingroat commented Jul 30, 2020

Could reliably duplicate on 13.11.0, but did not occur in 14.7.0.

13.11.0 log:

cd /data/eoin/NumberEight/Coding/NEServer ; env NODE_ENV=test 'NODE_OPTIONS=--require /snap/code/39/usr/share/code/resources/app/extensions/ms-vscode.js-debug/src/bootloader.bundle.js ' 'VSCODE_INSPECTOR_OPTIONS={"inspectorIpc":"/tmp/node-cdp.3584-16.sock","deferredMode":false,"waitForDebugger":"","execPath":"/usr/bin/node","onlyEntrypoint":false,"fileCallback":"/tmp/node-debug-callback-b1bbdd96301b3e17"}' /data/eoin/NumberEight/Coding/NEServer/run jest --runInBand --no-cache packages/auth-service/src/schema.test.ts 
yarn run jest --runInBand --no-cache packages/auth-service/src/schema.test.ts
Debugger listening on ws://127.0.0.1:43831/0cc39d77-2c34-438c-8a6a-f1d8067cb3e0
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Debugger listening on ws://127.0.0.1:46857/6088c008-68d3-4446-bd59-b008a056cf50
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Debugger listening on ws://127.0.0.1:43055/e8fa52b9-0e69-4e6e-9498-145a55d2badc
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
ts-jest[config] (WARN) Unable to find the root of the project where ts-jest has been installed.
  console.log
    Creating jesttest__auth_service_src_schema_test_ts

      at create (packages/test-helpers/src/database.ts:43:13)

  console.log
    Dropping jesttest__auth_service_src_schema_test_ts

      at packages/test-helpers/src/database.ts:90:13
          at Array.map (<anonymous>)

 PASS  packages/auth-service/src/schema.test.ts
  database schema migration
    ✓ should give the same types as the types file (67 ms)

Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   0 total
Time:        6.057 s
Ran all test suites matching /packages\/auth-service\/src\/schema.test.ts/i.
Debugger listening on ws://127.0.0.1:43055/e8fa52b9-0e69-4e6e-9498-145a55d2badc
For help, see: https://nodejs.org/en/docs/inspector
undefined:0



illegal access
FATAL ERROR: 
node::inspector::Agent::ToggleAsyncHook Cannot toggle Inspector's AsyncHook, please report this.
 1: 0xa10730 node::Abort() [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
 2: 0xa10b75 node::OnFatalError(char const*, char const*) [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
 3: 0xa10c29  [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
 4: 0xaef9f8  [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
 5: 0x120a3e4 v8_inspector::V8Debugger::setAsyncCallStackDepth(v8_inspector::V8DebuggerAgentImpl*, int) [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
 6: 0x1215c01 v8_inspector::V8DebuggerAgentImpl::disable() [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
 7: 0x122e420 v8_inspector::V8InspectorSessionImpl::~V8InspectorSessionImpl() [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
 8: 0x122e681 v8_inspector::V8InspectorSessionImpl::~V8InspectorSessionImpl() [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
 9: 0xaecc5c  [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
10: 0xaed211  [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
11: 0xb0dc8a  [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
12: 0xb0e684 node::inspector::MainThreadInterface::RemoveObject(int) [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
13: 0xb0da82  [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
14: 0xb0df25  [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
15: 0xa7b6b2 node::PerIsolatePlatformData::RunForegroundTask(std::unique_ptr<v8::Task, std::default_delete<v8::Task> >) [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
16: 0xa7c112 node::PerIsolatePlatformData::FlushForegroundTasksInternal() [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
17: 0x134b7f1  [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
18: 0x135e118  [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
19: 0x134c17b uv_run [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
20: 0x9b7c89 node::Environment::CleanupHandles() [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
21: 0x9b7fde node::Environment::RunCleanup() [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
22: 0xa4f6ba node::NodeMainInstance::Run() [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
23: 0x9e09c1 node::Start(int, char**) [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
24: 0x7fb584eb5b97 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
25: 0x976e05  [/home/eoin/.nvm/versions/node/v13.11.0/bin/node]
Waiting for the debugger to disconnect...
Waiting for the debugger to disconnect...

14.7.0 log:

d /data/eoin/NumberEight/Coding/NEServer ; env NODE_ENV=test 'NODE_OPTIONS=--require /snap/code/39/usr/share/code/resources/app/extensions/ms-vscode.js-debug/src/bootloader.bundle.js ' 'VSCODE_INSPECTOR_OPTIONS={"inspectorIpc":"/tmp/node-cdp.3584-19.sock","deferredMode":false,"waitForDebugger":"","execPath":"/usr/bin/node","onlyEntrypoint":false,"fileCallback":"/tmp/node-debug-callback-19829a2ea556ba71"}' /data/eoin/NumberEight/Coding/NEServer/run jest --runInBand --no-cache packages/auth-service/src/schema.test.ts 
yarn run jest --runInBand --no-cache packages/auth-service/src/schema.test.ts
Debugger listening on ws://127.0.0.1:34127/d1da4e19-4eaf-456e-b336-cd9e8243abdb
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Debugger listening on ws://127.0.0.1:41395/765ca40d-c85f-4096-b6d7-0f4454bc46a4
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Debugger listening on ws://127.0.0.1:37625/4d6c3764-2adf-4057-adfc-9e7617a3573e
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
ts-jest[config] (WARN) Unable to find the root of the project where ts-jest has been installed.
  console.log
    Creating jesttest__auth_service_src_schema_test_ts

      at create (packages/test-helpers/src/database.ts:43:13)

  console.log
    Dropping jesttest__auth_service_src_schema_test_ts

      at packages/test-helpers/src/database.ts:90:13
          at Array.map (<anonymous>)

 PASS  packages/auth-service/src/schema.test.ts
  database schema migration
    ✓ should give the same types as the types file (87 ms)

Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   0 total
Time:        6.442 s
Ran all test suites matching /packages\/auth-service\/src\/schema.test.ts/i.
Debugger listening on ws://127.0.0.1:37625/4d6c3764-2adf-4057-adfc-9e7617a3573e
For help, see: https://nodejs.org/en/docs/inspector
Waiting for the debugger to disconnect...
Waiting for the debugger to disconnect...

@preterer
Copy link

Hello. I got the same error. Since you asked so nicely, I'm reporting it.

  • Version: v10.18.1
  • Platform: Microsoft Windows 10 Home [1909] 64-bit

I'm attaching debugger using VS Code. It was one time error while rebuilding project. Works fine after restarting project.

FATAL ERROR: node::inspector::Agent::ToggleAsyncHook Cannot toggle Inspector's AsyncHook, please report this.
 1: 00007FF76B4281BA v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+4506
 2: 00007FF76B402C56 node::MakeCallback+4534
 3: 00007FF76B4035D0 node_module_register+2032
 4: 00007FF76B4035E9 node_module_register+2057
 5: 00007FF76B334066 std::basic_ostream<char,std::char_traits<char> >::operator<<+46422
 6: 00007FF76BA83C63 v8::internal::interpreter::BytecodeArrayIterator::done+77987
 7: 00007FF76B82CEF0 unibrow::Utf8DecoderBase::WriteUtf16Slow+96656
 8: 00007FF76B83C0F9 v8_inspector::protocol::Debugger::API::SearchMatch::fromJSONString+27321
 9: 00007FF76B8380A1 v8_inspector::protocol::Debugger::API::SearchMatch::fromJSONString+10849
10: 00007FF76B819080 unibrow::Utf8DecoderBase::WriteUtf16Slow+15136
11: 00007FF76B7669AF v8_inspector::V8ContextInfo::executionContextId+7775
12: 00007FF76B331466 std::basic_ostream<char,std::char_traits<char> >::operator<<+35158
13: 00007FF76B33429B std::basic_ostream<char,std::char_traits<char> >::operator<<+46987
14: 00007FF76B32441E std::basic_ios<char,std::char_traits<char> >::imbue+25422
15: 00007FF76B325F0E std::basic_ios<char,std::char_traits<char> >::imbue+32318
16: 00007FF76B325F7B std::basic_ios<char,std::char_traits<char> >::imbue+32427
17: 00007FF76B324FC6 std::basic_ios<char,std::char_traits<char> >::imbue+28406
18: 00007FF76B8CCAFD v8::internal::Isolate::PrintStack+3565
19: 00007FF76B7D6825 v8::internal::StackGuard::HandleInterrupts+597
20: 00007FF76BAA7477 v8::internal::operator<<+71991
21: 0000021A1A1DC5C1

@yousefvand
Copy link

- Version: v12.18.3
- Platform: Arch Linux x86_64, Kernel: 5.8.3-arch1-1

illegal access
FATAL ERROR: 
node::inspector::Agent::ToggleAsyncHook Cannot toggle Inspector's AsyncHook, please report this.
 1: 0x55e7e3edb8a1 node::Abort() [/usr/bin/node]
 2: 0x55e7e3e203fe node::FatalError(char const*, char const*) [/usr/bin/node]
 3: 0x55e7e3e20407  [/usr/bin/node]
 4: 0x55e7e3fd7cb8 node::inspector::Agent::ToggleAsyncHook(v8::Isolate*, v8::Global<v8::Function> const&) [/usr/bin/node]
 5: 0x55e7e4662e2c v8_inspector::V8Debugger::setAsyncCallStackDepth(v8_inspector::V8DebuggerAgentImpl*, int) [/usr/bin/node]
 6: 0x55e7e466c908 v8_inspector::V8DebuggerAgentImpl::disable() [/usr/bin/node]
 7: 0x55e7e4686566 v8_inspector::V8InspectorSessionImpl::~V8InspectorSessionImpl() [/usr/bin/node]
 8: 0x55e7e46866d2 v8_inspector::V8InspectorSessionImpl::~V8InspectorSessionImpl() [/usr/bin/node]
 9: 0x55e7e3fd5e0e  [/usr/bin/node]
10: 0x55e7e3fdadb3 node::inspector::NodeInspectorClient::disconnectFrontend(int) [/usr/bin/node]
11: 0x55e7e3fd61c4  [/usr/bin/node]
12: 0x55e7e3fd62a2  [/usr/bin/node]
13: 0x55e7e3ff080d  [/usr/bin/node]
14: 0x55e7e3ff1d17 node::inspector::MainThreadInterface::RemoveObject(int) [/usr/bin/node]
15: 0x55e7e3ff08a6  [/usr/bin/node]
16: 0x55e7e3ff0e8d  [/usr/bin/node]
17: 0x55e7e3f4de9c node::PerIsolatePlatformData::RunForegroundTask(std::unique_ptr<v8::Task, std::default_delete<v8::Task> >) [/usr/bin/node]
18: 0x55e7e3f4e972 node::PerIsolatePlatformData::FlushForegroundTasksInternal() [/usr/bin/node]
19: 0x55e7e48b23fe  [/usr/bin/node]
20: 0x55e7e48c4c98  [/usr/bin/node]
21: 0x55e7e48b2cf7 uv_run [/usr/bin/node]
22: 0x55e7e3e85d51 node::Environment::CleanupHandles() [/usr/bin/node]
23: 0x55e7e3e860eb node::Environment::RunCleanup() [/usr/bin/node]
24: 0x55e7e3f22ddc node::NodeMainInstance::Run() [/usr/bin/node]
25: 0x55e7e3ea829f node::Start(int, char**) [/usr/bin/node]
26: 0x7f15aa5d3152 __libc_start_main [/usr/lib/libc.so.6]
27: 0x55e7e3e3c80e _start [/usr/bin/node]
Aborted (core dumped)

@towry
Copy link

towry commented Aug 28, 2020

I think this issue can be closed due to this #27261 (comment)

No need for more logs.

@joyeecheung

@bnoordhuis
Copy link
Member

Closing per the previous comment, thanks @towry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
async_hooks Issues and PRs related to the async hooks subsystem. inspector Issues and PRs related to the V8 inspector protocol
Projects
None yet
Development

No branches or pull requests

8 participants