[mythtv-users] Problems running Myth - segfault starting liveTV

Blastzone blastzone at gmail.com
Sun Aug 21 03:48:59 UTC 2005


As I continue playing with the system, it appears that it records OK,
but will segfault in the same way when playing a prerecorded show.

I can do a cat from /dev/video0 to a temp file, load that into the
video library and watch it.
I can import an mpg from the internet and watch it through the video library
I told myth to record directly into the video library and can watch it
through there.

So, I know the card is good.  What is different between watching 'live
tv' / 'prerecorded tv' and the mpgs?

On 8/20/05, Blastzone <blastzone at gmail.com> wrote:
> I'm not real worried about the modprobing..  that's easily fixed with
> a script.  I re-emerged with the -opengl  and -nvidia flags in the USE
> line, but still no joy.
> 
> Here's the output from mythfrontend -v all:  (fyi - floyd is the machine name)
> 2005-08-20 20:00:56.780 New DB connection, total: 1
> Total desktop width=1024, height=768, numscreens=1
> 2005-08-20 20:00:56.785 Using screen 0, 1024x768 at 0,0
> 2005-08-20 20:00:56.789 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org
> 2005-08-20 20:00:56.790 Enabled verbose msgs :all
> 2005-08-20 20:00:56.854 max_width: 1024 max_height: 768
> 2005-08-20 20:00:56.921 Switching to square mode (G.A.N.T.)
> 2005-08-20 20:00:57.249 Registering Internal as a media playback plugin.
> 2005-08-20 20:00:57.260 Registering MythDVD DVD Media Handler as a media handler
> 2005-08-20 20:00:57.260 Registering MythDVD VCD Media Handler as a media handler
> 2005-08-20 20:00:57.391 Registering MythMusic Media Handler as a media handler
> 2005-08-20 20:01:02.492 New DB connection, total: 2
> 2005-08-20 20:01:02.509 Connecting to backend server: 127.0.0.1:6543
> (try 1 of 5)
> 2005-08-20 20:01:02.510 write->12 21      MYTH_PROTO_VERSION 15:
> 2005-08-20 20:01:02.517 Using protocol version 15
> 2005-08-20 20:01:02.517 write->12 20      ANN Playback floyd 0:
> 2005-08-20 20:01:02.531 write->12 29      GET_NEXT_FREE_RECORDER[]:[]-1:
> 2005-08-20 20:01:02.539 20      ANN Playback floyd 1
> 2005-08-20 20:01:02.540 write->14 21      MYTH_PROTO_VERSION 15:
> 2005-08-20 20:01:02.550 Using protocol version 15
> 2005-08-20 20:01:02.550 write->14 20      ANN Playback floyd 0:
> 2005-08-20 20:01:02.555 write->14 44      QUERY_RECORDER
> 1[]:[]SETUP_RING_BUFFE...
> 2005-08-20 20:01:02.563 write->15 20      ANN Playback floyd 0:
> 2005-08-20 20:01:02.570 write->16 22      ANN RingBuffer floyd 1:
> 2005-08-20 20:01:02.577 write->14 33      QUERY_RECORDER 1[]:[]SPAWN_LIVETV:
> 2005-08-20 20:01:02.649 write->14 37      QUERY_RECORDER 1[]:[]GET_PROGRAM_INFO:
> 2005-08-20 20:01:02.660 Output filters for this channel are: ''
> 2005-08-20 20:01:02.661 write->15 53      QUERY_RECORDER
> 1[]:[]REQUEST_BLOCK_RI...
> 2005-08-20 20:01:03.661 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
> 2005-08-20 20:01:03.661 write->15 66      QUERY_RECORDER
> 1[]:[]SEEK_RINGBUF[]:[...
> 2005-08-20 20:01:03.668 write->15 53      QUERY_RECORDER
> 1[]:[]REQUEST_BLOCK_RI...
> 2005-08-20 20:01:03.675 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
> 2005-08-20 20:01:03.676 write->15 53      QUERY_RECORDER
> 1[]:[]REQUEST_BLOCK_RI...
> 2005-08-20 20:01:03.930 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
> 2005-08-20 20:01:03.931 write->15 73      QUERY_RECORDER
> 1[]:[]SEEK_RINGBUF[]:[...
> 2005-08-20 20:01:03.937 write->15 53      QUERY_RECORDER
> 1[]:[]REQUEST_BLOCK_RI...
> 2005-08-20 20:01:03.943 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
> 2005-08-20 20:01:03.945 write->15 53      QUERY_RECORDER
> 1[]:[]REQUEST_BLOCK_RI...
> 2005-08-20 20:01:04.237 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
> 2005-08-20 20:01:04.238 write->15 73      QUERY_RECORDER
> 1[]:[]SEEK_RINGBUF[]:[...
> 2005-08-20 20:01:04.245 write->15 53      QUERY_RECORDER
> 1[]:[]REQUEST_BLOCK_RI...
> 2005-08-20 20:01:04.251 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
> 2005-08-20 20:01:04.252 write->15 73      QUERY_RECORDER
> 1[]:[]SEEK_RINGBUF[]:[...
> 2005-08-20 20:01:04.259 write->15 53      QUERY_RECORDER
> 1[]:[]REQUEST_BLOCK_RI...
> 2005-08-20 20:01:04.340 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
> 2005-08-20 20:01:04.342 write->15 53      QUERY_RECORDER
> 1[]:[]REQUEST_BLOCK_RI...
> 2005-08-20 20:01:04.517 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
> 2005-08-20 20:01:04.518 AVFD
> 2005-08-20 20:01:04.518 AVFD: Opening Stream #0: codec id 2
> 2005-08-20 20:01:04.518 write->15 53      QUERY_RECORDER
> 1[]:[]REQUEST_BLOCK_RI...
> 2005-08-20 20:01:04.519 Using libmpeg2 for video decoding
> 2005-08-20 20:01:04.520 detectInterlace(Detect Scan, Detect Scan,
> 29.97, 480) ->Interlaced Scan
> 2005-08-20 20:01:04.520 Interlaced: Interlaced Scan  video_height: 480
>  fps: 29.97
> 2005-08-20 20:01:04.520 AVFD: Looking for decoder for 2
> 2005-08-20 20:01:04.520 AVFD
> 2005-08-20 20:01:04.520 AVFD: Opening Stream #1: codec id 86016
> 2005-08-20 20:01:04.520 AVFD: Looking for decoder for 86016
> 2005-08-20 20:01:04.523 Stream #1 (audio track #0) is an audio stream
> with 2 channels.
> 2005-08-20 20:01:04.523 Auto-selecting audio track #1 (stream #1).
> 2005-08-20 20:01:04.523 It has 2 channels and we needed at least 1
> 2005-08-20 20:01:04.523 Initializing audio parms from audio track #0.
> 2005-08-20 20:01:04.739 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
> 2005-08-20 20:01:04.740 Estimated bitrate = 6384
> 2005-08-20 20:01:04.740 write->14 39      QUERY_RECORDER
> 1[]:[]GET_FRAMES_WRITTEN:
> 2005-08-20 20:01:04.741 write->15 53      QUERY_RECORDER
> 1[]:[]REQUEST_BLOCK_RI...
> 2005-08-20 20:01:04.746 Filling position map from 0 to 41
> 2005-08-20 20:01:04.746 write->14 51      QUERY_RECORDER
> 1[]:[]FILL_POSITION_MA...
> 2005-08-20 20:01:04.756 Position map filled from Encoder to: 2
> 2005-08-20 20:01:04.756 SyncPositionMap liveTV, from Encoder: 3 entries
> 2005-08-20 20:01:04.756 SyncPositionMap, new totframes: 30, new
> length: 1, posMap size: 3
> 2005-08-20 20:01:04.756 Partial position map found
> 2005-08-20 20:01:04.756 Commercial Detection initialized: width = 480,
> height = 480, fps = 29.97, method = 1
> 2005-08-20 20:01:04.757 Using Sample Spacing of 4 horizontal & 4
> vertical pixels.
> 2005-08-20 20:01:04.759 CommDetect::ClearAllMaps()
> 2005-08-20 20:01:04.761 Killing AudioOutputDSP
> 2005-08-20 20:01:04.761 Opening audio device 'default'.
> 2005-08-20 20:01:04.784 in SetParameters(format=2, channels=2,
> rate=48000, buffer_time=500000, period_time=125000)
> 2005-08-20 20:01:04.785 get_buffer_size returned 16384
> 2005-08-20 20:01:04.786 set_period_time_near returned 21333
> 2005-08-20 20:01:04.786 get_period_size returned 1024
> 2005-08-20 20:01:04.787 Opening mixer default
> 2005-08-20 20:01:04.789 Setting Master volume to 70
> 2005-08-20 20:01:04.790 Volume range is 0 to 31, mult=3.22581
> 2005-08-20 20:01:04.790 channel 0 vol set to 22
> 2005-08-20 20:01:04.790 Setting Master volume to 70
> 2005-08-20 20:01:04.790 Volume range is 0 to 31, mult=3.22581
> 2005-08-20 20:01:04.790 channel 1 vol set to 22
> 2005-08-20 20:01:04.791 Setting PCM volume to 70
> 2005-08-20 20:01:04.791 Volume range is 0 to 31, mult=3.22581
> 2005-08-20 20:01:04.791 channel 0 vol set to 22
> 2005-08-20 20:01:04.791 Setting PCM volume to 70
> 2005-08-20 20:01:04.791 Volume range is 0 to 31, mult=3.22581
> 2005-08-20 20:01:04.791 channel 1 vol set to 22
> 2005-08-20 20:01:04.791 Volume range is 0 to 31, mult=3.22581
> 2005-08-20 20:01:04.792 Audio fragment size: 4096
> 2005-08-20 20:01:04.793 Audio Stretch Factor: 1
> 2005-08-20 20:01:04.794 kickoffOutputAudioLoop: pid = 22536
> 2005-08-20 20:01:04.794 OutputAudioLoop: Play Event
> 2005-08-20 20:01:04.794 Broadcasting free space avail
> 2005-08-20 20:01:04.794 Ending reconfigure
> 2005-08-20 20:01:04.797 Broadcasting free space avail
> 2005-08-20 20:01:04.801 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
> 2005-08-20 20:01:04.801 Broadcasting free space avail
> 2005-08-20 20:01:04.805 Broadcasting free space avail
> 2005-08-20 20:01:04.808 Using XV port 53
> 2005-08-20 20:01:04.809 Broadcasting free space avail
> 2005-08-20 20:01:04.811 Image size. dispxoff 0, dispyoff: 0, dispwoff:
> 1024, disphoff: 768
> 2005-08-20 20:01:04.812 Image size. imgx 0, imgy: 0, imgw: 480, imgh: 480
> 2005-08-20 20:01:04.813 Broadcasting free space avail
> <.. repeat 30x ..>
> 2005-08-20 20:01:04.932 Read(): reqd=128000, rcvd=128000, rept=128000, error=0
> 2005-08-20 20:01:04.934 Broadcasting free space avail
> <.. repeat 10x ..>
> 2005-08-20 20:01:04.978 OutputAudioLoop: audio paused
> 2005-08-20 20:01:04.978 65536 bytes free on soundcard
> 2005-08-20 20:01:04.978 WriteAudio: Preparing 4096 bytes (1024 frames)
> 2005-08-20 20:01:04.979 write->14 33      QUERY_RECORDER 1[]:[]IS_RECORDING:
> 2005-08-20 20:01:04.980 nVidiaVideoSync: Could not open device
> /dev/nvidia0, No such file or directory
> 
> at this point, 'segmentation fault' is printed to STDERR and mythfrontend quits.
> The return from the .configure script that is run by emerge shows
> OpenGL turned off, and XvMC turned off.. so I'm not sure where we are
> getting this, or even if we're looking in the right place.
> 
> I can read the stream off the card with mplayer, are there other
> things I should be testing?
> 
> thanks for the help so far.
>


More information about the mythtv-users mailing list