Hey,
I am developing a C++ application on the AGX Xavier with a live camera stream.
I am sporadically having a strange issue that I don’t know where to start addressing from.
While my cameras are working sometimes I would get in the log the following message:
(Argus) Error FileOperationFailed: Socket poll failed: Interrupted system call (in src/rpc/socket/common/SocketUtils.cpp, function readSocket(), line 69) (Argus) Error FileOperationFailed: Unexpected error in reading socket (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 266) (Argus) Error FileOperationFailed: Receiving thread terminated with error (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadWrapper(), line 368)
This doesn’t seem to affect the application as everything seems to continue to work fine, but when I try to close the application I get an error and the debugger stops at an access violation.
While the application is closing I see some more Argus messages in the log
(Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96) (Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 87) (Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96) (Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 87)
Then the crash happens. The callstack is not very helpful . Starts with GST_CAT_DEFAULT and then some assembly that I cannot make sense of.
To run my Cameras I am using OpenCV VideoCapture interfacing with GStreamer.
Any ideas what I might be doing wrong and how I can start unfolding this problem?