[mythtv-commits] Ticket #12754: deadlock at startup with CEC enabled
MythTV
noreply at mythtv.org
Wed May 4 10:28:00 UTC 2016
#12754: deadlock at startup with CEC enabled
--------------------------------------------+-------------------------
Reporter: bbaetz@… | Owner:
Type: Bug Report - Hang/Deadlock | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Unspecified
Severity: medium | Keywords: patch
Ticket locked: 0 |
--------------------------------------------+-------------------------
Configuring the TV at startup is done from the main thread. However, when
the TV state changes as a result of this, libCEC sends a message to the
callback handler on its own thread, which tries to get the UI lock to
reset the screensaver state. This results in a deadlock because the main
thread already has the UI lock during startup time.
Instead, run the initial setup activity at the start of the CEC handler
thread.
This was missed in the patch applied for #11986 when I did a merge - I've
been running this on my 0.27 system for > 1 year.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12754>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list