-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.domainIssues and PRs related to the domain subsystem.Issues and PRs related to the domain subsystem.replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
Description
- Version: v6.10.0
- Platform:
Linux localhost.hsd1.tn.comcast.net 4.10.8-200.fc25.x86_64 #1 SMP Fri Mar 31 13:20:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
- Subsystem:
timer
If I run
setTimeout(function() { throw null }, 0)
the REPL crashes with
TypeError: Cannot read property 'stack' of null
at Domain.<anonymous> (repl.js:392:17)
at emitOne (events.js:96:13)
at Domain.emit (events.js:188:7)
at Domain._errorHandler (domain.js:97:23)
at process._fatalException (bootstrap_node.js:293:33)
Obviously such code is buggy (and would normally cause a crash). However, I don’t think that it should crash the toplevel, hence this report.
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.domainIssues and PRs related to the domain subsystem.Issues and PRs related to the domain subsystem.replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.