[mythtv-commits] Ticket #10867: Segv from mythshutdown
MythTV
noreply at mythtv.org
Fri Jul 13 16:49:14 UTC 2012
#10867: Segv from mythshutdown
-------------------------------------------------+-------------------------
Reporter: keemllib@… | Owner: beirdo
Type: Bug Report - Crash | Status:
Priority: minor | assigned
Component: MythTV - Mythwelcome & Mythshutdown | Milestone: 0.26
Severity: medium | Version: Master
Keywords: | Head
| Resolution:
| Ticket locked: 0
-------------------------------------------------+-------------------------
Comment (by beirdo):
This is due to the following code in MythSignalingTimer::start():
{{{
while (dorun && !running)
usleep(10 * 1000);
}}}
That is where it is in the backtrace. If we are done and shutdown quickly
enough, and stop the timer correctly, it never actually stops the timer as
dorun is mutex protected, and the stop() is blocked waiting for it. I'm
going to add some lock frobbage in here.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10867#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list