Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When I enable trace, why am I getting a lot of errors in APIs after “Entered DSPLINK_atExitHandler” print?

APIs enable errors print trace
0
Posted

When I enable trace, why am I getting a lot of errors in APIs after “Entered DSPLINK_atExitHandler” print?

0

All the errors in the DSPLINK_atExitHandler can be ignored. From DSPLink v1.50 onwards, on Linux, DSPLink registers an atExit handler with Linux to take care of all cleanup (shutdown APIs) that user may have neglected to do. All DSPLink APIs check for whether anything needs to be actually done in the function, or it’s been called unnecessarily. If the application had, in fact, made all shutdown APIs as expected, each call in the atExit handler will have happened an extra time. In such cases, each API puts out error codes and possibly SET_FAILURE_REASON prints. However, since all the cleanup has already happened in normal execution, the errors in atExit handler can be ignored.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123