NvCamera Daemon Errors on Boot

I am in the process of trying to get a tx2 to boot repeatedly while initiating gstream pipelines on startup. I have been doing hard reboots and soft reboots and trying to track down failures when they inevitably occur communicating with the daemon. Most recently, I have an error that the daemon is producing while trying to instantiate gstreamer to read from the camera. This error does not crash everything, but stops supplying images to the gstream pipeline.

I have a script that runs gstream pipelines at the moment. The script is as such:
gst-launch-1.0 nvcamerasrc sensor-id=$1 fpsRange=“30.0 30.0” ! ‘video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)I420, framerate=(fraction)30/1’ ! nvtee ! nvvidconv ! ‘video/x-raw, format=(string)I420, framerate=(fraction)30/1’ ! tee ! v4l2sink device=/dev/video$2

It is executed like

./test_gst.sh 0 6

where 0 is the nvcamerasrc id and 6 is a loopback device used for viewing.

The syslog error is as follows:

Apr 18 15:31:28 tegra-ubuntu nvcamera-daemon[1773]: (547619746272) REQ_NVCAM_ENABLE_METADATA Enabled=0
Apr 18 15:31:33 tegra-ubuntu nvcamera-daemon[1773]: (547628134880) Error in calling capture= 31 result= 8
Apr 18 15:31:33 tegra-ubuntu nvcamera-daemon[1773]: message repeated 5 times: [ (547628134880) Error in calling capture= 31 result= 8]
Apr 18 15:31:33 tegra-ubuntu nvcamera-daemon[1773]: (547628134880) Error in calling capture= 31 result= 8

Please check
https://devtalk.nvidia.com/default/topic/1050435/jetson-tx2/kernel-panic-on-running-nvcamera-daemon-processes/post/5331225/#5331225