<div class="gmail_quote">On 3 September 2012 20:42, Simon Jones <span dir="ltr"><<a href="mailto:sijones2010@gmail.com" target="_blank">sijones2010@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
</div>If you are set up to build from source, could you try this patch?<br>
<a href="http://pastebin.com/7Pj1Kjke" target="_blank">http://pastebin.com/7Pj1Kjke</a><br>
<br>
This seems to fix the valgrind uninitialized memory warnings on my<br>
system, and I'm hoping it will fix the crashes on other systems.<br>
<br></blockquote></div><div>I've re-built and applied your patch, this has fixed all channel change hangs (on a blank screen) and playback of recorded tv crashes, i've been trying to break it and so far so good.</div>
<div>
<br></div><div>I'll give it a day or 2 to be sure tho!</div><div><br></div><div>Thanks very much!</div></div>
</blockquote></div><br><div>Spoke too soon, here's the log output, where as when changing channels i had a hang and then had to do a force restart of myth, now it seems to seg fault out, this appears to be shown after running for 12 hours. i have rebooted and can now watch tv again.</div>
<div><br></div><div>Let me know if you want me to do a debug build and trace it.</div><div><br></div><div><div>2012-09-04 08:30:23.596368 I TV: Created player.</div><div>2012-09-04 08:30:23.596393 I TV: Changing from None to WatchingLiveTV</div>
<div>2012-09-04 08:30:23.596400 I TV: State is LiveTV & mctx == ctx</div><div>2012-09-04 08:30:23.597034 I TV: UpdateOSDInput done</div><div>2012-09-04 08:30:23.597042 I TV: UpdateLCD done</div><div>2012-09-04 08:30:23.597348 I TV: ITVRestart done</div>
<div>2012-09-04 08:30:23.598387 I TV: Main UI disabled.</div><div>2012-09-04 08:30:23.598396 I Using Idle Timer. 240 minutes</div><div>2012-09-04 08:30:23.598622 I TV: Entering main playback loop.</div><div>2012-09-04 08:30:23.653182 I VDPAU: Added 2 output surfaces (total 4, max 4)</div>
<div>2012-09-04 08:30:25.548278 W RingBuf(/var/local/mythtv/livetv/2101_20120904073024.mpg): Taking too long to be allowed to read..</div><div>2012-09-04 08:30:29.972660 W MythPainter: 37 images not yet de-allocated.</div>
<div>2012-09-04 08:30:29.972679 I VDPAU Painter: Clearing VDPAU painter cache.</div><div>2012-09-04 08:30:30.001665 I Clearing OpenGL painter cache.</div><div>2012-09-04 08:30:30.040014 I VDPAU: Created 2 output surfaces.</div>
<div>2012-09-04 08:30:30.040025 I VDPAU: Created VDPAU render device 1920x1080</div><div>2012-09-04 08:30:30.066045 N Player(0): Forcing decode extra audio option on (Video method requires it).</div><div>2012-09-04 08:30:30.066420 I AFD: Opened codec 0x1f88ec0, id(H264) type(Video)</div>
<div>2012-09-04 08:30:30.066426 I AFD: codec AAC/LATM has 6 channels</div><div>2012-09-04 08:30:30.068470 I AFD: Opened codec 0x1eeb720, id(AAC/LATM) type(Audio)</div><div>2012-09-04 08:30:30.068487 I AFD: codec AAC/LATM has 2 channels</div>
<div>2012-09-04 08:30:30.070326 I AFD: Opened codec 0x205af20, id(AAC/LATM) type(Audio)</div><div>2012-09-04 08:30:30.070349 I AFD: Opened codec 0x1f63580, id(DVB_SUBTITLE) type(Subtitle)</div><div>2012-09-04 08:30:30.095173 I AO: Opening audio device 'hdmi:CARD=NVidia,DEV=1' ch 2(6) sr 48000 sf signed 16 bit reenc 0</div>
<div>2012-09-04 08:30:30.265062 N AFD: Resetting byte context eof (livetv 1 was eof 0)</div><div>2012-09-04 08:30:30.345254 I VDPAU Painter: Clearing VDPAU painter cache.</div><div>2012-09-04 08:30:30.362882 I Clearing OpenGL painter cache.</div>
<div>2012-09-04 08:30:30.400060 I VDPAU: Created 2 output surfaces.</div><div>2012-09-04 08:30:30.400071 I VDPAU: Created VDPAU render device 1920x1080</div><div>2012-09-04 08:30:30.448483 N Player(0): Forcing decode extra audio option on (Video method requires it).</div>
<div>2012-09-04 08:30:30.453729 N Player(0): Waited 114ms for video buffers AAAAAAAAAAAAAL</div><div>2012-09-04 08:30:30.456885 I VidOutVDPAU: Added 2 new buffers. New buffer size 16 (4 decode and 12 process)</div><div>
2012-09-04 08:30:30.555801 N Player(0): Waited 216ms for video buffers LAAALLAAAAAAALAA</div><div>2012-09-04 08:30:30.622175 C Received Segmentation fault</div><div>2012-09-04 08:30:30.722264 I TV: Exiting main playback loop.</div>
<div>2012-09-04 08:30:30.833191 W Player(0): Waited 100ms for decoder to pause</div><div>2012-09-04 08:30:30.933276 W Player(0): Waited 100ms for decoder to pause</div><div>2012-09-04 08:30:31.033359 W Player(0): Waited 100ms for decoder to pause</div>
<div>2012-09-04 08:30:31.133434 W Player(0): Waited 100ms for decoder to pause</div><div>2012-09-04 08:30:31.233522 W Player(0): Waited 100ms for decoder to pause</div><div>2012-09-04 08:30:31.333627 W Player(0): Waited 100ms for decoder to pause</div>
<div>2012-09-04 08:30:31.433710 W Player(0): Waited 100ms for decoder to pause</div><div>2012-09-04 08:30:31.533866 W Player(0): Waited 100ms for decoder to pause</div><div>Segmentation fault</div></div><div><br></div>