Closed Bug 46717 Opened 24 years ago Closed 24 years ago

Crash on pressing button in javascript window

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 42670

People

(Reporter: shrir, Assigned: jst)

References

()

Details

(Keywords: crash)

I see this on today's windows build (2000072704)

Steps:
Visit the page.
Click on 'Enhanced' to open another window.
Observe that a small window titled' The Comet Cursor' opens up.
Click on 'No' to see the browser crash.
The problem here is the the page triggers a JS error, and the JS error handler
for some reason triggers more JS errors, and the JS error handler... The result
of this is that we overflow the stack while infinitely recurse into
NS_ScriptErrorReporter()...

NS_ScriptErrorReporter() needs reentrancy guards, I hacked that up and the crash
is gone...
Status: NEW → ASSIGNED
spam: Adding crash keyword...
Keywords: crash
Nominating for beta3, adding the recursion protection is trivial and definitely
worth it for nsbeta3 since it prevents the crash...
Keywords: nsbeta3
Marking nsbeta3+
Whiteboard: [nsbeta3+]
Adding annotation to the status whiteboard
Whiteboard: [nsbeta3+] → [nsbeta3+] Have hack
Transfering nsbeta3 keywords and marking this as a dup of bug 42670.

*** This bug has been marked as a duplicate of 42670 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Whiteboard: [nsbeta3+] Have hack
Verified Duplicate.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.