[mythtv] DVD iso playback on internal player segfaults if cpu <> 1
John
reidjr at btconnect.com
Mon May 12 19:51:38 UTC 2008
mythtv at cvs.mythtv.org wrote:
> Author: skamithi
> Date: 2008-05-12 03:08:03 +0000 (Mon, 12 May 2008)
> New Revision: 17305
> Changeset: http://cvs.mythtv.org/trac/changeset/17305
>
> Modified:
>
> branches/release-0-21-fixes/mythtv/libs/libmythtv/DVDRingBuffer.cpp
> branches/release-0-21-fixes/mythtv/libs/libmythtv/DVDRingBuffer.h
> branches/release-0-21-fixes/mythtv/libs/libmythtv/NuppelVideoPlayer.cpp
> branches/release-0-21-fixes/mythtv/libs/libmythtv/avformatdecoder.cpp
> branches/release-0-21-fixes/mythtv/libs/libmythtv/avformatdecoder.h
> branches/release-0-21-fixes/mythtv/libs/libmythtv/tv_play.cpp
>
> Log:
>
> Refs #5275. internal dvd player fixes: commit [17178], [17199],
> [17261], [17265], [17266],
> [17267], [17270], [17271], [17285] from trunk to fixes.
>
>
>
> _______________________________________________
> mythtv-commits mailing list
> mythtv-commits at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
>
>
Tried this out to make sure my issue wasnt covered.
I seem to have found an issue where setting cpu = 2 or above causes some
of my DVD isos to segfault mythfrontend.
It doesnt happen on all iso's, but is 100% repeatable on the ones that do.
seen in 17305 ( and versions before). Default install, but changing the
normal cpu profile to use multiple cpus.
I can easily workaround by only using multiple cores for h.264, and
using 1 core for SD, but I would like to help track the bug down.
mythfrontend -v playback doesnt show anything obvious (to me)
1 core:
2008-05-12 19:56:59.627 DVDRB: Leaving DVDNAV_STILL_FRAME
2008-05-12 19:56:59.627 DVDNAV_SPU_CLUT_CHANGE happened.
2008-05-12 19:56:59.627 DVDNAV_SPU_STREAM_CHANGE: physical_wide==0,
physical_letterbox==0, physical_pan_scan==0, current_track==0, total count 1
2008-05-12 19:56:59.627 DVDNAV_AUDIO_STREAM_CHANGE: Current Active
Stream 0 Track Count 1
2008-05-12 19:56:59.639 AFD: HandleStreamChange(): streams_changed
0x9322bb0 -- stream count 3
2008-05-12 19:56:59.639 AFD: Stream #0, has id 0x480 codec id
MPEG2VIDEO, type Video, bitrate 4500000 at 0x0xafb532d0
2008-05-12 19:56:59.650 VDP: Accepting: cmp(> 0 0) dec(ffmpeg) cpus(1)
rend(xv-blit) osd(softblend) osdfade(disabled) deint(none,none) filt()
2008-05-12 19:56:59.650 VDP: LoadBestPreferences(2048x2048, 0)
2008-05-12 19:56:59.650 VDP: LoadBestPreferences(2048x2048, 60)
2008-05-12 19:56:59.651 VDP: LoadBestPreferences(720x576, 60)
2008-05-12 19:56:59.651 Using 1 CPUs for decoding
2008-05-12 19:56:59.653 VDP: Accepting: cmp(> 0 0) dec(ffmpeg) cpus(1)
rend(xv-blit) osd(softblend) osdfade(disabled) deint(none,none) filt()
2008-05-12 19:56:59.653 VDP: LoadBestPreferences(2048x2048, 0)
2008-05-12 19:56:59.653 VDP: LoadBestPreferences(2048x2048, 60)
2008-05-12 19:56:59.653 VDP: LoadBestPreferences(720x576, 60)
2008-05-12 19:56:59.654 AFD: Warning, video codec 0xafb51c20
id(MPEG2VIDEO) type (Video) already open.
2008-05-12 19:56:59.654 AFD: InitVideoCodec() 0xafb51c20 id(MPEG2VIDEO)
type (Video).
2008-05-12 19:56:59.654 AFD: Using ffmpeg for video decoding
2008-05-12 19:56:59.654 AFD: Looking for decoder for MPEG2VIDEO
2008-05-12 19:56:59.654 AFD: Stream #1, has id 0x32 codec id
DVD_SUBTITLE, type Subtitle, bitrate 0 at 0x0x9a700f0
2008-05-12 19:56:59.654 AFD: subtitle codec (Subtitle)
2008-05-12 19:56:59.654 AFD: Looking for decoder for DVD_SUBTITLE
2008-05-12 19:56:59.654 AFD: Subtitle track #1 is A/V stream #1 and is
in the Undetermined language(7695972).
2008-05-12 19:56:59.654 AFD: Stream #2, has id 0x128 codec id AC3, type
Audio, bitrate 0 at 0x0x94cedf0
2008-05-12 19:56:59.654 AFD: codec AC3 has 0 channels
2008-05-12 19:56:59.655 AFD: Looking for decoder for AC3
2008-05-12 19:56:59.657 AFD: Opened codec 0x94c7720, id(AC3) type(Audio)
2008-05-12 19:56:59.657 RingBuf(/myth_750/VIDEO/DVDs/Madelief.ISO):
CalcReadAheadThresh(4500 KB)
-> threshhold(64 KB) min read(32 KB) blk size(64 KB)
2008-05-12 19:56:59.657 AFD: DVD Subtitle Track Map Stream id #32 track #-1
2008-05-12 19:56:59.662 Opening audio device '/dev/dsp'. ch 2(2) sr 48000
2008-05-12 19:56:59.662 Opening OSS audio device '/dev/dsp'.
2008-05-12 19:56:59.671 NVP: Enabling Audio
2008-05-12 19:56:59.698 NVP: progressive frame seen after 2 interlaced
frames
2008-05-12 19:56:59.698 Disabled deinterlacing
2008-05-12 19:56:59.713 NVP: interlaced frame seen after 1 progressive
frames
2008-05-12 19:56:59.714 VDP: GetFilteredDeint() : xv-blit -> 'none'
2008-05-12 19:56:59.767 FilterManager: failed to load filter 'none', no
such filter exists
2008-05-12 19:56:59.768 Couldn't load deinterlace filter none
2008-05-12 19:56:59.768 Using deinterlace method
2008-05-12 19:56:59.768 Failed to enable deinterlacing
'video_output' mean = '40247.07', std. dev. = '2627.01', fps = '24.85'
2 core:
2008-05-12 19:53:53.782 DVDRB: Leaving DVDNAV_STILL_FRAME
2008-05-12 19:53:53.782 DVDNAV_SPU_CLUT_CHANGE happened.
2008-05-12 19:53:53.782 DVDNAV_SPU_STREAM_CHANGE: physical_wide==0,
physical_letterbox==0, physical_pan_scan==0, current_track==0, total count 1
2008-05-12 19:53:53.782 DVDNAV_AUDIO_STREAM_CHANGE: Current Active
Stream 0 Track Count 1
2008-05-12 19:53:53.782 NVP, Error: In DVD Menu: No video frames in queue
2008-05-12 19:53:53.782 AFD: HandleGopStart: gopset not set, syncing
positionMap
2008-05-12 19:53:53.783 Resyncing position map. posmapStarted = 1
livetv(0) watchingRec(0)
2008-05-12 19:53:53.783 AFD: HandleGopStart: Initial key frame distance: 15.
2008-05-12 19:53:53.788 DVDRB: Clearing Menu SPU Packet
2008-05-12 19:53:53.788 DVDRB: Entering DVDNAV_WAIT
2008-05-12 19:53:53.792 DVDRB: Exiting DVDNAV_WAIT status
2008-05-12 19:53:53.832 VideoOutputXv: UpdatePauseFrame()
AAuLAAAAAAAAAAAAAAAAAAAAAAAAAAA
2008-05-12 19:53:56.784 DVDNAV_CELL_CHANGE: pg_length == 1310400,
pgc_length == 1720800, cell_start == 0, pg_start == 0, title == 0, part
== 0 titleParts 0
2008-05-12 19:53:56.784 DVDRB: Leaving DVDNAV_STILL_FRAME
2008-05-12 19:53:56.784 DVDNAV_SPU_CLUT_CHANGE happened.
2008-05-12 19:53:56.784 DVDNAV_SPU_STREAM_CHANGE: physical_wide==0,
physical_letterbox==0, physical_pan_scan==0, current_track==0, total count 1
2008-05-12 19:53:56.785 DVDNAV_AUDIO_STREAM_CHANGE: Current Active
Stream 0 Track Count 1
2008-05-12 19:53:56.797 AFD: HandleStreamChange(): streams_changed
0x93721d0 -- stream count 3
2008-05-12 19:53:56.797 AFD: Stream #0, has id 0x480 codec id
MPEG2VIDEO, type Video, bitrate 4500000 at 0x0x9379410
2008-05-12 19:53:56.800 VDP: Accepting: cmp(> 0 0) dec(ffmpeg) cpus(2)
rend(xv-blit) osd(softblend) osdfade(disabled) deint(none,none) filt()
2008-05-12 19:53:56.800 VDP: LoadBestPreferences(2048x2048, 0)
2008-05-12 19:53:56.800 VDP: LoadBestPreferences(2048x2048, 60)
2008-05-12 19:53:56.800 VDP: LoadBestPreferences(720x576, 60)
2008-05-12 19:53:56.800 Using 2 CPUs for decoding
2008-05-12 19:53:56.803 VDP: Accepting: cmp(> 0 0) dec(ffmpeg) cpus(2)
rend(xv-blit) osd(softblend) osdfade(disabled) deint(none,none) filt()
2008-05-12 19:53:56.803 VDP: LoadBestPreferences(2048x2048, 0)
2008-05-12 19:53:56.803 VDP: LoadBestPreferences(2048x2048, 60)
2008-05-12 19:53:56.803 VDP: LoadBestPreferences(720x576, 60)
2008-05-12 19:53:56.804 AFD: Warning, video codec 0x9369e50
id(MPEG2VIDEO) type (Video) already open.
2008-05-12 19:53:56.804 AFD: InitVideoCodec() 0x9369e50 id(MPEG2VIDEO)
type (Video).
2008-05-12 19:53:56.804 AFD: Using ffmpeg for video decoding
2008-05-12 19:53:56.804 AFD: Looking for decoder for MPEG2VIDEO
2008-05-12 19:53:56.804 AFD: Stream #1, has id 0x32 codec id
DVD_SUBTITLE, type Subtitle, bitrate 0 at 0x0xaa22da30
2008-05-12 19:53:56.804 AFD: subtitle codec (Subtitle)
2008-05-12 19:53:56.804 AFD: Looking for decoder for DVD_SUBTITLE
2008-05-12 19:53:56.804 AFD: Subtitle track #1 is A/V stream #1 and is
in the Undetermined language(7695972).
2008-05-12 19:53:56.804 AFD: Stream #2, has id 0x128 codec id AC3, type
Audio, bitrate 0 at 0x0xa02eed0
2008-05-12 19:53:56.804 AFD: codec AC3 has 0 channels
2008-05-12 19:53:56.805 AFD: Looking for decoder for AC3
2008-05-12 19:53:56.807 AFD: Opened codec 0xa034dc0, id(AC3) type(Audio)
2008-05-12 19:53:56.807 RingBuf(/myth_750/VIDEO/DVDs/Madelief.ISO):
CalcReadAheadThresh(4500 KB)
-> threshhold(64 KB) min read(32 KB) blk size(64 KB)
2008-05-12 19:53:56.807 AFD: DVD Subtitle Track Map Stream id #32 track #-1
2008-05-12 19:53:56.812 Opening audio device '/dev/dsp'. ch 2(2) sr 48000
2008-05-12 19:53:56.812 Opening OSS audio device '/dev/dsp'.
2008-05-12 19:53:56.821 NVP: Enabling Audio
2008-05-12 19:53:56.828 [mpeg2video @ 0xb740bc28]Warning MVs not available
2008-05-12 19:53:56.843 [mpeg2video @ 0xb740bc28]Warning MVs not available
2008-05-12 19:53:56.847 NVP: progressive frame seen after 2 interlaced
frames
2008-05-12 19:53:56.847 Disabled deinterlacing
2008-05-12 19:53:56.857 NVP: interlaced frame seen after 1 progressive
frames
2008-05-12 19:53:56.857 VDP: GetFilteredDeint() : xv-blit -> 'none'
2008-05-12 19:53:56.878 [mpeg2video @ 0xb740bc28]Warning MVs not available
2008-05-12 19:53:56.921 FilterManager: failed to load filter 'none', no
such filter exists
2008-05-12 19:53:56.921 Couldn't load deinterlace filter none
2008-05-12 19:53:56.921 Using deinterlace method
2008-05-12 19:53:56.921 Failed to enable deinterlacing
[segfault]
running with mythfrontend -v all shows masses of
2008-05-12 20:27:16.868 [mpeg2video @ 0xb73a8c28]MPEG motion vector out
of boundary
2008-05-12 20:27:16.868 [mpeg2video @ 0xb73a8c28]MPEG motion vector out
of boundary
2008-05-12 20:27:16.868 [mpeg2video @ 0xb73a8c28]MPEG motion vector out
of boundary
2008-05-12 20:27:16.868 [mpeg2video @ 0xb73a8c28]MPEG motion vector out
of boundary
2008-05-12 20:27:16.869 [mpeg2video @ 0xb73a8c28]MPEG motion vector out
of boundary
2008-05-12 20:27:16.869 [mpeg2video @ 0xb73a8c28]MPEG motion vector out
of boundary
2008-05-12 20:27:16.869 [mpeg2video @ 0xb73a8c28]MPEG motion vector out
of boundary
before it segfaults.
This is never seen on the cpu = 1 trace.
What other info would be needed to make this worth raising a ticket ?
John
More information about the mythtv-dev
mailing list