[mythtv] Mythtv crash with "incorrect codes"

Matt Zimmerman mythtv-dev@snowman.net
Mon, 16 Dec 2002 14:49:05 -0500

On Mon, Dec 16, 2002 at 11:18:59AM -0700, Ray wrote:

> I just swapped the computer I was using for myth for a different one
> booting and storing it's files over NFS and I'm having some problems.
> Initially mythtv seems to work fine but after some random period of time
> while watching live tv (maybe 15-45min) mythtv will exit.  The only error
> I see in the terminal that I started myth from is "incorrect codes".  Myth
> is NOT segfaulting so the only thing I can think of is that the data is
> getting corrupted during capture, storage or retrieval.  I also tried
> storing the ringbuffer on a local disk and it seemed to fix the problem
> but I left it watching live tv overnight and in the morning it had exited
> with the same error.  This machine was put together from various
> used/spare bits so it could easily be a hardware problem and I'm running
> memtest86 right now to eliminate the possibility of memory problems.  What
> I need to know is "Does the incorrect codes error indicate corrupted data
> or could it be something else completely?

That is an internal libavcodec error.  It could probably be anything,
including corruption of the compressed stream or memory corruption; I didn't
try to narrow it down.  I would suspect your hardware first, then maybe your

Good tests might include:

- capture something with ffmpeg and play it back with mplayer or xine or
  such, to take mythtv out of the equation
- make a scheduled recording in mythtv, and see if it crashes at the same
  spot on playback

 - mdz