Title: recursion error not reported · Issue #14311 · nodejs/node · GitHub
Open Graph Title: recursion error not reported · Issue #14311 · nodejs/node
X Title: recursion error not reported · Issue #14311 · nodejs/node
Description: Version: 6.11.0 Platform: Windows 10 64 bit Subsystem: App just stops without any error information. Eg. "use strict" ; process.on('uncaughtException', function (exception) { console.log(exception); }); var count = 0 ; function recursive...
Open Graph Description: Version: 6.11.0 Platform: Windows 10 64 bit Subsystem: App just stops without any error information. Eg. "use strict" ; process.on('uncaughtException', function (exception) { console.log(exception)...
X Description: Version: 6.11.0 Platform: Windows 10 64 bit Subsystem: App just stops without any error information. Eg. "use strict" ; process.on('uncaughtException', function (exception) { cons...
Opengraph URL: https://github.com/nodejs/node/issues/14311
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"recursion error not reported","articleBody":"\u003c!--\r\nThank you for reporting an issue.\r\n\r\nThis issue tracker is for bugs and issues found within Node.js core.\r\nIf you require more general support please file an issue on our help\r\nrepo. https://github.com/nodejs/help\r\n\r\n\r\nPlease fill in as much of the template below as you're able.\r\n\r\nVersion: output of `node -v`\r\nPlatform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)\r\nSubsystem: if known, please specify affected core module name\r\n\r\nIf possible, please provide code that demonstrates the problem, keeping it as\r\nsimple and free of external dependencies as you are able.\r\n-->\r\n\r\n* **Version**: 6.11.0\r\n* **Platform**: Windows 10 64 bit\r\n* **Subsystem**: \r\n\r\n\u003c!-- Enter your issue details below this comment. -->\r\nApp just stops without any error information. Eg.\r\n\r\n```js\r\n\"use strict\" ;\r\n\r\nprocess.on('uncaughtException', function (exception) {\r\n console.log(exception); \r\n});\r\n\r\nvar count = 0 ;\r\nfunction recursiveFunction(){\r\n console.log(count++);\r\n recursiveFunction();\r\n}\r\nrecursiveFunction() ;\r\n```\r\nThis will run so far then just stop. Try/Catch didn't work either - tried as above with ;\r\n\r\n```js\r\nfunction recursiveFunction(){\r\n console.log(count++);\r\n try{\r\n recursiveFunction();\r\n }\r\n catch(e){\r\n console.log(\"recursion error\");\r\n }\r\n}\r\n```\r\nAgain nothing - just stops.\r\n\r\nHave workaround ;\r\n```js\r\nfunction recursiveFunction(){\r\n console.log(count++);\r\n setImmediate(recursiveFunction);\r\n}\r\n```\r\n\r\nbut original code should report error when fails.","author":{"url":"https://github.com/bobOnGitHub","@type":"Person","name":"bobOnGitHub"},"datePublished":"2017-07-16T20:35:23Z","url":"https://github.com/nodejs/node/issues/14311"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:99113785-a4db-998d-9658-db51a94390c2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B084:D61D9:12F8B8:199221:6AFBDDB0 |
| html-safe-nonce | 139659b72bfd5a6ad2fc1c23a927b8d97c0c482607500eeae626bccf8ee1e1ae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDg0OkQ2MUQ5OjEyRjhCODoxOTkyMjE6NkFGQkREQjAiLCJ2aXNpdG9yX2lkIjoiMzAxMjMyMzA4MzQ3MDc1NzI5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6776de4b214a9361e0ee5ea6964c5ce67e9e51c7d13d65149698872844041ee5 |
| hovercard-subject-tag | issue:243264617 |
| 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/14311/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c26387ac9235bd3224d95addd3b346660f7e1f9b40eaad9cfd8481681f408441/nodejs/node/issues/14311 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c26387ac9235bd3224d95addd3b346660f7e1f9b40eaad9cfd8481681f408441/nodejs/node/issues/14311 |
| og:image:alt | Version: 6.11.0 Platform: Windows 10 64 bit Subsystem: App just stops without any error information. Eg. "use strict" ; process.on('uncaughtException', function (exception) { console.log(exception)... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bobOnGitHub |
| hostname | github.com |
| expected-hostname | github.com |
| None | 744d4381b1c4dbd6d8736c7d7e5bbe7dc11217584e457a3555020c631764e8ec |
| 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 | df859c48a4c8b4c0009c19bb4e82101aacb4b998 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width