-
Notifications
You must be signed in to change notification settings - Fork 52
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
Random segmentation fault when using orc and threads more than 1 #80
Comments
I expect ORC to be compatible with the current default GC so it would be nice to confirm whether this is an ORC bug. Can you raise the same in the Nim repo? |
Sure, I'll post the issue there too. |
@dirtboll, did you ever post in in the main repo? Would be nice to have the issue linked here so it's easier to track. I just faced the same issue today with the devel version of Nim which enables |
I forgot, it's been 4 months... |
have you tried after #89 merged ? I run test locally result seem stable green. |
This minimal code should reproduce the issue.
1.6.8
0.4.1
nimlang/nim
(also tried with WSL2 and GCP debian instance)When running and killing the binary multiple times, the program sometimes runs but most of the times it gives this error:
I initially found the issue when using Jester. After some searching I found that I can solve the issue by commenting this block of code. Other workaround that I did was modifying
Settings.loggers
toref seq[Logger]
, which also removes the random segfault.httpbeast/src/httpbeast.nim
Lines 336 to 339 in 7de559e
The text was updated successfully, but these errors were encountered: