Randon nvargus crashes

Hi All,

I’m using a Jetson Nano L4t 32.6.1 eMMc Production module with an IMX219-AF from arducam. I have got the camera working as I’ve intended, but I’ve noticed there are some random crashes that are occurring in the nvargus-daemon.service.

Here are the logs from such crashes:

Oct 21 14:26:11 jetson nvargus-daemon[4166]: === NVIDIA Libargus Camera Service (0.98.3)=== Listening for connections...=== gst-launch-1.0[3912]: Connection establish
Oct 21 14:26:11 jetson nvargus-daemon[4166]: OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
Oct 21 14:26:11 jetson nvargus-daemon[4166]: ---- imager: No override file found. ----
Oct 21 14:26:11 jetson nvargus-daemon[4166]: LSC: LSC surface is not based on full res!
Oct 21 14:26:11 jetson nvargus-daemon[4166]: === gst-launch-1.0[3912]: CameraProvider initialized (0x7f7099a960)LSC: LSC surface is not based on full res!
Oct 21 14:27:09 jetson nvargus-daemon[4166]: SCF: Error Timeout: ISP Stats timed out! (in src/services/capture/NvIspHw.cpp, function waitIspStatsFinished(), line 566)
Oct 21 14:27:09 jetson nvargus-daemon[4166]: SCF: Error Timeout: Sending critical error event (in src/api/Session.cpp, function sendErrorEvent(), line 997)
Oct 21 14:27:09 jetson nvargus-daemon[4166]: SCF: Error Timeout: ISP port 0 timed out! (in src/services/capture/NvIspHw.cpp, function waitIspFrameEnd(), line 478)
Oct 21 14:27:09 jetson nvargus-daemon[4166]: SCF: Error Timeout:  (propagating from src/services/capture/NvIspHw.cpp, function waitIspFrameEnd(), line 524)
Oct 21 14:27:09 jetson nvargus-daemon[4166]: SCF: Error Timeout:  (propagating from src/common/Utils.cpp, function workerThread(), line 116)
Oct 21 14:27:09 jetson nvargus-daemon[4166]: SCF: Error Timeout: Worker thread IspHw frameComplete failed (in src/common/Utils.cpp, function workerThread(), line 133)
Oct 21 14:27:09 jetson nvargus-daemon[4166]: PowerServiceCore:handleRequests: timePassed = 1629
Oct 21 14:27:10 jetson nvargus-daemon[4166]: SCF: Error Timeout: ISP Stats timed out! (in src/services/capture/NvIspHw.cpp, function waitIspStatsFinished(), line 566)
Oct 21 14:27:10 jetson nvargus-daemon[4166]: PowerServiceCore:handleRequests: timePassed = 1520
Oct 21 14:27:12 jetson nvargus-daemon[4166]: Error: waitCsiFrameStart timeout guid 1
Oct 21 14:27:12 jetson nvargus-daemon[4166]: ************VI/CSI Debug Registers**********
Oct 21 14:27:12 jetson nvargus-daemon[4166]: VI_CFG_INTERRUPT_MASK_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: VI_CFG_INTERRUPT_STATUS_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: VI_CSI_0_ERROR_STATUS_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: VI_CSI_0_ERROR_INT_MASK_0 = 0x0000001f
Oct 21 14:27:12 jetson nvargus-daemon[4166]: VI_CSI_1_ERROR_STATUS_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: VI_CSI_1_ERROR_INT_MASK_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: CSI_CSI_PIXEL_PARSER_A_INTERRUPT_MASK_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: CSI_CSI_PIXEL_PARSER_A_STATUS_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: CSI_CSI_PIXEL_PARSER_B_INTERRUPT_MASK_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: CSI_CSI_PIXEL_PARSER_B_STATUS_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: CSI_CSI_CIL_A_INTERRUPT_MASK_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: CSI_CSI_CIL_A_STATUS_0 = 0x00000010
Oct 21 14:27:12 jetson nvargus-daemon[4166]: CSI_CSI_CILA_STATUS_0 = 0x00040041
Oct 21 14:27:12 jetson nvargus-daemon[4166]: CSI_CSI_CIL_B_INTERRUPT_MASK_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: CSI_CSI_CIL_B_STATUS_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: CSI_CSI_CILB_STATUS_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: CSI_CSI_READONLY_STATUS_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: CSI_DEBUG_CONTROL_0 = 0x35791c00
Oct 21 14:27:12 jetson nvargus-daemon[4166]: CSI_DEBUG_COUNTER_0_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: CSI_DEBUG_COUNTER_1_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: CSI_DEBUG_COUNTER_2_0 = 0x00000000
Oct 21 14:27:12 jetson nvargus-daemon[4166]: *****************************************
Oct 21 14:27:21 jetson nvargus-daemon[4166]: SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Oct 21 14:27:21 jetson nvargus-daemon[4166]: Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc

This error only occurs when I run my application which directly uses the video stream. Does anyone know why this error could occur? My application is using OpenCV VideoCapture to process frames from the video.

The issue is seemingly random, and my application will run for some time before it crashes. Rebooting temporarily fixes the issue but it usually occurs again within 10 minutes of turning on.

Any ideas on how I can even debug such an issue?

Could you boost system by below command before run your case to check.

sudo jetson_clocks

Hi @ShaneCCC

Thanks I will try this and continue testing. The issue is fairly rare, but I’ll do my best to monitor it

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.