You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When terminating a REPL session using ^D, the sleep(60) inside pool_cleanup is interrupted. This exception is uncaught, so an uncaught task exception is logged just before the REPL exits:
Unhandled Task ERROR: EOFError: read end of file
Stacktrace:
[1] wait
@ ./asyncevent.jl:136 [inlined]
[2] sleep(sec::Int64)
@ Base ./asyncevent.jl:221
[3] pool_cleanup()
@ CUDA ~/.julia/packages/CUDA/Uurn4/src/pool.jl:129
[4] (::CUDA.var"#197#199")()
@ CUDA ./threadingconstructs.jl:178
To reproduce
Exit a REPL session while the pool_cleanup() task is sleeping.
Expected behavior
I expect this function to exit gracefully when the REPL is closed. The patch for this is probably just:
trysleep(60)
catchbreakend
Version info
Details on Julia:
Julia Version 1.7.2
Commit bf53498635 (2022-02-06 15:21 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, skylake)
Environment:
JULIA_PKG_SERVER =
JULIA_EDITOR = code --wait
Describe the bug
When terminating a REPL session using
^D
, thesleep(60)
insidepool_cleanup
is interrupted. This exception is uncaught, so an uncaught task exception is logged just before the REPL exits:To reproduce
Exit a REPL session while the
pool_cleanup()
task is sleeping.Expected behavior
I expect this function to exit gracefully when the REPL is closed. The patch for this is probably just:
Version info
Details on Julia:
Details on CUDA:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: