[mythtv-users] Segfault on starting playback

Simon Jones sijones2010 at gmail.com
Tue Sep 4 07:37:06 UTC 2012


On 3 September 2012 20:42, Simon Jones <sijones2010 at gmail.com> wrote:

>
>> If you are set up to build from source, could you try this patch?
>> http://pastebin.com/7Pj1Kjke
>>
>> This seems to fix the valgrind uninitialized memory warnings on my
>> system, and I'm hoping it will fix the crashes on other systems.
>>
>> 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.
>
> I'll give it a day or 2 to be sure tho!
>
> Thanks very much!
>

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.

Let me know if you want me to do a debug build and trace it.

2012-09-04 08:30:23.596368 I  TV: Created player.
2012-09-04 08:30:23.596393 I  TV: Changing from None to WatchingLiveTV
2012-09-04 08:30:23.596400 I  TV: State is LiveTV & mctx == ctx
2012-09-04 08:30:23.597034 I  TV: UpdateOSDInput done
2012-09-04 08:30:23.597042 I  TV: UpdateLCD done
2012-09-04 08:30:23.597348 I  TV: ITVRestart done
2012-09-04 08:30:23.598387 I  TV: Main UI disabled.
2012-09-04 08:30:23.598396 I  Using Idle Timer. 240 minutes
2012-09-04 08:30:23.598622 I  TV: Entering main playback loop.
2012-09-04 08:30:23.653182 I  VDPAU: Added 2 output surfaces (total 4, max
4)
2012-09-04 08:30:25.548278 W
 RingBuf(/var/local/mythtv/livetv/2101_20120904073024.mpg): Taking too long
to be allowed to read..
2012-09-04 08:30:29.972660 W  MythPainter: 37 images not yet de-allocated.
2012-09-04 08:30:29.972679 I  VDPAU Painter: Clearing VDPAU painter cache.
2012-09-04 08:30:30.001665 I  Clearing OpenGL painter cache.
2012-09-04 08:30:30.040014 I  VDPAU: Created 2 output surfaces.
2012-09-04 08:30:30.040025 I  VDPAU: Created VDPAU render device 1920x1080
2012-09-04 08:30:30.066045 N  Player(0): Forcing decode extra audio option
on (Video method requires it).
2012-09-04 08:30:30.066420 I  AFD: Opened codec 0x1f88ec0, id(H264)
type(Video)
2012-09-04 08:30:30.066426 I  AFD: codec AAC/LATM has 6 channels
2012-09-04 08:30:30.068470 I  AFD: Opened codec 0x1eeb720, id(AAC/LATM)
type(Audio)
2012-09-04 08:30:30.068487 I  AFD: codec AAC/LATM has 2 channels
2012-09-04 08:30:30.070326 I  AFD: Opened codec 0x205af20, id(AAC/LATM)
type(Audio)
2012-09-04 08:30:30.070349 I  AFD: Opened codec 0x1f63580, id(DVB_SUBTITLE)
type(Subtitle)
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
2012-09-04 08:30:30.265062 N  AFD: Resetting byte context eof (livetv 1 was
eof 0)
2012-09-04 08:30:30.345254 I  VDPAU Painter: Clearing VDPAU painter cache.
2012-09-04 08:30:30.362882 I  Clearing OpenGL painter cache.
2012-09-04 08:30:30.400060 I  VDPAU: Created 2 output surfaces.
2012-09-04 08:30:30.400071 I  VDPAU: Created VDPAU render device 1920x1080
2012-09-04 08:30:30.448483 N  Player(0): Forcing decode extra audio option
on (Video method requires it).
2012-09-04 08:30:30.453729 N  Player(0): Waited 114ms for video buffers
AAAAAAAAAAAAAL
2012-09-04 08:30:30.456885 I  VidOutVDPAU: Added 2 new buffers. New buffer
size 16 (4 decode and 12 process)
2012-09-04 08:30:30.555801 N  Player(0): Waited 216ms for video buffers
LAAALLAAAAAAALAA
2012-09-04 08:30:30.622175 C  Received Segmentation fault
2012-09-04 08:30:30.722264 I  TV: Exiting main playback loop.
2012-09-04 08:30:30.833191 W  Player(0): Waited 100ms for decoder to pause
2012-09-04 08:30:30.933276 W  Player(0): Waited 100ms for decoder to pause
2012-09-04 08:30:31.033359 W  Player(0): Waited 100ms for decoder to pause
2012-09-04 08:30:31.133434 W  Player(0): Waited 100ms for decoder to pause
2012-09-04 08:30:31.233522 W  Player(0): Waited 100ms for decoder to pause
2012-09-04 08:30:31.333627 W  Player(0): Waited 100ms for decoder to pause
2012-09-04 08:30:31.433710 W  Player(0): Waited 100ms for decoder to pause
2012-09-04 08:30:31.533866 W  Player(0): Waited 100ms for decoder to pause
Segmentation fault
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120904/dd802036/attachment.html>


More information about the mythtv-users mailing list