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

Blastzone blastzone at gmail.com
Tue Aug 23 12:27:55 UTC 2005


Ok, next step was to build the proprietary ATI driver and see if that
helped.  Nope.
So I'm running the fglrx driver instead of the radeon driver in X, but
no joy, still segfaulting.

I did manage to figure out the security lockdown in gentoo's X
(go into the /usr/X11R6/bin/startx script and pull the --nolisten tcp flag)

and get some GDB output.  What I got was all the same log messages
(see above) but also this line after the segfault:

#0 0xb65b6dbc in nanosleep  () from /lib/libc.so.6

I hope that helps - it's frustrating being so close, and so far.

Is there at least a hack that I can use in the interim to point "watch
recordings" to mplayer instead of the internal player?  trying to find
shows by 1066_YYYYMMDDhhmm_etc.  is not easy.

On 8/21/05, Blastzone <blastzone at gmail.com> wrote:
> Nope.
> 
> unmerged myth
> Manually removed all myth-related files
> Removed the database
> ran revdep-rebuild
> re-emerged myth
> 
> same problem.
> 
> I'll continue to work on a real GDB output tomorrow evening, but if
> anyone has some ideas as to what is causing the segfault, I'd really
> appreciate it.
> 
> 
> 
> On 8/21/05, pschormeir at iiv.de <pschormeir at iiv.de> wrote:
> > I've had the same problem a while ago.
> > My solution was unmerging the myth-ebuilds, manually removing every file
> > with *myth* in it's name from the harddisk (certainly not the files in
> > /usr/portage ... ), then did a revdep-rebuild to be sure the system is ok
> > and afterwards remerged the myth ebuilds.
> > I guess my problem was a left over from a previous install from source code.
> >
> > Maybe this helps
> >
> > Regards
> >
> > Fritz
> >
> > -----Ursprüngliche Nachricht-----
> > Von: mythtv-users-bounces at mythtv.org
> > [mailto:mythtv-users-bounces at mythtv.org]Im Auftrag von Blastzone
> > Gesendet: Sonntag, 21. August 2005 02:17
> > An: Discussion about mythtv
> > Betreff: Re: [mythtv-users] Problems running Myth - segfault starting
> > liveTV
> >
> >
> > 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.
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
>


More information about the mythtv-users mailing list