-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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 crashes with assertion failure while using Chrome DevTools and remote debug #17259
Comments
Do you have a reproduction for this? |
I added a reproduction instruction, but I am only able to reproduce this on one of three computers and only while using Webstorm 2017.2.5. Webstorm 2017.1.4 seems to work fine. |
It crashes by using Step-Out instead of Resume. |
@SamuelSchepp do you have async stack traces enabled for the debugging? Could you try running your application without inspector/WebStorm but add the In |
I'm pretty sure I'm hitting this using node9.2.0 (prebuilt) on Ubuntu 16.04.3 w/ Chrome DevTools running on macOS: (nodeenv-prebuilt-9.2.0)npm@ubuntu160403:~$ node --inspect-brk --inspect-port=7999 /var/cache/npm/node_modules/npm-proxy-cache/bin/npm-proxy-cache -e -h proxy -p 8000
Debugger listening on ws://127.0.0.1:7999/41b5c599-90ab-4930-9ede-10f4979e38ec
For help see https://nodejs.org/en/docs/inspector
Debugger attached.
[2017-11-23 17:19:02.003] [INFO] proxy - Listening on proxy:8000 [31014]
/var/cache/npm/nodeenv-prebuilt-9.2.0/bin/node[31014]: ../src/node.cc:1449:void node::InternalCallbackScope::Close(): Assertion `(env_->trigger_async_id()) == (0)' failed.
1: node::Abort() [node]
2: node::Assert(char const* const (*) [4]) [node]
3: node::InternalCallbackScope::~InternalCallbackScope() [node]
4: node::NodePlatform::FlushForegroundTasksInternal() [node]
5: node::inspector::NodeInspectorClient::runMessageLoopOnPause(int) [node]
6: v8_inspector::V8Debugger::BreakProgramRequested(v8::Local<v8::Context>, v8::Local<v8::Object>, v8::Local<v8::Value>, std::vector<int, std::allocator<int> > const&) [node]
7: v8::internal::Debug::OnDebugBreak(v8::internal::Handle<v8::internal::FixedArray>) [node]
8: v8::internal::Debug::HandleDebugBreak(v8::internal::IgnoreBreakMode) [node]
9: v8::internal::StackGuard::HandleInterrupts() [node]
10: v8::internal::Runtime_StackGuard(int, v8::internal::Object**, v8::internal::Isolate*) [node]
11: 0x320b44d842fd
Aborted (core dumped) Initially I was able to debug, it started after I had set breakpoints, changed the nodejs code (to instrument buggy code in |
The same happens for me with Node.js 10.1.0 on Ubuntu 18.10:
The issue happens when I add |
Same thing happens for me.
Here you can find an MCVE https://gist.github.com/chris-asl/24f2829f460e11012a12eb13bf3fb688 as a git repo (there's also a link to a core dump from Ubuntu). Follow the steps bellow to reproduce:
|
I'm getting the same issue using node v10.14.1 and node v11.8.0 on macos 10.14.2.
|
Node v10.15.1 on Debain 9.5
|
Happening for me as well.
|
Node: v12.18.3 on Debian 10.5
|
Node v12.14.1 on Linux 4.9.186
|
i get a very similar stacktrace on node 12.20.1, but its not related to but i wanted to share it because the stack trace looks similar
|
@macrozone You're not running a meteor app having just upgraded to 2.0 by any chance, are you? We're experiencing this. |
@macrozone Not sure if you're using |
yeah! we indeed had the exact same problem and figured it out yesterday 🤦♂️ we updated to meteor 2.0 and use datadog and fixed it by setting |
Hi folks! If you're running into this while using Meteor and If anyone is able to provide a reproduction case, that would be fantastic. Please let us know on that thread. Thanks! |
Given that this seems to still be an issue that isn't limited to v10.x, and given that v10.x is reaching end of life, I'm removing the v10.x label. |
8.9.1 LTS
macOS 10.13.1 (17B48) (Darwin Kernel Version 17.2.0)
Webstorm 2017.2.5
Chrome: 62.0.3202.94
No crash using Webstorm 2017.1.4
While using the Chrome DevTools and node --inspect, the node process crashes right after Chrome auto-detected the debug session as a network target.
Reproduce:
mongod --config /usr/local/etc/mongod.conf
npm run build
and configure a run configuration by addingNode.js
Run Configuration and changeJavaScript file
todist/server.js
src/controllers/user.ts
Line 30http://localhost:3000
Step Out
For me, this crash is only reproducible on one of three Mac systems with identical software versions.
The text was updated successfully, but these errors were encountered: