# R35.4.1 nvargus-daemon \*\*\* stack smashing detected \*\*\*: terminated

**URL:** <https://forums.developer.nvidia.com/t/r35-4-1-nvargus-daemon-stack-smashing-detected-terminated/262953>\
**Category:** Jetson AGX Orin\
**Tags:** camera\
**Created:** [August 12, 2023, 12:09pm UTC](https://forums.developer.nvidia.com/t/r35-4-1-nvargus-daemon-stack-smashing-detected-terminated/262953 "2023-08-12T12:09:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon17190635](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@anon17190635](https://forums.developer.nvidia.com/u/anon17190635)\
**Post date:** [August 12, 2023, 12:09pm UTC](https://forums.developer.nvidia.com/t/r35-4-1-nvargus-daemon-stack-smashing-detected-terminated/262953/1 "2023-08-12T12:09:14Z")

</div>

Hi,

my camera driver was running well on r35.2.1.  
But now on r35.4.1, i try to enumerate camera by “nvargus\_nvraw --lps”

then the daemon program nvargus-daemon crashed with following logs:

> # === NVIDIA Libargus Camera Service (0.99.33)=== Listening for connections…
> 
> # 
> 
> # === nvargus\_nvraw[36626]: Connection established (FFFF7E9A5900)OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0
> 
> OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module1  
> OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module2  
> OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module3  
> OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module4  
> OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module5  
> OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module6  
> OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module7  
> NvPclHwGetModuleList: WARNING: Could not map module to ISP config string  
> NvPclHwGetModuleList: No module data found  
> NvPclHwGetModuleList: WARNING: Could not map module to ISP config string  
> NvPclHwGetModuleList: No module data found  
> NvPclHwGetModuleList: WARNING: Could not map module to ISP config string  
> NvPclHwGetModuleList: No module data found  
> NvPclHwGetModuleList: WARNING: Could not map module to ISP config string  
> NvPclHwGetModuleList: No module data found  
> NvPclHwGetModuleList: WARNING: Could not map module to ISP config string  
> NvPclHwGetModuleList: No module data found  
> NvPclHwGetModuleList: WARNING: Could not map module to ISP config string  
> NvPclHwGetModuleList: No module data found  
> NvPclHwGetModuleList: WARNING: Could not map module to ISP config string  
> NvPclHwGetModuleList: No module data found  
> NvPclHwGetModuleList: WARNING: Could not map module to ISP config string  
> NvPclHwGetModuleList: No module data found  
> OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree  
> ---- imager: No override file found. ----  
> SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceDeviceSensor.cpp, function open(), line 189)  
> \*\*\* stack smashing detected \*\*\*: terminated
> 
> [1]+ Aborted sudo enableCamInfiniteTimeout=1 nvargus-daemon

**I don’t understand why stack smash happened here?**

I tried to run nvargus-daemon with gdb, there is more logs

> (gdb) run  
> Starting program: /usr/sbin/nvargus-daemon  
> [Thread debugging using libthread\_db enabled]  
> Using host libthread\_db library “/lib/aarch64-linux-gnu/libthread\_db.so.1”.  
> === NVIDIA Libargus Camera Service (0.99.33)=== Listening for connections…
> 
> [New Thread 0xfffff4868900 (LWP 50408)]  
> === nvargus\_nvraw[50406]: Connection established (FFFFF4868900)[New Thread 0xffffefffb900 (LWP 50410)]  
> Thread 1 getting next capture  
> Thread 1 is waiting[New Thread 0xffffef7fa900 (LWP 50411)]
> 
> Thread 2 getting next capture  
> Thread 2 is waiting[New Thread 0xffffeeff9900 (LWP 50412)]
> 
> Thread 3 getting next capture  
> Thread 3 is waiting[New Thread 0xffffee7f8900 (LWP 50413)]
> 
> Thread 4 getting next capture  
> Thread 4 is waiting[New Thread 0xffffedff7900 (LWP 50414)]
> 
> Thread 5 getting next capture  
> Thread 5 is waiting[New Thread 0xffffed7f6900 (LWP 50415)]
> 
> Thread 6 getting next capture  
> Thread 6 is waiting[New Thread 0xffffecff5900 (LWP 50416)]
> 
> Thread 7 getting next capture  
> Thread 7 is waiting[New Thread 0xffffec7f4900 (LWP 50417)]
> 
> Thread 8 getting next capture  
> [New Thread 0xffffebff3900 (LWP 50418)]  
> Thread 8 is waiting[New Thread 0xffffeb7f2900 (LWP 50419)]
> 
> Thread 9 getting next capture[New Thread 0xffffeaff1900 (LWP 50420)]
> 
> Thread 11 getting next capture[New Thread 0xffffea7f0900 (LWP 50421)]
> 
> Thread 9 is waiting  
> Thread 12 getting next capture  
> Thread 11 is waiting  
> Thread 10 getting next capture  
> Thread 12 is waiting  
> Starting services…  
> Thread 10 is waiting[New Thread 0xffffe9857900 (LWP 50425)]
> 
> Worker thread IspHw frameComplete start  
> [New Thread 0xffffe9056900 (LWP 50426)]  
> Worker thread CaptureScheduler checkFramePending start  
> [New Thread 0xffffe8855900 (LWP 50427)]  
> Worker thread CaptureScheduler frameStart start  
> [New Thread 0xffffe8054900 (LWP 50429)]  
> Worker thread V4L2CaptureScheduler checkCaptureComplete start  
> [New Thread 0xffffe7853900 (LWP 50430)]  
> Worker thread V4L2CaptureScheduler issueCaptures start  
> [New Thread 0xffffdefb9900 (LWP 50433)]  
> [New Thread 0xffffde6a2900 (LWP 50436)]  
> Worker thread PS handleRequests start  
> getInstance: s\_instance(0xfffff0634a30)  
> getInstance: s\_instance(0xfffff0634a30)  
> subscribe: SensorType(gyroscope)  
> subscribe: create SensorType(gyroscope) sensor(0xfffff04a5ae0)  
> subscribe: SensorType(accelerometer)  
> subscribe: create SensorType(accelerometer) sensor(0xfffff0484e00)  
> AC plugin not present: dlopen “acplugin.so”, acplugin.so: cannot open shared object file: No such file or directory  
> Services are started  
> NvPclSetHotplugCallback: ++++++++++++++++++++++  
> ---- Imager: Calibration blob file handling supported in this build ----  
> NvPclHwGetModuleList: OFParserListModules Succeeded  
> NvPclModuleListInitialize: numBuiltinModules 8 11  
> OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0  
> OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module1  
> OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module2  
> OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module3  
> OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module4  
> OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module5  
> OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module6  
> OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module7  
> NvPclHwGetModuleList: WARNING: Could not map module to ISP config string  
> NvPclHwGetModuleList: No module data found  
> NvPclHwPrintModuleDefinition – Name: ar0820\_front\_0120  
> NvPclHwPrintModuleDefinition – Position: 1  
> NvPclHwPrintModuleDefinition – CalibrationData Found: 1  
> NvPclHwPrintCameraSubModule – HwCamSubModule[0].Name: v4l2\_sensor  
> NvPclHwPrintCameraSubModule – HwCamSubModule[0].DevName: ar0820 1-0011  
> NvPclHwGetModuleList: WARNING: Could not map module to ISP config string  
> NvPclHwGetModuleList: No module data found  
> NvPclHwPrintModuleDefinition – Name: ar0820\_front\_0030  
> NvPclHwPrintModuleDefinition – Position: 1  
> NvPclHwPrintModuleDefinition – CalibrationData Found: 1  
> NvPclHwPrintCameraSubModule – HwCamSubModule[0].Name: v4l2\_sensor  
> NvPclHwPrintCameraSubModule – HwCamSubModule[0].DevName: ar0820 1-0012  
> NvPclHwGetModuleList: WARNING: Could not map module to ISP config string  
> NvPclHwGetModuleList: No module data found  
> NvPclHwPrintModuleDefinition – Name: ar0820\_rear\_0070  
> NvPclHwPrintModuleDefinition – Position: 0  
> NvPclHwPrintModuleDefinition – CalibrationData Found: 1  
> NvPclHwPrintCameraSubModule – HwCamSubModule[0].Name: v4l2\_sensor  
> NvPclHwPrintCameraSubModule – HwCamSubModule[0].DevName: ar0820 1-0013  
> NvPclHwGetModuleList: WARNING: Could not map module to ISP config string  
> NvPclHwGetModuleList: No module data found  
> NvPclHwPrintModuleDefinition – Name: ar0820\_rear\_0030  
> NvPclHwPrintModuleDefinition – Position: 0  
> NvPclHwPrintModuleDefinition – CalibrationData Found: 1  
> NvPclHwPrintCameraSubModule – HwCamSubModule[0].Name: v4l2\_sensor  
> NvPclHwPrintCameraSubModule – HwCamSubModule[0].DevName: ar0820 1-0014  
> NvPclHwGetModuleList: WARNING: Could not map module to ISP config string  
> NvPclHwGetModuleList: No module data found  
> NvPclHwPrintModuleDefinition – Name: ar0820\_frontleft\_0120  
> NvPclHwPrintModuleDefinition – Position: 54  
> NvPclHwPrintModuleDefinition – CalibrationData Found: 1  
> NvPclHwPrintCameraSubModule – HwCamSubModule[0].Name: v4l2\_sensor  
> NvPclHwPrintCameraSubModule – HwCamSubModule[0].DevName: ar0820 7-0015  
> NvPclHwGetModuleList: WARNING: Could not map module to ISP config string  
> NvPclHwGetModuleList: No module data found  
> NvPclHwPrintModuleDefinition – Name: ar0820\_rearleft\_0120  
> NvPclHwPrintModuleDefinition – Position: 66  
> NvPclHwPrintModuleDefinition – CalibrationData Found: 1  
> NvPclHwPrintCameraSubModule – HwCamSubModule[0].Name: v4l2\_sensor  
> NvPclHwPrintCameraSubModule – HwCamSubModule[0].DevName: ar0820 7-0016  
> NvPclHwGetModuleList: WARNING: Could not map module to ISP config string  
> NvPclHwGetModuleList: No module data found  
> NvPclHwPrintModuleDefinition – Name: ar0820\_frontright\_0120  
> NvPclHwPrintModuleDefinition – Position: 54  
> NvPclHwPrintModuleDefinition – CalibrationData Found: 1  
> NvPclHwPrintCameraSubModule – HwCamSubModule[0].Name: v4l2\_sensor  
> NvPclHwPrintCameraSubModule – HwCamSubModule[0].DevName: ar0820 7-0017  
> NvPclHwGetModuleList: WARNING: Could not map module to ISP config string  
> NvPclHwGetModuleList: No module data found  
> NvPclHwPrintModuleDefinition – Name: ar0820\_rearright\_0120  
> NvPclHwPrintModuleDefinition – Position: 66  
> NvPclHwPrintModuleDefinition – CalibrationData Found: 1  
> NvPclHwPrintCameraSubModule – HwCamSubModule[0].Name: v4l2\_sensor  
> NvPclHwPrintCameraSubModule – HwCamSubModule[0].DevName: ar0820 7-0018  
> NvPclHwGetModuleList: OFParserListModules Succeeded  
> NvPclModuleListInitialize: numBuiltinModules 8 22  
> NvPclModuleListInitialize: NvPclModule list[0]: ar0820\_front\_0120 position 1 numBuiltinModules 8  
> NvPclModuleListInitialize: NvPclModule list[1]: ar0820\_front\_0030 position 1 numBuiltinModules 8  
> NvPclModuleListInitialize: NvPclModule list[2]: ar0820\_rear\_0070 position 0 numBuiltinModules 8  
> NvPclModuleListInitialize: NvPclModule list[3]: ar0820\_rear\_0030 position 0 numBuiltinModules 8  
> NvPclModuleListInitialize: NvPclModule list[4]: ar0820\_frontleft\_0120 position 54 numBuiltinModules 8  
> NvPclModuleListInitialize: NvPclModule list[5]: ar0820\_rearleft\_0120 position 66 numBuiltinModules 8  
> NvPclModuleListInitialize: NvPclModule list[6]: ar0820\_frontright\_0120 position 54 numBuiltinModules 8  
> NvPclModuleListInitialize: NvPclModule list[7]: ar0820\_rearright\_0120 position 66 numBuiltinModules 8  
> NvPclHwScanExternalCameras – adding video9 to discover list  
> NvPclHwScanExternalCameras – adding video8 to discover list  
> NvPclHwScanExternalCameras – adding video7 to discover list  
> NvPclHwScanExternalCameras – adding video6 to discover list  
> NvPclHwScanExternalCameras – adding video5 to discover list  
> NvPclHwScanExternalCameras – adding video4 to discover list  
> NvPclHwScanExternalCameras – adding video3 to discover list  
> NvPclHwScanExternalCameras – adding video2 to discover list  
> NvPclHwScanExternalCameras – adding video11 to discover list  
> NvPclHwScanExternalCameras – adding video10 to discover list  
> NvPclHwScanExternalCameras – adding video1 to discover list  
> NvPclHwScanExternalCameras – adding video0 to discover list  
> NvPclModuleListInitialize: numPlugableModules 12 +++  
> NvPclHwScanExternalCameras – adding video9 to discover list  
> NvPclHwScanExternalCameras – adding video8 to discover list  
> NvPclHwScanExternalCameras – adding video7 to discover list  
> NvPclHwScanExternalCameras – adding video6 to discover list  
> NvPclHwScanExternalCameras – adding video5 to discover list  
> NvPclHwScanExternalCameras – adding video4 to discover list  
> NvPclHwScanExternalCameras – adding video3 to discover list  
> NvPclHwScanExternalCameras – adding video2 to discover list  
> NvPclHwScanExternalCameras – adding video11 to discover list  
> NvPclHwScanExternalCameras – adding video10 to discover list  
> NvPclHwScanExternalCameras – adding video1 to discover list  
> NvPclHwScanExternalCameras – adding video0 to discover list  
> NvPclHwAddModules isVirtual 1 ^^^^^^^^  
> NvPclHwScanExternalCameras – adding video9 to discover list  
> NvPclHwScanExternalCameras – adding video8 to discover list  
> NvPclHwScanExternalCameras – adding video7 to discover list  
> NvPclHwScanExternalCameras – adding video6 to discover list  
> NvPclHwScanExternalCameras – adding video5 to discover list  
> NvPclHwScanExternalCameras – adding video4 to discover list  
> NvPclHwScanExternalCameras – adding video3 to discover list  
> NvPclHwScanExternalCameras – adding video2 to discover list  
> NvPclHwScanExternalCameras – adding video11 to discover list  
> NvPclHwScanExternalCameras – adding video10 to discover list  
> NvPclHwScanExternalCameras – adding video1 to discover list  
> NvPclHwScanExternalCameras – adding video0 to discover list  
> NvPclHwAddModules isVirtual 1 ^^^^^^^^  
> NvPclHwAddModules isVirtual 0 ^^^^^^^^  
> NvPclHwAddModules isVirtual 0 ^^^^^^^^  
> NvPclModuleListInitialize: numPlugableModules 0 —  
> getHotplugMonitor: Getting hotplug monitor instance  
> initializeHotplug++  
> [New Thread 0xffffddea1900 (LWP 50481)]  
> hotPlugfunc ++  
> addWatch: Watch added wd=‘1’  
> CheckProcDTExists: INFO: accessing /proc/device-tree/tegra-virtual-camera-platform/modules; No such file or directory  
> OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree  
> setHotplugCallback: Registered new callback client  
> NvPclSetHotplugCallback: ----------------------  
> hotPlugfunc: reading from inotify FD, Thread waiting  
> numSources: numSources 8
> 
> numSources: numSources 8
> 
> numSources: numSources 8
> 
> getSource: index 0 and numSources 8
> 
> numSources: numSources 8
> 
> numSources: numSources 8
> 
> addSourceByIndex: index 0 and guid 0ud
> 
> NvPclOpen: ++++++++++++++++++++++  
> NvPclStateControllerOpen: Found GUID 0 match at index[2]  
> NvPclStateControllerOpen: Found GUID 0 match at index[3]  
> NvPclHwInitializeModule: allocate overrides pathname @ 0xfffff0570400  
> NvPclHwInitializeModule: allocate overrides pathname @ 0xfffff0633520  
> NvPclHwInitializeModule: allocate overrides pathname @ 0xfffff04a0ad0  
> NvPclHwInitializeModule: allocate overrides pathname @ 0xfffff0575a60  
> NvPclHwInitializeModule: allocate overrides pathname @ 0xfffff08e56c0  
> NvPclHwInitializeModule: allocate overrides pathname @ 0xfffff08481f0  
> LoadOverridesFile: looking for override file [/Calib/camera\_override.isp] 1/16  
> CheckOverridesPermissions: stat(/Calib/camera\_override.isp) call failed  
> LoadOverridesFile: looking for override file [/data/vendor/nvcam/settings/camera\_overrides.isp] 2/16  
> CheckOverridesPermissions: stat(/data/vendor/nvcam/settings/camera\_overrides.isp) call failed  
> LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera\_overrides.isp] 3/16  
> CheckOverridesPermissions: stat(/opt/nvidia/nvcam/settings/camera\_overrides.isp) call failed  
> LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera\_overrides.isp] 4/16  
> CheckOverridesPermissions: stat(/var/nvidia/nvcam/settings/camera\_overrides.isp) call failed  
> LoadOverridesFile: looking for override file [/data/vendor/nvcam/camera\_overrides.isp] 5/16  
> CheckOverridesPermissions: stat(/data/vendor/nvcam/camera\_overrides.isp) call failed  
> LoadOverridesFile: looking for override file [/data/vendor/nvcam/settings/ar0820\_front\_0120.isp] 6/16  
> CheckOverridesPermissions: stat(/data/vendor/nvcam/settings/ar0820\_front\_0120.isp) call failed  
> LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/ar0820\_front\_0120.isp] 7/16  
> CheckOverridesPermissions: stat(/opt/nvidia/nvcam/settings/ar0820\_front\_0120.isp) call failed  
> LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/ar0820\_front\_0120.isp] 8/16  
> CheckOverridesPermissions: stat(/var/nvidia/nvcam/settings/ar0820\_front\_0120.isp) call failed  
> ---- imager: No override file found. ----  
> Imager: looking for override file [/mnt/factory/camera/factory.bin] 1/16  
> Imager: looking for override file [/Calib/factory.bin] 2/16  
> Imager: looking for override file [/Calib/calibration.bin] 3/16  
> Imager: looking for override file [(null)] 4/16  
> Imager: looking for override file [(null)] 5/16  
> Imager: looking for override file [(null)] 6/16  
> Imager: looking for override file [(null)] 7/16  
> Imager: looking for override file [(null)] 8/16  
> Imager: looking for override file [(null)] 9/16  
> Imager: looking for override file [(null)] 10/16  
> Imager: looking for override file [(null)] 11/16  
> Imager: looking for override file [(null)] 12/16  
> Imager: looking for override file [(null)] 13/16  
> Imager: looking for override file [(null)] 14/16  
> Imager: looking for override file [(null)] 15/16  
> Imager: looking for override file [(null)] 16/16  
> Imager: looking for override file [/data/vendor/nvcam/settings/factory.bin] 1/16  
> Imager: looking for override file [/data/vendor/nvcam/settings/ar0820\_front\_0120.bin] 2/16  
> Imager: looking for override file [/opt/nvidia/nvcam/settings/ar0820\_front\_0120.bin] 3/16  
> Imager: looking for override file [/var/nvidia/nvcam/settings/ar0820\_front\_0120.bin] 4/16  
> Imager: looking for override file [(null)] 5/16  
> Imager: looking for override file [(null)] 6/16  
> Imager: looking for override file [(null)] 7/16  
> Imager: looking for override file [(null)] 8/16  
> Imager: looking for override file [(null)] 9/16  
> Imager: looking for override file [(null)] 10/16  
> Imager: looking for override file [(null)] 11/16  
> Imager: looking for override file [(null)] 12/16  
> Imager: looking for override file [(null)] 13/16  
> Imager: looking for override file [(null)] 14/16  
> Imager: looking for override file [(null)] 15/16  
> Imager: looking for override file [(null)] 16/16  
> NvPclCreateDriver: Found NvPcl Driver Hal dev\_name match (v4l2\_sensor)  
> NvPclCreateDriver: Found a Driver name match (v4l2\_sensor)  
> NvPclConnectDrivers: hImager was NULL, creating new imager  
> NvPclInitializeDrivers: v4l2\_sensor ++++++++++++++++++  
> OFDPropertyGetString: could not read property [devnode-bus]  
> OFDPropertyGetString: could not read property [delayed\_gain]  
> OFDPropertyGetString: could not read property [supports-alt-exp]  
> loadBinaryBlob: Binary read 0  
> OFDPropertyGetString: could not read property [type]  
> loadSubType: Sensor type missing in DT, 206  
> OFDPropertyCopyToLong: could not read property [set\_mode\_delay\_ms]  
> OFDPropertyCopyToFloat: could not read property [mode0.gain\_step\_pitch]  
> OFDPropertyCopyToLong: could not read property [mode0.clk\_settletime]  
> OFDPropertyCopyToLong: could not read property [mode0.embedded\_metadata\_width]  
> OFDPropertyCopyToLong: could not read property [mode0.lane\_polarity]  
> OFDPropertyGetString: could not read property [mode0.x\_start]  
> OFDPropertyGetString: could not read property [mode0.y\_start]  
> OFDPropertyGetString: could not read property [mode0.x\_end]  
> OFDPropertyGetString: could not read property [mode0.y\_end]  
> OFDPropertyGetString: could not read property [mode0.h\_scaling]  
> OFDPropertyGetString: could not read property [mode0.v\_scaling]  
> OFDPropertyCopyToLong: could not read property [set\_mode\_delay\_ms]  
> OFDPropertyCopyToFloat: could not read property [mode1.gain\_step\_pitch]  
> OFDPropertyCopyToLong: could not read property [mode1.clk\_settletime]  
> OFDPropertyCopyToLong: could not read property [mode1.embedded\_metadata\_width]  
> OFDPropertyCopyToLong: could not read property [mode1.lane\_polarity]  
> OFDPropertyGetString: could not read property [mode1.x\_start]  
> OFDPropertyGetString: could not read property [mode1.y\_start]  
> OFDPropertyGetString: could not read property [mode1.x\_end]  
> OFDPropertyGetString: could not read property [mode1.y\_end]  
> OFDPropertyGetString: could not read property [mode1.h\_scaling]  
> OFDPropertyGetString: could not read property [mode1.v\_scaling]  
> OFDPropertyCopyToLong: could not read property [set\_mode\_delay\_ms]  
> OFDPropertyCopyToFloat: could not read property [mode2.gain\_step\_pitch]  
> OFDPropertyCopyToLong: could not read property [mode2.clk\_settletime]  
> OFDPropertyCopyToLong: could not read property [mode2.embedded\_metadata\_width]  
> OFDPropertyCopyToLong: could not read property [mode2.lane\_polarity]  
> OFDPropertyGetString: could not read property [mode2.x\_start]  
> OFDPropertyGetString: could not read property [mode2.y\_start]  
> OFDPropertyGetString: could not read property [mode2.x\_end]  
> OFDPropertyGetString: could not read property [mode2.y\_end]  
> OFDPropertyGetString: could not read property [mode2.h\_scaling]  
> OFDPropertyGetString: could not read property [mode2.v\_scaling]  
> initialize: Loaded Driver: 3 Modes Available--------------  
> NvPclInitializeDrivers: v4l2\_sensor ------------------  
> NvPclOpen: ----------------------  
> SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceDeviceSensor.cpp, function open(), line 189)  
> NvPclClose: ++++++++++++++++++++++  
> NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0xfffff0575a60  
> NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0xfffff08e56c0  
> NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0xfffff08481f0  
> NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0xfffff0570400  
> NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0xfffff0633520  
> NvPclCloseModuleDrivers: deallocate/free overrides pathname @ 0xfffff04a0ad0  
> NvPclStateControllerClose: Module ar0820\_front\_0120 closed  
> NvPclClose: ----------------------  
> \*\*\* stack smashing detected \*\*\*: terminated  
> –Type for more, q to quit, c to continue without paging–
> 
> Thread 2 “nvargus-daemon” received signal SIGABRT, Aborted.  
> [Switching to Thread 0xfffff4868900 (LWP 50408)]  
> \_\_GI\_raise (sig=sig@entry=6) at …/sysdeps/unix/sysv/linux/raise.c:50  
> 50 …/sysdeps/unix/sysv/linux/raise.c: No such file or directory.

can u find out the problem here?

---

<div class="post-metadata">

**Author:** ![JerryChang](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/jerrychang/32/14043_2.png) [@JerryChang](https://forums.developer.nvidia.com/u/JerryChang)\
**Post date:** [August 14, 2023, 5:52am UTC](https://forums.developer.nvidia.com/t/r35-4-1-nvargus-daemon-stack-smashing-detected-terminated/262953/3 "2023-08-14T05:52:53Z")

</div>

hello chenghao.shen,

did you apply the camera override files?  
please check removing all files under… `/var/nvidia/nvcam/settings/` for testing.

---

<div class="post-metadata">

**Author:** ![anon17190635](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@anon17190635](https://forums.developer.nvidia.com/u/anon17190635)\
**Post date:** [August 14, 2023, 5:55am UTC](https://forums.developer.nvidia.com/t/r35-4-1-nvargus-daemon-stack-smashing-detected-terminated/262953/4 "2023-08-14T05:55:47Z")

</div>

Yes

i have tried to remove all files under “/var/nvidia/nvcam/settings/”. The result seemed to be the same

---

<div class="post-metadata">

**Author:** ![JerryChang](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/jerrychang/32/14043_2.png) [@JerryChang](https://forums.developer.nvidia.com/u/JerryChang)\
**Post date:** [August 14, 2023, 6:32am UTC](https://forums.developer.nvidia.com/t/r35-4-1-nvargus-daemon-stack-smashing-detected-terminated/262953/5 "2023-08-14T06:32:59Z")

</div>

please refer to [Applications Using V4L2 IOCTL Directly](https://docs.nvidia.com/jetson/archives/r35.4.1/DeveloperGuide/text/SD/CameraDevelopment/CameraSoftwareDevelopmentSolution.html#applications-using-v4l2-ioctl-directly).  
you may test with V4L2 IOCTL to verify basic camera functionality.

---

<div class="post-metadata">

**Author:** ![anon17190635](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@anon17190635](https://forums.developer.nvidia.com/u/anon17190635)\
**Post date:** [August 14, 2023, 6:42am UTC](https://forums.developer.nvidia.com/t/r35-4-1-nvargus-daemon-stack-smashing-detected-terminated/262953/6 "2023-08-14T06:42:07Z")

</div>

With v4l2-ctl ( package v4l-utils ), the camera works.

And i know the first with argus is to test the camera enumeration with “nvargus\_nvraw --lps”. This test failed with the crash of nvargus\_daemon.

---

<div class="post-metadata">

**Author:** ![JerryChang](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/jerrychang/32/14043_2.png) [@JerryChang](https://forums.developer.nvidia.com/u/JerryChang)\
**Post date:** [August 14, 2023, 7:51am UTC](https://forums.developer.nvidia.com/t/r35-4-1-nvargus-daemon-stack-smashing-detected-terminated/262953/7 "2023-08-14T07:51:38Z")

</div>

can you dump the frames or fetching the buffers continuously?  
if yes, there should be something wrong in the sensor device tree, you may dig into [Sensor Software Driver Programming](https://docs.nvidia.com/jetson/archives/r35.4.1/DeveloperGuide/text/SD/CameraDevelopment/SensorSoftwareDriverProgramming.html#sensor-software-driver-programming).

---

<div class="post-metadata">

**Author:** ![anon17190635](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@anon17190635](https://forums.developer.nvidia.com/u/anon17190635)\
**Post date:** [August 14, 2023, 7:59am UTC](https://forums.developer.nvidia.com/t/r35-4-1-nvargus-daemon-stack-smashing-detected-terminated/262953/8 "2023-08-14T07:59:22Z")

</div>

Yes, with v4l2 i can continuously receive frames and sure save to files.

The device tree i use is the same as with version r35.2  
OK i’will then check the device tree to see if there’s change in the new r35.4

---

<div class="post-metadata">

**Author:** ![JerryChang](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/jerrychang/32/14043_2.png) [@JerryChang](https://forums.developer.nvidia.com/u/JerryChang)\
**Post date:** [August 15, 2023, 8:39am UTC](https://forums.developer.nvidia.com/t/r35-4-1-nvargus-daemon-stack-smashing-detected-terminated/262953/9 "2023-08-15T08:39:36Z")

</div>

please go ahead to review the code, you may check [Release Notes (r35.4.1)](https://docs.nvidia.com/jetson/archives/r35.4.1/ReleaseNotes/Jetson_Linux_Release_Notes_r35.4.1.pdf) as see-also.

---

<div class="post-metadata">

**Author:** ![anon17190635](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@anon17190635](https://forums.developer.nvidia.com/u/anon17190635)\
**Post date:** [August 15, 2023, 9:02am UTC](https://forums.developer.nvidia.com/t/r35-4-1-nvargus-daemon-stack-smashing-detected-terminated/262953/10 "2023-08-15T09:02:20Z")

</div>

Hi Jerry,

finally, i find out, the problem is caused by the shared library for r352

> [@CPHY does not work using gst-launch (but works with v4l2)](https://forums.developer.nvidia.com/t/cphy-does-not-work-using-gst-launch-but-works-with-v4l2/246189/7):
>
> hello chenghao.shen, I’m not certain the root cause at the monent. however, please try applying this scf pre-built for a quick testing. i.e. [r3521\_deskew\_libnvscf.7z](https://forums.developer.nvidia.com/uploads/short-url/rW0DLg5xf3Yw44EkCg1RWORN3bw.7z) (1.6 MB)

i forgot to delete it in the new version…

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [September 11, 2023, 7:59am UTC](https://forums.developer.nvidia.com/t/r35-4-1-nvargus-daemon-stack-smashing-detected-terminated/262953/12 "2023-09-11T07:59:46Z")

</div>

Closed on September 11, 2023, 7:59am UTC

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