Argus Error OverFlow

Hi @JerryChang and @ShaneCCC,

I’m completely unable to resolve the issue described in #Post 11.

Additionally, after further testing, we have discovered that very simple functionalities that we had implemented in JP 4.6.1 and extensively tested over time do not work in this JP5.1.1 . For example, we have a ROS2 node that publishes images from our previously mentioned cameras on ROS2 topics, similar to the official gscam package. To achieve this, we use an extremely simple pipeline:

nvarguscamerasrc -> nvvidconv ! video/x-raw(memory:NVMM) -> videoconvert ! video/x-raw,format=(string)BGR -> appsink

After about 20 minutes of running (In the previous JP, it worked smoothly for days), the programme ends. Specifically, it fails to perform GstSample * sample = gst_app_sink_pull_sample(GST_APP_SINK(sink_)) (code line).

[video360_publisher-2] [ERROR] [1706617959.907345911] [sr.video360_publisher_1]: Could not get gstreamer sample.
[video360_publisher-2] [INFO] [1706617959.907749437] [sr.video360_publisher_1]: Stopping gstreamer pipeline...
[video360_publisher-1] [ERROR] [1706617959.998386280] [sr.video360_publisher_0]: Could not get gstreamer sample.
[video360_publisher-1] [INFO] [1706617959.998615819] [sr.video360_publisher_0]: Stopping gstreamer pipeline...
[video360_publisher-3] [ERROR] [1706617960.009455789] [sr.video360_publisher_2]: Could not get gstreamer sample.
[video360_publisher-3] [INFO] [1706617960.009699633] [sr.video360_publisher_2]: Stopping gstreamer pipeline...
[video360_publisher-4] [ERROR] [1706617960.021480961] [sr.video360_publisher_3]: Could not get gstreamer sample.
[video360_publisher-4] [INFO] [1706617960.021715076] [sr.video360_publisher_3]: Stopping gstreamer pipeline...
[video360_publisher-2] (Argus) Error Timeout:  (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
[video360_publisher-2] (Argus) Error Timeout:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
[video360_publisher-2] (Argus) Error Timeout:  (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
[video360_publisher-2] (Argus) Error Timeout:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
[video360_publisher-1] (Argus) Error Timeout:  (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
[video360_publisher-1] (Argus) Error Timeout:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
[video360_publisher-1] (Argus) Error Timeout:  (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
[video360_publisher-1] (Argus) Error Timeout:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
[video360_publisher-3] (Argus) Error Timeout:  (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
[video360_publisher-3] (Argus) Error Timeout:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
[video360_publisher-3] (Argus) Error Timeout:  (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
[video360_publisher-3] (Argus) Error Timeout:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
[video360_publisher-4] (Argus) Error Timeout:  (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
[video360_publisher-4] (Argus) Error Timeout:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
[video360_publisher-4] (Argus) Error Timeout:  (propagating from src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 137)
[video360_publisher-4] (Argus) Error Timeout:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)

In the argus log:

Jan 30 13:32:39 nvargus-daemon[1280]: Module_id 30 Severity 2 : (fusa) Error: ResourceAlreadyInUse All captures are already pending, no idle captures available in:/capture/src/fusaViHandler.cpp 627
Jan 30 13:32:39 nvargus-daemon[1280]: Module_id 30 Severity 2 : (fusa) Error: ResourceAlreadyInUse  propagating from:/capture/src/fusaViHandler.cpp 469
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error ResourceAlreadyInUse:  (propagating from src/services/capture/FusaCaptureViCsiHw.cpp, function startCaptureInternal(), line 816)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error ResourceAlreadyInUse:  (propagating from src/services/capture/CaptureRecord.cpp, function doCSItoMemCapture(), line 530)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error ResourceAlreadyInUse:  (propagating from src/services/capture/CaptureRecord.cpp, function issueCapture(), line 477)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error ResourceAlreadyInUse:  (propagating from src/services/capture/CaptureServiceDevice.cpp, function issueCaptures(), line 1291)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error ResourceAlreadyInUse:  (propagating from src/services/capture/CaptureServiceDevice.cpp, function issueCaptures(), line 1122)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error ResourceAlreadyInUse:  (propagating from src/common/Utils.cpp, function workerThread(), line 114)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error ResourceAlreadyInUse: Worker thread CaptureScheduler frameStart failed (in src/common/Utils.cpp, function workerThread(), line 133)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error Timeout:  (propagating from src/api/Buffer.cpp, function waitForUnlock(), line 644)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error Timeout:  (propagating from src/components/CaptureContainerImpl.cpp, function returnBuffer(), line 426)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState: Capture Scheduler not running (in src/services/capture/CaptureServiceDevice.cpp, function addNewItemToSchedule(), line 906)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/services/capture/CaptureService.cpp, function addRequest(), line 411)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/components/stages/SensorCaptureStage.cpp, function doHandleRequest(), line 86)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/components/stages/OrderedStage.cpp, function doExecute(), line 158)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState: Capture Scheduler not running (in src/services/capture/CaptureServiceDevice.cpp, function addNewItemToSchedule(), line 906)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/services/capture/CaptureService.cpp, function addRequest(), line 411)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/components/stages/SensorCaptureStage.cpp, function doHandleRequest(), line 86)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/components/stages/OrderedStage.cpp, function doExecute(), line 158)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState: Capture Scheduler not running (in src/services/capture/CaptureServiceDevice.cpp, function addNewItemToSchedule(), line 906)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/services/capture/CaptureService.cpp, function addRequest(), line 411)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/components/stages/MemoryToISPCaptureStage.cpp, function doHandleRequest(), line 143)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/components/stages/OrderedStage.cpp, function doExecute(), line 158)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState: Capture Scheduler not running (in src/services/capture/CaptureServiceDevice.cpp, function addNewItemToSchedule(), line 906)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/services/capture/CaptureService.cpp, function addRequest(), line 411)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/components/stages/MemoryToISPCaptureStage.cpp, function doHandleRequest(), line 143)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/components/stages/OrderedStage.cpp, function doExecute(), line 158)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState: Sending critical error event (in src/api/Session.cpp, function sendErrorEvent(), line 992)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState: Sending critical error event (in src/api/Session.cpp, function sendErrorEvent(), line 992)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState: Capture Scheduler not running (in src/services/capture/CaptureServiceDevice.cpp, function addNewItemToSchedule(), line 906)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/services/capture/CaptureService.cpp, function addRequest(), line 411)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/components/stages/MemoryToISPCaptureStage.cpp, function doHandleRequest(), line 143)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/components/stages/OrderedStage.cpp, function doExecute(), line 158)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState: Sending critical error event (in src/api/Session.cpp, function sendErrorEvent(), line 992)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState: Capture Scheduler not running (in src/services/capture/CaptureServiceDevice.cpp, function addNewItemToSchedule(), line 906)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/services/capture/CaptureService.cpp, function addRequest(), line 411)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/components/stages/SensorCaptureStage.cpp, function doHandleRequest(), line 86)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/components/stages/OrderedStage.cpp, function doExecute(), line 158)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState: Sending critical error event (in src/api/Session.cpp, function sendErrorEvent(), line 992)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState: Capture Scheduler not running (in src/services/capture/CaptureServiceDevice.cpp, function addNewItemToSchedule(), line 906)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/services/capture/CaptureService.cpp, function addRequest(), line 411)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/components/stages/SensorCaptureStage.cpp, function doHandleRequest(), line 86)
Jan 30 13:32:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/components/stages/OrderedStage.cpp, function doExecute(), line 158)
Jan 30 13:32:48 nvargus-daemon[1280]: SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Jan 30 13:32:48 nvargus-daemon[1280]: SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Jan 30 13:32:48 nvargus-daemon[1280]: Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc
Jan 30 13:32:48 nvargus-daemon[1280]: Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc
Jan 30 13:32:48 nvargus-daemon[1280]: SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Jan 30 13:32:48 nvargus-daemon[1280]: Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc
Jan 30 13:32:48 nvargus-daemon[1280]: SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Jan 30 13:32:48 nvargus-daemon[1280]: Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc
Jan 30 13:33:39 nvargus-daemon[1280]: SCF: Error InvalidState: 3 buffers still pending during EGLStreamProducer destruction (propagating from src/services/gl/EGLStreamProducer.cpp, function freeBuffers(), line 300)
Jan 30 13:33:39 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/services/gl/EGLStreamProducer.cpp, function ~EGLStreamProducer(), line 49)
Jan 30 13:33:40 nvargus-daemon[1280]: SCF: Error InvalidState: 4 buffers still pending during EGLStreamProducer destruction (propagating from src/services/gl/EGLStreamProducer.cpp, function freeBuffers(), line 300)
Jan 30 13:33:40 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/services/gl/EGLStreamProducer.cpp, function ~EGLStreamProducer(), line 49)
Jan 30 13:33:40 nvargus-daemon[1280]: SCF: Error InvalidState: 4 buffers still pending during EGLStreamProducer destruction (propagating from src/services/gl/EGLStreamProducer.cpp, function freeBuffers(), line 300)
Jan 30 13:33:40 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/services/gl/EGLStreamProducer.cpp, function ~EGLStreamProducer(), line 49)
Jan 30 13:33:40 nvargus-daemon[1280]: SCF: Error InvalidState: 4 buffers still pending during EGLStreamProducer destruction (propagating from src/services/gl/EGLStreamProducer.cpp, function freeBuffers(), line 300)
Jan 30 13:33:40 nvargus-daemon[1280]: SCF: Error InvalidState:  (propagating from src/services/gl/EGLStreamProducer.cpp, function ~EGLStreamProducer(), line 49)

It’s very frustrating; it’s completely impossible to make anything work in this JP, at least with these cameras. I cannot upgrade to a higher JP since my carrier board manufacturer only supports up to JP5.1.1.

I would appreciate any kind of suggestion. Thank you in advance,
Angel