Title: crash in repl mode by vm async timeout · Issue #38503 · nodejs/node · GitHub
Open Graph Title: crash in repl mode by vm async timeout · Issue #38503 · nodejs/node
X Title: crash in repl mode by vm async timeout · Issue #38503 · nodejs/node
Description: Version: v14.16.1 Platform: win10 x64 Subsystem: What steps will reproduce the bug? C:\Users\admin>node Welcome to Node.js v14.16.1. Type ".help" for more information. > a=vm.createContext({},{microtaskMode:"afterEvaluate"}) {} > vm.runI...
Open Graph Description: Version: v14.16.1 Platform: win10 x64 Subsystem: What steps will reproduce the bug? C:\Users\admin>node Welcome to Node.js v14.16.1. Type ".help" for more information. > a=vm.createContext({},{micr...
X Description: Version: v14.16.1 Platform: win10 x64 Subsystem: What steps will reproduce the bug? C:\Users\admin>node Welcome to Node.js v14.16.1. Type ".help" for more information. > a=vm.create...
Opengraph URL: https://github.com/nodejs/node/issues/38503
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"crash in repl mode by vm async timeout","articleBody":"* **Version**: v14.16.1\r\n* **Platform**: win10 x64\r\n* **Subsystem**:\r\n\r\n### What steps will reproduce the bug?\r\n\r\n```\r\nC:\\Users\\admin\u003enode\r\nWelcome to Node.js v14.16.1.\r\nType \".help\" for more information.\r\n\u003e a=vm.createContext({},{microtaskMode:\"afterEvaluate\"})\r\n{}\r\n\u003e vm.runInContext(\"Promise.resolve().then(()=\u003e{while(1){}})\",a,{timeout:5})\r\nUncaught Error: Script execution timed out after 5ms\r\n at Script.runInContext (vm.js:143:18)\r\n at Object.runInContext (vm.js:294:6) {\r\n code: 'ERR_SCRIPT_EXECUTION_TIMEOUT'\r\n}\r\n\u003e Error: async hook stack has become corrupted (actual: 126, expected: 5)\r\n 1: 00007FF6E1F7046F napi_wrap+109311\r\n 2: 00007FF6E1F8DBF3 v8::internal::compiler::Operator::EffectOutputCount+6947\r\n 3: 00007FF6E1F9409A node::CallbackScope::~CallbackScope+570\r\n 4: 00007FF6E1F944FB node::CallbackScope::~CallbackScope+1691\r\n 5: 00007FF6E1F8C1B4 v8::internal::compiler::Operator::EffectOutputCount+228\r\n 6: 00007FF6E1E3E7F3 v8::internal::Isolate::isolate_root_bias+13667\r\n 7: 00007FF6E1E3F36D v8::internal::Isolate::isolate_root_bias+16605\r\n 8: 00007FF6E1E39F19 v8::internal::Space::identity+1257\r\n 9: 00007FF6E1FA9DE8 uv_udp_set_ttl+5176\r\n10: 00007FF6E1FC3D1C uv_loop_init+908\r\n11: 00007FF6E1FC403A uv_run+202\r\n12: 00007FF6E1ED0125 v8::internal::OrderedHashTable\u003cv8::internal::OrderedHashMap,2\u003e::NumberOfBucketsOffset+9365\r\n13: 00007FF6E1F438D7 node::Start+311\r\n14: 00007FF6E1DA676C RC4_options+339564\r\n15: 00007FF6E2D4740C v8::internal::compiler::RepresentationChanger::Uint32OverflowOperatorFor+152316\r\n16: 00007FFEBE457BD4 BaseThreadInitThunk+20\r\n17: 00007FFEC06ECED1 RtlUserThreadStart+33\r\n```","author":{"url":"https://github.com/takayama-lily","@type":"Person","name":"takayama-lily"},"datePublished":"2021-05-02T02:13:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/38503/node/issues/38503"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3594638b-187c-4424-ef3c-b9e55352f93b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB92:4D83E:AC0FA6:EC09EB:6A4DC2A8 |
| html-safe-nonce | e169a45209ec1036b3fce3db284cbee7228c9948de5f3924f6783b9241a73990 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjkyOjREODNFOkFDMEZBNjpFQzA5RUI6NkE0REMyQTgiLCJ2aXNpdG9yX2lkIjoiMzI4NDc1OTA2MDk3NzQwMjUzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 43e88a9492fa98d0c0554f756737ab85e6b69b19c9806e7bb3f699744e97e62a |
| hovercard-subject-tag | issue:873817650 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/38503/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9d2e8e31c056241d32540163e095f96e538f481a359b60ac893ab9a63678dbbc/nodejs/node/issues/38503 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9d2e8e31c056241d32540163e095f96e538f481a359b60ac893ab9a63678dbbc/nodejs/node/issues/38503 |
| og:image:alt | Version: v14.16.1 Platform: win10 x64 Subsystem: What steps will reproduce the bug? C:\Users\admin>node Welcome to Node.js v14.16.1. Type ".help" for more information. > a=vm.createContext({},{micr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | takayama-lily |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width