Babylonia RpcClient concurrency issue #8

Closed
opened 2023-08-24 07:12:53 +00:00 by nova · 1 comment
Owner

Crashed last night with log

Aug 24 01:48:23 doggobox Client[573015]: 2023-08-24 01:48:23.047 +00:00|DBG|Babylonia.Rpc.MessageRouter|Deserializing response QueryCharacterInfoResponse (3)
Aug 24 01:58:22 doggobox Client[573015]: 2023-08-24 01:58:22.967 +00:00|INF|Babylonia.PgrClient.PgrClient|No messages sent in 00:10:00, disconnecting...
Aug 24 01:58:22 doggobox Client[573015]: 2023-08-24 01:58:22.968 +00:00|INF|Babylonia.Rpc.RpcClient|Disconnecting [::ffff:8.209.90.146]:2336
Aug 24 01:58:23 doggobox Client[573015]: Unhandled exception. System.InvalidOperationException: RcpClient not connected
Aug 24 01:58:23 doggobox Client[573015]:    at Babylonia.Rpc.RpcClient.Send(ReadOnlySpan`1 message) in /home/nova/Projects/Novalis/PGR/babylonia/Babylonia/src/Rpc/RpcClient.cs:line 107
Aug 24 01:58:23 doggobox Client[573015]:    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
Aug 24 01:58:23 doggobox Client[573015]: --- End of stack trace from previous location ---
Aug 24 01:58:23 doggobox Client[573015]:    at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
Aug 24 01:58:23 doggobox Client[573015]:    at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
Aug 24 01:58:23 doggobox Client[573015]:    at System.Threading.ThreadPoolWorkQueue.Dispatch()
Aug 24 01:58:23 doggobox Client[573015]:    at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
Aug 24 01:58:24 doggobox systemd[1]: babylonia.service: Main process exited, code=dumped, status=6/ABRT
Aug 24 01:58:24 doggobox systemd[1]: babylonia.service: Failed with result 'core-dump'.
Aug 24 01:58:24 doggobox systemd[1]: babylonia.service: Consumed 10.521s CPU time.
Crashed last night with log ``` Aug 24 01:48:23 doggobox Client[573015]: 2023-08-24 01:48:23.047 +00:00|DBG|Babylonia.Rpc.MessageRouter|Deserializing response QueryCharacterInfoResponse (3) Aug 24 01:58:22 doggobox Client[573015]: 2023-08-24 01:58:22.967 +00:00|INF|Babylonia.PgrClient.PgrClient|No messages sent in 00:10:00, disconnecting... Aug 24 01:58:22 doggobox Client[573015]: 2023-08-24 01:58:22.968 +00:00|INF|Babylonia.Rpc.RpcClient|Disconnecting [::ffff:8.209.90.146]:2336 Aug 24 01:58:23 doggobox Client[573015]: Unhandled exception. System.InvalidOperationException: RcpClient not connected Aug 24 01:58:23 doggobox Client[573015]: at Babylonia.Rpc.RpcClient.Send(ReadOnlySpan`1 message) in /home/nova/Projects/Novalis/PGR/babylonia/Babylonia/src/Rpc/RpcClient.cs:line 107 Aug 24 01:58:23 doggobox Client[573015]: at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) Aug 24 01:58:23 doggobox Client[573015]: --- End of stack trace from previous location --- Aug 24 01:58:23 doggobox Client[573015]: at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) Aug 24 01:58:23 doggobox Client[573015]: at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool) Aug 24 01:58:23 doggobox Client[573015]: at System.Threading.ThreadPoolWorkQueue.Dispatch() Aug 24 01:58:23 doggobox Client[573015]: at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() Aug 24 01:58:24 doggobox systemd[1]: babylonia.service: Main process exited, code=dumped, status=6/ABRT Aug 24 01:58:24 doggobox systemd[1]: babylonia.service: Failed with result 'core-dump'. Aug 24 01:58:24 doggobox systemd[1]: babylonia.service: Consumed 10.521s CPU time. ```
nova added the
Kind/Bug
Priority
High
labels 2023-08-24 07:13:05 +00:00
nova added the
Component/Babylonia
label 2023-08-24 07:26:28 +00:00
Author
Owner

Should be resolved when I fixed my locking shenanigans yesterday

Should be resolved when I fixed my locking shenanigans yesterday
nova closed this issue 2023-09-21 08:38:54 +00:00
Sign in to join this conversation.
No description provided.