-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
infinite exception loop in sysFatal leads to out-of-memory #9657
Comments
Here's a small test case close stderr
stderr.writeLine "Error" |
And here's the culprit: Line 21 in e844e53
I think the error message writer should be annotated with |
alaviss
added a commit
to alaviss/Nim
that referenced
this issue
Nov 22, 2018
alaviss
added a commit
to alaviss/Nim
that referenced
this issue
Nov 22, 2018
Araq
pushed a commit
that referenced
this issue
Nov 22, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ah, the joys of exceptions.. nim 0.19ish.
sysFatal calls write that raises an exception that causes sysfatal to be called etc in an infinite loop that eventually eats all memory, when stderr is closed (for example when killing a parent process)
The text was updated successfully, but these errors were encountered: