[mythtv-commits] Ticket #9363: Startup command causes deadlock of Scheduler schedLock mutex
MythTV
noreply at mythtv.org
Sun Dec 12 12:37:31 UTC 2010
#9363: Startup command causes deadlock of Scheduler schedLock mutex
-------------------------------------+---------------------
Reporter: Andy@… | Owner: gigem
Type: Bug Report | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Scheduling | Version: 0.24
Severity: high | Keywords:
Ticket locked: 0 |
-------------------------------------+---------------------
I have a startupCommand script that reads the mythweb status web page to
get some information.
The thread running mythweb attempts to grab the schedLock mutex in
Scheduler::getAllPending, this is already being held by the thread running
RunScheduler() where the startup command is called.
The solution may be to release the schedLock mutex while calling
myth_system(startupCommand)
Also this has happened when calling the shutdown script as well. I have
got around the problem by removing the mythweb reads in the scripts.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9363>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list