# \[BUG\] cgf helloworld example 6.0.8.1 throw NvSciIpcOpenEndpointWithEventService() failed; Returned err: 514

**URL:** <https://forums.developer.nvidia.com/t/bug-cgf-helloworld-example-6-0-8-1-throw-nvsciipcopenendpointwitheventservice-failed-returned-err-514/275930>\
**Category:** DRIVE AGX Orin General\
**Tags:** driveworks-cgf\
**Created:** [December 13, 2023, 7:48am UTC](https://forums.developer.nvidia.com/t/bug-cgf-helloworld-example-6-0-8-1-throw-nvsciipcopenendpointwitheventservice-failed-returned-err-514/275930 "2023-12-13T07:48:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lizhensheng](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/lizhensheng/32/418124_2.png) [@lizhensheng](https://forums.developer.nvidia.com/u/lizhensheng)\
**Post date:** [December 13, 2023, 7:48am UTC](https://forums.developer.nvidia.com/t/bug-cgf-helloworld-example-6-0-8-1-throw-nvsciipcopenendpointwitheventservice-failed-returned-err-514/275930/1 "2023-12-13T07:48:06Z")

</div>

**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**

running helloworld cgf example throw NvSciIpcOpenEndpointWithEventService() failed; Returned err: 514.

**Actual behavior**

the stm\_master.log shows

```sh
[STM WARNING]:[av/stm/runtime/src/core/stdout.c][logSetVerbose] [26]: Verbose mode has been enabled for STM. ***Note that this mode affects STM latency guarantees, and is meant for use only in debugging. Do not use '-v' for performance testing.
[STM INFO]:[av/stm/runtime/src/master/master.c][stmMasterInitScheduleList] Input Schedule: /home/nvidia/zhaohong/cgf/gaworks_develop_v0.0.0_dt/target/aarch64/install/bin/xplatform_node/DWCGFSingleCameraDeployPipe__standardSchedule.stm
[STM INFO]:[av/stm/runtime/src/master/master.c][stmMasterInitScheduleList] Following 1 schedules provided.
[STM INFO]:[av/stm/runtime/src/master/master.c][stmMasterInitScheduleList] Schedule0 : /home/nvidia/zhaohong/cgf/gaworks_develop_v0.0.0_dt/target/aarch64/install/bin/xplatform_node/DWCGFSingleCameraDeployPipe__standardSchedule.stm.
[STM INFO]:[av/stm/runtime/src/master/master.c][stmMasterInitClientPerSchedule] Schedule ID : 0
[STM INFO]:[av/stm/runtime/src/master/master.c][stmMasterInitClientPerSchedule] Client name: singlePipe_process
[STM INFO]:[av/stm/runtime/src/master/master.c][stmMasterInitClientPerSchedule] Client soc: TegraA
[STM INFO]:[av/stm/runtime/src/master/master.c][stmMasterInitClientPerSchedule] Client name: framesync_TegraA_perceptionHyperepoch_cameraEpoch
[STM INFO]:[av/stm/runtime/src/master/master.c][stmMasterInitClientPerSchedule] Client soc: TegraA
terminate called after throwing an instance of 'nvstm::ReturnedError<NvSciError>'
  what(): NvSciIpcOpenEndpointWithEventService() failed; Returned err: 514
terminate called recursively
terminate called recursively
terminate called recursively
terminate called recursively
terminate called recursively

```

**Additional context**

qst1. what’s the error mean?  
qst2. how to take a work around to avoid this error?

---

<div class="post-metadata">

**Author:** ![lizhensheng](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/lizhensheng/32/418124_2.png) [@lizhensheng](https://forums.developer.nvidia.com/u/lizhensheng)\
**Post date:** [December 13, 2023, 7:48am UTC](https://forums.developer.nvidia.com/t/bug-cgf-helloworld-example-6-0-8-1-throw-nvsciipcopenendpointwitheventservice-failed-returned-err-514/275930/2 "2023-12-13T07:48:52Z")

</div>

@SivaRamaKrishnaNV it’s a blocking issue, please help ASAP.

---

<div class="post-metadata">

**Author:** ![SivaRamaKrishnaNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/sivaramakrishnanv/32/14043_2.png) [@SivaRamaKrishnaNV](https://forums.developer.nvidia.com/u/SivaRamaKrishnaNV)\
**Post date:** [December 13, 2023, 7:53am UTC](https://forums.developer.nvidia.com/t/bug-cgf-helloworld-example-6-0-8-1-throw-nvsciipcopenendpointwitheventservice-failed-returned-err-514/275930/4 "2023-12-13T07:53:19Z")

</div>

Dear @lizhensheng,  
Is it related to topic [[BUG] cgf helloworld example 6.0.8.1 return status 1, stm\_master errno=11 (Resource temporarily unavailable)](https://forums.developer.nvidia.com/t/bug-cgf-helloworld-example-6-0-8-1-return-status-1-stm-master-errno-11-resource-temporarily-unavailable/274264/)?

---

<div class="post-metadata">

**Author:** ![lizhensheng](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/lizhensheng/32/418124_2.png) [@lizhensheng](https://forums.developer.nvidia.com/u/lizhensheng)\
**Post date:** [December 13, 2023, 7:54am UTC](https://forums.developer.nvidia.com/t/bug-cgf-helloworld-example-6-0-8-1-throw-nvsciipcopenendpointwitheventservice-failed-returned-err-514/275930/5 "2023-12-13T07:54:53Z")

</div>

> [@SivaRamaKrishnaNV](#):
>
> Is it related to topic

No.

These 2 errors/issues happens individually.  
These 2 issues happens often.  
There 2 issues cannot recover unless rebooting the orin-machine.

---

<div class="post-metadata">

**Author:** ![SivaRamaKrishnaNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/sivaramakrishnanv/32/14043_2.png) [@SivaRamaKrishnaNV](https://forums.developer.nvidia.com/u/SivaRamaKrishnaNV)\
**Post date:** [December 14, 2023, 6:41pm UTC](https://forums.developer.nvidia.com/t/bug-cgf-helloworld-example-6-0-8-1-throw-nvsciipcopenendpointwitheventservice-failed-returned-err-514/275930/6 "2023-12-14T18:41:19Z")

</div>

> [@lizhensheng](#):
>
> what’s the error mean?

Dear @lizhensheng,  
The error code indicates, resource is busy([https://developer.nvidia.com/docs/drive/drive-os/6.0.8.1/public/drive-os-linux-sdk/api\_reference/group\_\_NvSciError.html#ggaef993f18ba16be8c8554d9d8538c5938a8a4d3f489b06138bad71519371a52b4d](https://developer.nvidia.com/docs/drive/drive-os/6.0.8.1/public/drive-os-linux-sdk/api_reference/group__NvSciError.html#ggaef993f18ba16be8c8554d9d8538c5938a8a4d3f489b06138bad71519371a52b4d)) . I believe it also happens when the previous run has no graceful exit and both the issues are related.

Could you share the `ps -aux` log when you hit the issue.

---

<div class="post-metadata">

**Author:** ![lizhensheng](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/lizhensheng/32/418124_2.png) [@lizhensheng](https://forums.developer.nvidia.com/u/lizhensheng)\
**Post date:** [December 15, 2023, 1:46am UTC](https://forums.developer.nvidia.com/t/bug-cgf-helloworld-example-6-0-8-1-throw-nvsciipcopenendpointwitheventservice-failed-returned-err-514/275930/8 "2023-12-15T01:46:05Z")

</div>

> [@SivaRamaKrishnaNV](#):
>
> I believe it also happens when the previous run has no graceful exit and both the issues are related.

I will create a new topic to query the correct way to gracefully exit cgf5.14.

Thanks.

---

<div class="post-metadata">

**Author:** ![lizhensheng](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/lizhensheng/32/418124_2.png) [@lizhensheng](https://forums.developer.nvidia.com/u/lizhensheng)\
**Post date:** [December 20, 2023, 6:24am UTC](https://forums.developer.nvidia.com/t/bug-cgf-helloworld-example-6-0-8-1-throw-nvsciipcopenendpointwitheventservice-failed-returned-err-514/275930/9 "2023-12-20T06:24:30Z")

</div>

Track this topic with [[BUG] DO6081/CGF 5.14 app cannot exit gracefully: rerun failed, reporting internel errors and require reboot (nvidia.com)](https://forums.developer.nvidia.com/t/bug-do6081-cgf-5-14-app-cannot-exit-gracefully-rerun-failed-reporting-internel-errors-and-require-reboot/276165)

---

<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:** [January 3, 2024, 6:24am UTC](https://forums.developer.nvidia.com/t/bug-cgf-helloworld-example-6-0-8-1-throw-nvsciipcopenendpointwitheventservice-failed-returned-err-514/275930/10 "2024-01-03T06:24:56Z")

</div>

Closed on January 3, 2024, 6:24am UTC

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