asyncssh
asyncssh copied to clipboard
Occasional SIGSEGV: Illegal storage access. (Attempt to read from nil?)
I'm using execSSHCmd to send many commands every 30 seconds to two different hosts, occasionally I get the following crash:
Traceback (most recent call last)
/home/user/app/src/apppkg/workers/temp.nim(325) tempProc
/usr/local/lib/nim/pure/asyncdispatch.nim(1935) waitFor
/usr/local/lib/nim/pure/asyncdispatch.nim(1627) poll
/usr/local/lib/nim/pure/asyncdispatch.nim(1368) runOnce
/usr/local/lib/nim/pure/asyncdispatch.nim(208) processPendingCallbacks
/usr/local/lib/nim/pure/asyncmacro.nim(29) executeNimAsyncContinue
/home/user/app/src/apppkg/workers/temp.nim(267) executeIter
/usr/local/lib/nim/pure/asyncdispatch.nim(1935) waitFor
/usr/local/lib/nim/pure/asyncdispatch.nim(1627) poll
/usr/local/lib/nim/pure/asyncdispatch.nim(1368) runOnce
/usr/local/lib/nim/pure/asyncdispatch.nim(208) processPendingCallbacks
/usr/local/lib/nim/pure/asyncmacro.nim(29) execNimAsyncContinue
/home/user/.nimble/pkgs/asyncssh-#HEAD/asyncssh.nim(209) execIter
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
I've not yet found a way to reproduce the issue in a controlled manner; it can take several hours of commands before my application encounters the issue