Matt,

Thank you. Well at least there's consistency here. The only backend event your log shows being received is the RECORDING_LIST_CHANGE event and after that, the event handling thread appears to hang. Michael's backend log shows that the LIVE_TV_CHAIN UPDATE events are being generated by the backend so I know that's working.

There has to be some race condition on mutexes or something of the sort that blocks the event handling thread and that's what I was looking for by reading the code.

Since I now have two traces from two systems that show that after RECORDING_LIST_CHANGE is received event processing stops I'm going to build a dongle that does nothing for that event to determine if something in the RECORDING_LIST_CHANGE processing is causing the thread to hang (even if I never see the last debug trace that indicates that this case in the switch is selected).

I'll try to have a dongle for testing available tomorrow.

Thanks again.

Cheers...

Sergio


From:  Matt Mossholder <[EMAIL PROTECTED]>
To:  John Doe <[EMAIL PROTECTED]>
CC:  [EMAIL PROTECTED], [email protected]
Subject:  Re: [Mvpmc-users] 0.3.1 Live TV works... sort of?
Date:  Tue, 14 Nov 2006 23:26:54 -0500
>On Tue, 2006-11-14 at 23:06 -0500, John Doe wrote:
> > Michael,
> >
> > Ok will that lead fizzeled out because once I set up my syslogd and
> > used the same command line you provided I saw no issues and I can see
> > all my debug commands. I am assuming that you're starting your syslogd
> > with the -O command to specify an NFS mounted file (which uses TCP and
> > RPC) and not the -R command which uses UDP (which over wireless could
> > lose lots of stuff).
> >
> > I know I'm asking lots of questions but with the strange log I have, I
> > need to convince myself that what I'm looking at is actually correct
> > or I'll end up going around in circles.
> >
> > Cheers...
> >
> > Sergio
> >
> >
>
>Sergio,
> Here's what I am getting... The log is from a fresh boot. I entered New
>Live TV, and then immediately hit the up arrow on the remote. I waited
>about 30 seconds, and then assumed the channel change failed, and went
>into the EPG, and chose the adjacent channel from the lineup, and
>selected that. Finally, I backed out of New Live TV.
>
>
>
>dongle.bin.mvpmc.config:
>=======================
>
>TZ=EST+5EDT,M4.1.0/2,M10.5.0/2; export TZ;
>echo "TZ=EST+5EDT,M4.1.0/2,M10.5.0/2; export TZ" > /etc/shell.config;
>
>/bin/ntpclient -l -h 192.168.0.5 &
>
>mkdir /var
>mkdir /var/settings
>mkdir /Video
>mkdir /MP3
>mount -t nfs -o tcp,nolock,rsize=4096,wsize=4096,nfsvers=3
>192.168.0.5:/export/share/Music /MP3
>mount -t nfs -o tcp,nolock,rsize=4096,wsize=4096,nfsvers=3
>192.168.0.5:/export/share/Video /Video
>mount -t nfs -o tcp,nolock,rsize=4096,wsize=4096,nfsvers=3
>192.168.0.5:/export/share/mvpsettings /var/settings
>mvpmc -f /etc/helvB14.fnt -s 192.168.0.4 -c 192.168.0.4
>-F /var/settings/mvp-settings --web-port 80 1> /var/settings/log 2>&1  &
>
>
>
>
>/var/settings/log:
>==================
>
>fnt_createfont: /etc/helvB14.pcf,0 not found
>glyph_count = 756 (2f4)
>def char 0 (0)
>size 8960 byte1 0,34 byte2 0,255
>pcf_createfont: using font /etc/helvB14.pcf
>fnt_createfont: /etc/helvB18.pcf,0 not found
>glyph_count = 756 (2f4)
>def char 0 (0)
>size 8960 byte1 0,34 byte2 0,255
>pcf_createfont: using font /etc/helvB18.pcf
>fnt_createfont: /etc/helvB14.fnt,0 not found
>pcf_createfont: /etc/helvB14.fnt,0 not found
>createfont: no font found, returning NULL
>Re-starting to convince aspect ratio stuff to work...
>HIDE: 0 len 53 label 'Parents - Shows'
>HIDE: 1 len 37 label 'Parents - Movies'
>HIDE: 2 len 20 label 'Kids - Shows'
>HIDE: 3 len 7 label 'LiveTV'
>loaded config file
>child pid 84
>MediaMVP Media Center
>Version 0.3.1
>Mon Oct 23 21:02:48 EDT 2006HIDE: 0 len 53 label 'Parents - Shows'
>HIDE: 1 len 37 label 'Parents - Movies'
>HIDE: 2 len 20 label 'Kids - Shows'
>HIDE: 3 len 7 label 'LiveTV'
>loaded config file
>child exited cleanly
>child pid 85
>MediaMVP Media Center
>Version 0.3.1
>Mon Oct 23 21:02:48 EDT 2006fnt_createfont: /etc/helvB14.pcf,0 not found
>glyph_count = 756 (2f4)
>def char 0 (0)
>size 8960 byte1 0,34 byte2 0,255
>pcf_createfont: using font /etc/helvB14.pcf
>fnt_createfont: /etc/helvB18.pcf,0 not found
>glyph_count = 756 (2f4)
>def char 0 (0)
>size 8960 byte1 0,34 byte2 0,255
>pcf_createfont: using font /etc/helvB18.pcf
>fnt_createfont: /etc/helvB14.fnt,0 not found
>pcf_createfont: /etc/helvB14.fnt,0 not found
>createfont: no font found, returning NULL
>createfont: (height == 0) found builtin font System (0)
>createfont: (height == 0) found builtin font System (0)
>NTSC mode, 720x480
>screen is 720 x 480
>Initializing PAT Decoder
>approximate heap size 692224
>audio write thread started (pid 87)
>Allocated 4194304 heap bytes
>Allocated guard page
>mpeg read thread started (pid 88)
>video write thread started (pid 89)
>audio thread started (pid 90)
>Demux size video: 2097152  audio: 524288
>Setting WSS aspect to: 8
>mythtv control thread sleeping...(pid 96)
>myth watchdog thread started (pid 97)
>Starting new livetv
>Starting New Live TV!
>screensaver enable
>mclient:Starting mclient pthread.
>web server thread started (pid 95)
>expose on unknown wid 2
>switch_gui_state(): changing from 1 to 2
>show busy widget
>event thread started (pid 98)
>switch_hw_state(): changing from 1 to 2
>MythTV event RECORDING_LIST_CHANGErecorder framerate is 29.97
>
>Changing to aspect 0, afd 0
>Video aspect reported as ZERO - not changing setting
>fullscreen video mode
>fullscreen video mode
>Got stream recorder = 0x10602bf4, file = (nil))
>mythtv control thread starting...(pid 96)
>audio write thread running
>video write thread running
>screensaver enable
>screensaver disable
>screensaver enable
>screensaver disable
>control_start(): starting rec playback
>auto detection transport stream returned 0
>Changing to aspect 2, afd -1
>Source video aspect ratio: 4:3
>Setting WSS aspect to: 8
>selected audio stream 0xc0
>switch to MPEG audio output device
>hide busy widget
>show busy widget
>video write thread sleeping...
>audio write thread sleeping...
>Freeing PAT Decoder
>Initializing PAT Decoder
>mpeg read thread sleeping...
>Freeing PAT Decoder
>Initializing PAT Decoder
>Setting WSS aspect to: 8
>Changing to aspect 2, afd -1
>Source video aspect ratio: 4:3
>Setting WSS aspect to: 8
>request block failed
>request block failed
>request block failed
>request block failed
>request block failed
>request block failed 0
>control_start(): len 0 playing_via_mythtv 1 close_mythtv 0
>mythtv control thread sleeping...(pid 96)
>Got stream recorder = 0x10602bf4, file = (nil))
>mythtv control thread starting...(pid 96)
>request block failed
>request block failed
>video write thread running
>audio write thread running
>auto detection transport stream returned 0
>hide busy widget
>screensaver disable
>switch to MPEG audio output device
>control_start(): starting rec playback
>In video_callback showing guide 59
>show busy widget
>audio write thread sleeping...
>video write thread sleeping...
>Freeing PAT Decoder
>Initializing PAT Decoder
>mpeg read thread sleeping...
>Freeing PAT Decoder
>Initializing PAT Decoder
>Setting WSS aspect to: 8
>av_move(0,0,0): mythtv_channel_set [src/mythtv_livetv.c,770]
>Changing to aspect 2, afd -1
>Source video aspect ratio: 4:3
>Setting WSS aspect to: 8
>request block failed
>request block failed
>request block failed
>request block failed 0
>control_start(): len 0 playing_via_mythtv 1 close_mythtv 0
>mythtv control thread sleeping...(pid 96)
>Got stream recorder = 0x10602bf4, file = (nil))
>mythtv control thread starting...(pid 96)
>request block failed
>Stopping Live TV
>audio write thread running
>video write thread running
>hide busy widget
>control_start(): starting rec playback
>screensaver enable
>back_to_guide_menu(): 641
>show busy widget
>Freeing PAT Decoder
>Initializing PAT Decoder
>mpeg read thread sleeping...
>video write thread sleeping...
>Freeing PAT Decoder
>Initializing PAT Decoder
>
><snip .. lots of these>
>
>Freeing PAT Decoder
>Initializing PAT Decoder
>Setting WSS aspect to: 8
>request block failed
>control_start(): len 1 playing_via_mythtv 0 close_mythtv 0
>mythtv control thread sleeping...(pid 96)
>mythtv_atexit(): start exit processing...
>mythtv_atexit(): end exit processing...
>
>
>
>
> Thanks,
> --Matt
>


Ready for the world's first international mobile film festival celebrating the creative potential of today's youth? Check out Mobile Jam Fest for your a chance to WIN $10,000!
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mvpmc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Reply via email to