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

debugger error #102204

Closed
AntoineMaitre opened this issue Jul 11, 2020 · 2 comments
Closed

debugger error #102204

AntoineMaitre opened this issue Jul 11, 2020 · 2 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *duplicate Issue identified as a duplicate of another issue(s) upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@AntoineMaitre
Copy link

Issue Type: Bug

  1. Implement some test code
  2. Debug the test using jestRunIt extension

error details in the terminal console:

illegal access
FATAL ERROR: 
node::inspector::Agent::ToggleAsyncHook Cannot toggle Inspector's AsyncHook, please report this.
 1: 0x100080a4c node::Abort() [/usr/local/bin/node]
 2: 0x100080bc2 node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
 3: 0x100080a62 node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
 4: 0x100129371 node::inspector::Agent::ToggleAsyncHook(v8::Isolate*, v8::Global<v8::Function> const&) [/usr/local/bin/node]
 5: 0x1005feeb1 v8_inspector::V8Debugger::setAsyncCallStackDepth(v8_inspector::V8DebuggerAgentImpl*, int) [/usr/local/bin/node]
 6: 0x1006035b5 v8_inspector::V8DebuggerAgentImpl::disable() [/usr/local/bin/node]
 7: 0x10061262c v8_inspector::V8InspectorSessionImpl::~V8InspectorSessionImpl() [/usr/local/bin/node]
 8: 0x10061283c v8_inspector::V8InspectorSessionImpl::~V8InspectorSessionImpl() [/usr/local/bin/node]
 9: 0x10012a1bf node::inspector::(anonymous namespace)::ChannelImpl::~ChannelImpl() [/usr/local/bin/node]
10: 0x10012a22e node::inspector::(anonymous namespace)::ChannelImpl::~ChannelImpl() [/usr/local/bin/node]
11: 0x10012a3ec std::__1::unique_ptr<std::__1::__hash_node<std::__1::__hash_value_type<int, std::__1::unique_ptr<node::inspector::(anonymous namespace)::ChannelImpl, std::__1::default_delete<node::inspector::(anonymous namespace)::ChannelImpl> > >, void*>, std::__1::__hash_node_destructor<std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<int, std::__1::unique_ptr<node::inspector::(anonymous namespace)::ChannelImpl, std::__1::default_delete<node::inspector::(anonymous namespace)::ChannelImpl> > >, void*> > > >::~unique_ptr() [/usr/local/bin/node]
12: 0x10012a7aa node::inspector::NodeInspectorClient::disconnectFrontend(int) [/usr/local/bin/node]
13: 0x10012a567 node::inspector::(anonymous namespace)::SameThreadInspectorSession::~SameThreadInspectorSession() [/usr/local/bin/node]
14: 0x10012a5b0 node::inspector::(anonymous namespace)::SameThreadInspectorSession::~SameThreadInspectorSession() [/usr/local/bin/node]
15: 0x100138870 std::__1::unique_ptr<node::inspector::(anonymous namespace)::MainThreadSessionState, std::__1::default_delete<node::inspector::(anonymous namespace)::MainThreadSessionState> >::~unique_ptr() [/usr/local/bin/node]
16: 0x1001388ba node::inspector::(anonymous namespace)::DeletableWrapper<node::inspector::(anonymous namespace)::MainThreadSessionState>::~DeletableWrapper() [/usr/local/bin/node]
17: 0x1001390b0 std::__1::unique_ptr<std::__1::__hash_node<std::__1::__hash_value_type<int, std::__1::unique_ptr<node::inspector::Deletable, std::__1::default_delete<node::inspector::Deletable> > >, void*>, std::__1::__hash_node_destructor<std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<int, std::__1::unique_ptr<node::inspector::Deletable, std::__1::default_delete<node::inspector::Deletable> > >, void*> > > >::~unique_ptr() [/usr/local/bin/node]
18: 0x1001390f8 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&) [/usr/local/bin/node]
19: 0x100137e0f node::inspector::MainThreadInterface::RemoveObject(int) [/usr/local/bin/node]
20: 0x1001379e8 node::inspector::MainThreadInterface::DispatchMessages() [/usr/local/bin/node]
21: 0x100138da0 node::inspector::(anonymous namespace)::DispatchMessagesTask::Run() [/usr/local/bin/node]
22: 0x1000d3539 node::PerIsolatePlatformData::RunForegroundTask(std::__1::unique_ptr<v8::Task, std::__1::default_delete<v8::Task> >) [/usr/local/bin/node]
23: 0x1000d28f8 node::PerIsolatePlatformData::FlushForegroundTasksInternal() [/usr/local/bin/node]
24: 0x1006c5182 uv__async_io [/usr/local/bin/node]
25: 0x1006d5882 uv__io_poll [/usr/local/bin/node]
26: 0x1006c563f uv_run [/usr/local/bin/node]
27: 0x10004068a node::Environment::CleanupHandles() [/usr/local/bin/node]
28: 0x100040ab3 node::Environment::RunCleanup() [/usr/local/bin/node]
29: 0x1000b49af node::NodeMainInstance::Run() [/usr/local/bin/node]
30: 0x10005d12c node::Start(int, char**) [/usr/local/bin/node]
31: 0x7fff72b9a3d5 start [/usr/lib/system/libdyld.dylib]
32: 0x6 
[1]    54299 abort      env   /usr/local/bin/node ./node_modules/.bin/jest  -t  --runInBand

VS Code version: Code 1.47.0 (d5e9aa0, 2020-07-09T08:01:54.115Z)
OS version: Darwin x64 18.7.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 16.00GB (3.73GB free)
Process Argv -psn_0_655520
Screen Reader no
VM 0%
Extensions (19)
Extension Author (truncated) Version
jest-snippets and 1.8.0
ng-template Ang 0.1000.3
vscode-node-readme ben 3.0.2
npm-intellisense chr 1.3.0
vscode-eslint dba 2.1.6
githistory don 0.6.5
es7-react-js-snippets dsz 2.8.2
gitlens eam 10.2.2
vscode-npm-script eg2 0.3.12
prettier-vscode esb 5.1.3
vscode-jetbrains-keybindings isu 0.1.9
vscode-docker ms- 1.3.1
vscode-language-pack-en-GB MS- 1.47.3
vscode-language-pack-fr MS- 1.47.3
debugger-for-chrome msj 4.12.9
angular-console nrw 12.0.0
heroku-command pko 0.0.8
rust rus 0.7.8
jestRunIt ves 0.4.0
@weinand weinand assigned connor4312 and unassigned weinand Jul 11, 2020
@weinand weinand added the debug Debug viewlet, configurations, breakpoints, adapter issues label Jul 11, 2020
@connor4312
Copy link
Member

This is nodejs/node#27261

@connor4312 connor4312 added *duplicate Issue identified as a duplicate of another issue(s) upstream Issue identified as 'upstream' component related (exists outside of VS Code) labels Jul 11, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Aug 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *duplicate Issue identified as a duplicate of another issue(s) upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

4 participants
@weinand @connor4312 @AntoineMaitre and others