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

Daniel Thor Kristjansson danielk at cat.nyu.edu
Tue May 25 15:52:03 EDT 2004

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?
]mythtv-dev mailing list
]mythtv-dev at mythtv.org

More information about the mythtv-dev mailing list