Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to stop/terminate the application properly using CommonAPI? Which CommonAPI method I have to call? #31

Open
VidyaJanaki opened this issue Nov 9, 2021 · 0 comments

Comments

@VidyaJanaki
Copy link

I created one sample Helloworld application to register the service using CommonAPI. If I directly exit the application, I've faced crash issue during multiple times execution(approx 15:1 ratio).

Error snippet:
Successfully Registered Service! [ 7153.988687]~DLT~14482~WARNING ~Lost log messages in user buffer when exiting: 1 2021-09-25 19:49:21.340402 [info] io thread id from application: d039 () is: ffff8b61a000 TID: 14486 2021-09-25 19:49:21.340848 [info] Client d039 successfully connected to routing ~> registering.. terminate called recursively terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::log::v2_mt_posix::system_error> >' what(): Failed to set TLS value: Invalid argument terminate called recursively

From my analysis, this issue due to abrupt exit of the application. Now I want to terminate the application gracefully(not abruptly) using CommonAPI. Please help me to sort out the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant