I have a Jetson Orin Nano, running with JetPack 5.1.2.
Every time I run a personal application, I get the following error:
pthread_create returned 1 in file "<file directory>/<name_of_the_program>.cpp"
ETL: nullptr pointer dereference: nullpointer ETL ScopedPtr
This error only happens when running my app if the NVIDIA SDK Components are included in the system (installed when flashing my Jetson). Whenever I flash my Jetson only with the Jetson Linux OS, excluding the SDK Components, I can run my app without getting the pthread_create error.
The only way to solve the issue when the NVIDIA SDK Components are installed is by running the following command:
sudo sysctl -w kernel.sched_rt_runtime_us=-1
Default value is 950000.
This workaround is not optimal for two reasons:
- By that I am deactivating the Real-time throttling, which may lead to the system blocking all other tasks and scheduling a faulty task with a CPU load of 100 percent
- The changes are not permanent, so I need to change this value everytime I reboot the system in order to run my app again.
Do you know how I can avoid this issue?
Do you know if there is a way to remove the Nvidia SDK components without needing to reflash the system again?