[mythtv] [patch] Recording HDTV when no signal causes segfault

Wendy Seltzer wendy at seltzer.com
Tue May 25 21:35:59 EDT 2004


I'm also having pcHDTV problems in the last few days of CVS.  If myth 
starts off recording from a channel, it works fine.  If it starts off 
by trying to tune live TV (on the same channel), it fails and leaves 
the card in a state where dtvsignal can't reset it.

If there's anything I can help test, please let me know.

--Wendy

At 3:52 PM -0400 5/25/04, Daniel Thor Kristjansson wrote:
>It isn't segfaulting on a bad channel here, but it does seem to be
>entering some kind of invalid state. First, the recorder started when
>it shouldn't have. Of course, it didn't record any video, but while
>'mythtv' complained about the lack of video, it didn't return to
>'mythfrontend' which I think it should have after the 15 second timeout.
>I'll look at it tonight.
>
>-- Daniel
>
>On Tue, 25 May 2004, Isaac Richards wrote:
>
>]On Tuesday 25 May 2004 12:03 am, John Patrick Poet wrote:
>]> With HDTV, the signal strength is checked when tunning to a channel.
>]> When recording, if the signal strength is too low, the encoder thread is
>]> never created, but the pthread_join call was still being made.  This
>]> caused a segfault.
>]>
>]> The attached patch prevents the pthread_join call from being made, if
>]> the encoder thread was not created.
>]
>]I've applied this, but I had to change the signal check stuff on recordings
>](double channel changes are bad sometimes) -- could you please test to make
>]sure it's still working on hdtv?
>]
>]Isaac

-- 
--
Wendy Seltzer -- wendy at seltzer.com || wendy at eff.org
Staff Attorney, Electronic Frontier Foundation
Fellow, Berkman Center for Internet & Society at Harvard Law School
http://cyber.law.harvard.edu/seltzer.html


More information about the mythtv-dev mailing list