Open dirtboll opened 1 year ago
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 --gc:orc --threads:on
by default.
I forgot, it's been 4 months... Yeah I've just tested it with the latest nightlies, still got it. Will post right away.
have you tried after https://github.com/dom96/httpbeast/pull/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. https://github.com/dom96/httpbeast/blob/7de559e6eab97763bae16b8a973373e9fe691574/src/httpbeast.nim#L336-L339