-
-
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
nim cpp -r --gc:arc
segfaults on caught AssertionError
#13071
Comments
I was able to reproduce this with nim-9fc04a555ca0fc9eaff6d4eb9ba47a0a64feb9c2 compiled with and compling client code with gcc-8.3.0 on Linux with no user nim.cfg and only proc doIt() =
raise newException(CatchableError, "")
try:
doIt()
except:
quit(1) Putting the This all seemed really basic. So, I went to Commenting out said block makes |
@c-blake Your bug has been fixed, but the original bug with |
Cool. Yeah, bug seems squashed to me. Thanks for the rapid response and good luck with the cpp target. |
…n caught AssertionError
…n caught AssertionError (nim-lang#14323)
nim cpp -r --gc:arc
segfaults on dereferencinge
inException as e
Example
Current Output
nim cpp -r --gc:arc main.nim
Expected Output
Additional Information
nim cpp --gc:arc
is ok #13070nim c --gc:arc --exceptions:goto
doesn't crash but gives:this is NOT discussed in this issue
The text was updated successfully, but these errors were encountered: