nodejs / node

Node.js JavaScript runtime ✨🐢🚀✨
https://nodejs.org
Other
107.33k stars 29.47k forks source link

inspector: node crashes when Runtime.evaluate with timeout is called #22203

Closed alexkozy closed 6 years ago

alexkozy commented 6 years ago

On attempt to run Runtime.evaluate with timeout flag (ndb and DevTools frontend use this flag for eager evaluation without side effects) Node crashes somewhere around NodePlatform::CallOnForegroundThread method. On Inspector side we call postTask on current platform, most likely current platform is incorrect.

I will debug this issue by myself later this week.

alexkozy commented 6 years ago

/cc @eugeneo

mscdex commented 6 years ago

Duplicate of https://github.com/nodejs/node/issues/22157