-
Notifications
You must be signed in to change notification settings - Fork 4
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
Stopping server with active connections causes crash #55
Comments
In caContext.cpp the function ca_attach_context() is called after the epicsExit() has run ca_client_exit_handler() which deletes the thread local variable used to hold CA context pointers.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While attempting to fix shared_ptr related problems with ServerContext (so that it is possible to actually stop a server and make it drop references to its ChannelProviders) I find that pvaSrv has some problems related to handling CA contexts which manifest when the PVA server is stopped while clients are still connected. I suspect that there are some incorrect assumptions here about ordering during shutdown.
'stopPVAServer' is a new iocsh command I'm adding.
or
I don't plan to spend any time trying to fix this in pvaSrv.
The text was updated successfully, but these errors were encountered: