Required Info:
- Software Version
DRIVE OS 6.0.8.1 - Target OS
Linux - SDK Manager Version
1.9.2.10884 - Host Machine Version
native Ubuntu Linux 20.04 Host installed with DRIVE OS DOCKER Containers
Describe the bug
As described in previous topics [BUG] cgf helloworld example 6.0.8.1 return status 1, stm_master errno=11 (Resource temporarily unavailable) - DRIVE AGX Orin / DRIVE AGX Orin General - NVIDIA Developer Forums [BUG] cgf helloworld example 6.0.8.1 throw NvSciIpcOpenEndpointWithEventService() failed; Returned err: 514 - DRIVE AGX Orin / DRIVE AGX Orin General - NVIDIA Developer Forums , there are issues when cgf app exits, returning multiple errors, rerun failed and requiring reboot.
To Reproduce
see [BUG] cgf helloworld example 6.0.8.1 return status 1, stm_master errno=11 (Resource temporarily unavailable) - DRIVE AGX Orin / DRIVE AGX Orin General - NVIDIA Developer Forums [BUG] cgf helloworld example 6.0.8.1 throw NvSciIpcOpenEndpointWithEventService() failed; Returned err: 514 - DRIVE AGX Orin / DRIVE AGX Orin General - NVIDIA Developer Forums ,
Expected behavior
the simple official cgf helloworld app can run multiple times, easily and repeatably.
Actual behavior
see [BUG] cgf helloworld example 6.0.8.1 return status 1, stm_master errno=11 (Resource temporarily unavailable) - DRIVE AGX Orin / DRIVE AGX Orin General - NVIDIA Developer Forums [BUG] cgf helloworld example 6.0.8.1 throw NvSciIpcOpenEndpointWithEventService() failed; Returned err: 514 - DRIVE AGX Orin / DRIVE AGX Orin General - NVIDIA Developer Forums ,
the helloworld app run only once after a fresh new reboot, and often cannot be rerun, and needing reboot again.
Additional context
Lets take the official sample nv_driveworks/driveworks-5.14/bin/run_cgf_demo.sh at main · ZhenshengLee/nv_driveworks · GitHub for example
-
I write a
runHelloworld.sh
according the sample/run_cgf_demo.sh
, please check if there is any mistake to make the app unable to exit gracefully
runHelloworld.sh.txt (12.5 KB) -
Is there a best practice to ensure the gracefully exiting? Please show and write it in the shell, so developers can reuse.
Thanks.