Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #10948: backend deadlock in TVRec::RecordPending()

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

Jul 28, 2012, 2:21 PM

Post #1 of 5 (202 views)
Permalink
Ticket #10948: backend deadlock in TVRec::RecordPending()

#10948: backend deadlock in TVRec::RecordPending()
--------------------------------------+-------------------------
Reporter: stuartm | Owner: danielk
Type: Bug Report - General | Status: new
Priority: blocker | Milestone: 0.26
Component: MythTV - Recording | Version: Master Head
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+-------------------------
Backtrace attached

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10948>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jul 30, 2012, 9:18 AM

Post #2 of 5 (192 views)
Permalink
Re: Ticket #10948: backend deadlock in TVRec::RecordPending() [In reply to]

#10948: backend deadlock in TVRec::RecordPending()
----------------------------------+-----------------------------
Reporter: stuartm | Owner: danielk
Type: Bug Report - General | Status: closed
Priority: blocker | Milestone: 0.26
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Changes (by Daniel Thor Kristjansson <danielk@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:e8073bc0e9cbd3aaaaff85d6ca4ef12c79bf71d2/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="e8073bc0e9cbd3aaaaff85d6ca4ef12c79bf71d2"
Fixes #10948. Fixes EIT shutdown deadlock.
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10948#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jul 30, 2012, 12:37 PM

Post #3 of 5 (194 views)
Permalink
Re: Ticket #10948: EITScanner::StopActiveScan() && TVRec::SetChannel() deadlock (was: backend deadlock in TVRec::RecordPending()) [In reply to]

#10948: EITScanner::StopActiveScan() && TVRec::SetChannel() deadlock
----------------------------------+-----------------------------
Reporter: stuartm | Owner: danielk
Type: Bug Report - General | Status: closed
Priority: blocker | Milestone: 0.26
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10948#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jul 30, 2012, 12:41 PM

Post #4 of 5 (193 views)
Permalink
Re: Ticket #10948: EITScanner::StopActiveScan() && TVRec::SetChannel() deadlock [In reply to]

#10948: EITScanner::StopActiveScan() && TVRec::SetChannel() deadlock
----------------------------------+-----------------------------
Reporter: stuartm | Owner: danielk
Type: Bug Report - General | Status: closed
Priority: blocker | Milestone: 0.26
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by Daniel Thor Kristjansson <danielk@…>):

In [changeset:0e5d159c6bc98ef29a7b6bb225b43492b45c37ac/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="0e5d159c6bc98ef29a7b6bb225b43492b45c37ac"
Refs #10948. Fully randomize EIT crawl start time.

The deadlocks we've been seeing here should be fixed now, but they
should have been rare to begin with due to randomization of the
EIT Scanning start time. But they were occurring at fairly high
frequency. It turns out we were not applying enough randomness when
there were multiple cards and we were also losing randomness after
the first recording on a tuner finished and we reset the clock.
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10948#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Oct 1, 2012, 9:43 AM

Post #5 of 5 (115 views)
Permalink
Re: Ticket #10948: EITScanner::StopActiveScan() && TVRec::SetChannel() deadlock [In reply to]

#10948: EITScanner::StopActiveScan() && TVRec::SetChannel() deadlock
----------------------------------+-----------------------------
Reporter: stuartm | Owner: danielk
Type: Bug Report - General | Status: closed
Priority: blocker | Milestone: 0.26
Component: MythTV - Recording | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by Daniel Thor Kristjansson <danielk@…>):

In [changeset:957c7e20c8b9e2f2bb50a5fc826810c39689db4b/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="957c7e20c8b9e2f2bb50a5fc826810c39689db4b"
Refs #10948. Fully randomize EIT crawl start time.

The deadlocks we've been seeing here should be fixed now, but they
should have been rare to begin with due to randomization of the
EIT Scanning start time. But they were occurring at fairly high
frequency. It turns out we were not applying enough randomness when
there were multiple cards and we were also losing randomness after
the first recording on a tuner finished and we reset the clock.
(cherry picked from commit 0e5d159c6bc98ef29a7b6bb225b43492b45c37ac)
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10948#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.