Opened 11 years ago
Closed 11 years ago
#11783 closed Bug Report - General (fixed)
Deadlock in backend when exiting
Reported by: | JYA | Owned by: | danielk |
---|---|---|---|
Priority: | critical | Milestone: | 0.27 |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
If there's any MythSocket? connection active with the backend. Upon calling MainServer::Stop() will result in a deadlock as MainServer::Stop() lock sockListLock mutex and then loop through the list of item to disconnect.
MythSocket? will then call the callback MainServer::connectionClosed which lock the mutex; resulting in a deadlock.
Note: See
TracTickets for help on using
tickets.
In 8647dc34e9b235658302f3ee0e8d2ed67d56ee46/mythtv: