Closed khchen closed 1 year ago
I do have a fix for this one
Seems there is a regression. Running the same code as reported outputs the following:
Current Output
ok
Traceback (most recent call last)
.choosenim/toolchains/nim-#devel/lib/pure/concurrency/threadpool.nim(216) test
.choosenim/toolchains/nim-#devel/lib/system/orc.nim(486) nimDecRefIsLastCyclicDyn
.choosenim/toolchains/nim-#devel/lib/system/orc.nim(469) rememberCycle
.choosenim/toolchains/nim-#devel/lib/system/orc.nim(147) unregisterCycle
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
Nim Compiler Version 1.7.3 [MacOSX: amd64] Compiled at 2022-11-09 Copyright (c) 2006-2022 by Andreas Rumpf
git hash: cdb136f58545009d2e38e5f1c4822bcc6dc7df83 active boot switches: -d:release
Report it properly. A test program that fails, a new issue, more information, things like that.
I can create a new issue if that's better, but I used the same code as initially reported and posted the current output.
Ah ok.
I can create a new issue if that's better, but I used the same code as initially reported and posted the current output.
Duplicate of https://github.com/nim-lang/Nim/issues/14901
Example
Current Output
Expected Output
$ nim -v Nim Compiler Version 1.1.1 [Windows: amd64] Compiled at 2020-03-27```