GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Diagnostic report does not report javascriptStack - making it essentially useless · Issue #34896 · nodejs/node Closed Closed Copy link Labels invalidIssues and PRs that are invalid. Description
What steps will reproduce the bug?Here's a sample program I wrote to repro the issue. function sleep(ms) { return new Promise(res => setTimeout(res, ms)) } async function h() { for (let i = 0; i < 10000; i++) { try { throw new Error("BAH") } catch (e) { await sleep(6) } } } async function g() { await h() } async function f() { await g() } f() Running this with View the report file. How often does it reproduce? Is there a required condition?Reproduce every time. What is the expected behavior?I tested the same program with Node 10 + node-report. A stack trace is reported. What do you see instead?Additional informationNote that this is not a consistent behavior - sometimes node 10 also reports No stack trace, but I've repeatedly tested Node 12 and no stack trace is reported, ever (after about seeing 40 reports). This is definitely a better way to reproduce this, but I do believe there's a pattern here. The example above is for demonstration purpose. This also applies with a real world express application. Without the javascriptStack, it renders the diagnostic report useless - Basically all other info can be obtained easily and not as useful for debugging. Let me know if any further info is needed. I believe this is a high-pri breakage on a major feature. Activity
MetadataMetadataAssigneesLabelsinvalidIssues and PRs that are invalid. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |