SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations > SageMC Custom Interface
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-12-2006, 02:22 PM
Mahoney Mahoney is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 483
SageMC - Stop button causes AWTThread Hang

Hi all,

My client is hanging on a regular basis. I find it happens when I do the following:

* start SageTVClient
* play something
* press stop twice to stop playback completely
* put system into S3 standby & resume
* play something
* press stop

At that point the image freezes, but the "stop" dialogue does not appear. Debug logs reveal the following:

Code:
Thu 10/12 20:48:35.713 VF.submitJob(VFJob[Pause r=0.0 t=0 file=null ifn=null])
Thu 10/12 20:48:35.714 VF processing job VFJob[Pause r=0.0 t=0 file=null ifn=null] nPlayin=true
Thu 10/12 20:48:35.715 processOptionsMenu optionsMenu=default:null|OptionsMenu:StopPopup context=Context[parent=Context[parent=Context[parent=null map={}] map={DVDPlaybackRate=1, rootPath=C:\Program Files\SageTV\SageTV\STVs\SageTV3\SageMCE, MyFileTitle=null, DisplayInfo=0, MGX=0.0, ChannelSurf=, MediaFile=MediaFile[id=762416 A[744198,325961,"Mission: Impossible 2 ****",125909@1010.00:00,140] host=lidalia-server encodedBy=SBDARecorder - Digital 1 on 127.0.0.1:6969 DVD Standard Play N:\TV\MissionImpossible2-744198-0.mpg, Seg0[Tue 10/10 0:00:00.011-Tue 10/10 2:20:00.009]], TimeX=1.0, Channels=[Lsage.ag;@1d5e499, ccshowid=null, DisplayTimeStatus=false, cctimes=null, dvdEXE=C:\Program Files\SageTV\SageTV\STVs\SageTV3\SageMCE\dvd_player.cmd, comautorunning=false, commerciallist=, ccadjust=0, ccdata=null, LastSubIndex=null, FFSpeed=1, Channel=0, MaxChannel=999, nowplayingfile=, MusicQueue=Playlist[MUSIC QUEUE A[491768,491767,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:26,5], A[491771,491770,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:26,5], A[491774,491773,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:26,5], A[491777,491776,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:28,3], A[491780,491779,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:26,5], A[491783,491782,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:27,4], A[491786,491785,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:27,4], A[491789,491788,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:27,4], A[491792,491791,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:28,3], ], commercials2=null, Airings=null, bOSDDir=true, OSDX=1.0, comautoskip=false, cc=null, DisplayDVDControls=false, DisplayMG=false, VolumeOSD=false, Airing=MediaFile[id=762416 A[744198,325961,"Mission: Impossible 2 ****",125909@1010.00:00,140] host=lidalia-server encodedBy=SBDARecorder - Digital 1 on 127.0.0.1:6969 DVD Standard Play N:\TV\MissionImpossible2-744198-0.mpg, Seg0[Tue 10/10 0:00:00.011-Tue 10/10 2:20:00.009]], MyFileOverview=null, TimeScrollTime=-1, bUserExternalDVD=false, cctext=, ccrunning=false, XOptions=0.01, cctextold=null, comautoskipTmpDisabled=false, forkstop=false, MyFile=false, nowplayingrunning=null, DVDX=0.0, AiringIndex=0, edlFormat=false}] map={_SAGE_PASSIVELISTEN=null}]
Thu 10/12 20:48:35.730 VF processing on UI Thread VFJob[Pause r=0.0 t=0 file=null ifn=null]
Thu 10/12 20:48:35.730 Pausing the playback graph.
Thu 10/12 20:48:35.731 VF.submitJob(VFJob[DirectControl r=0.0 t=0 file=null ifn=null])
Thu 10/12 20:48:35.731 VF processing job VFJob[DirectControl r=0.0 t=0 file=null ifn=null] nPlayin=false
Thu 10/12 20:48:35.731 VF processing on UI Thread VFJob[DirectControl r=0.0 t=0 file=null ifn=null]
Thu 10/12 20:48:35.733 DShowMediaPlayer is consuming the events...
Thu 10/12 20:48:35.733 Event: 0xe
Thu 10/12 20:48:35.733 VF processing job null nPlayin=false
Thu 10/12 20:48:35.734 isRec=false rd=8398432 base=366101
Thu 10/12 20:48:35.734 VF thread is now waiting for 0:00:00.000
Thu 10/12 20:48:35.735 ImageUtils loading file C:\Program Files\SageTV\SageTV\STVs\SageTV3\SageMCE\Images\logo_stop.png
Thu 10/12 20:48:35.740 ImageUtils creating BI copy sun.awt.windows.WImage@11c5342
Thu 10/12 20:48:35.740 Premultiplying alpha for BuffImage...
Thu 10/12 20:48:35.746 Creating DirectX9 Texture from memory w=136 h=136
Thu 10/12 20:48:36.733 AWTThread Hang Detected - hang time = 750
Thu 10/12 20:48:37.483 AWTThread Hang Detected - hang time = 1500
Thu 10/12 20:48:37.855 Rendered new font to cache font=java.awt.Font[family=Arial,name=Arial,style=bold,size=162] numGlyphs=1674 numCachedGlyphs=234 numImages=105
Thu 10/12 20:48:38.233 AWTThread Hang Detected - hang time = 2250
Thu 10/12 20:48:39.118 AWTThread Hang Detected - hang time = 3135
Thu 10/12 20:48:39.802 Received command of:NOOP from Socket[addr=/192.168.1.2,port=42024,localport=1378]
Thu 10/12 20:48:39.868 AWTThread Hang Detected - hang time = 3885
Thu 10/12 20:48:39.931 Rendered new font to cache font=java.awt.Font[family=Arial,name=Arial,style=bold,size=162] numGlyphs=1674 numCachedGlyphs=234 numImages=105
Thu 10/12 20:48:40.618 AWTThread Hang Detected - hang time = 4635
Thu 10/12 20:48:41.368 AWTThread Hang Detected - hang time = 5385
Thu 10/12 20:48:41.686 Rendered new font to cache font=java.awt.Font[family=Arial,name=Arial,style=bold,size=162] numGlyphs=1674 numCachedGlyphs=234 numImages=105
Thu 10/12 20:48:42.473 AWTThread Hang Detected - hang time = 6490
Thu 10/12 20:48:43.222 AWTThread Hang Detected - hang time = 7239
Thu 10/12 20:48:43.892 Rendered new font to cache font=java.awt.Font[family=Arial,name=Arial,style=bold,size=162] numGlyphs=1674 numCachedGlyphs=234 numImages=105
Thu 10/12 20:48:43.972 AWTThread Hang Detected - hang time = 7989
Thu 10/12 20:48:44.722 AWTThread Hang Detected - hang time = 8739
Thu 10/12 20:48:44.803 Received command of:NOOP from Socket[addr=/192.168.1.2,port=42024,localport=1378]
Thu 10/12 20:48:45.473 AWTThread Hang Detected - hang time = 9490
Thu 10/12 20:48:45.691 Rendered new font to cache font=java.awt.Font[family=Arial,name=Arial,style=bold,size=162] numGlyphs=1674 numCachedGlyphs=234 numImages=105
Thu 10/12 20:48:46.568 AWTThread Hang Detected - hang time = 10585
The AWT Thread remains hung. I think it once resumed about an hour later, but for obvious reasons I can't prove that easily!

When I press "stop" before having put the machine into standby, I get the AWT Thread hang but it manages to resume:

Code:
Thu 10/12 20:47:37.139 VF.submitJob(VFJob[Pause r=0.0 t=0 file=null ifn=null])
Thu 10/12 20:47:37.140 VF processing job VFJob[Pause r=0.0 t=0 file=null ifn=null] nPlayin=true
Thu 10/12 20:47:37.141 processOptionsMenu optionsMenu=default:null|OptionsMenu:StopPopup context=Context[parent=Context[parent=Context[parent=null map={}] map={DVDPlaybackRate=1, rootPath=C:\Program Files\SageTV\SageTV\STVs\SageTV3\SageMCE, MyFileTitle=null, DisplayInfo=0, MGX=0.0, ChannelSurf=, MediaFile=MediaFile[id=768339 A[746880,355740,"Guinness Rugby Club",196134@1012.20:00,90] host=lidalia-server encodedBy=Hauppauge WinTV PVR PCI II Capture DVD Standard Play M:\TV\GuinnessRugbyClub-746880-0.mpg, Seg0[Thu 10/12 20:00:00.011-Thu 1/1 1:00:00.000]], TimeX=1.0, Channels=[Lsage.ag;@1517997, ccshowid=null, DisplayTimeStatus=false, cctimes=null, dvdEXE=C:\Program Files\SageTV\SageTV\STVs\SageTV3\SageMCE\dvd_player.cmd, comautorunning=false, commerciallist=, ccadjust=0, ccdata=null, LastSubIndex=null, FFSpeed=1, Channel=0, MaxChannel=999, nowplayingfile=, MusicQueue=Playlist[MUSIC QUEUE A[491768,491767,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:26,5], A[491771,491770,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:26,5], A[491774,491773,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:26,5], A[491777,491776,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:28,3], A[491780,491779,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:26,5], A[491783,491782,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:27,4], A[491786,491785,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:27,4], A[491789,491788,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:27,4], A[491792,491791,"Buena Vista Social Club Presents: Ibrahim Ferrer",0@0710.22:28,3], ], commercials2=null, Airings=null, bOSDDir=true, OSDX=1.0, comautoskip=false, cc=null, DisplayDVDControls=false, DisplayMG=false, VolumeOSD=false, Airing=MediaFile[id=768339 A[746880,355740,"Guinness Rugby Club",196134@1012.20:00,90] host=lidalia-server encodedBy=Hauppauge WinTV PVR PCI II Capture DVD Standard Play M:\TV\GuinnessRugbyClub-746880-0.mpg, Seg0[Thu 10/12 20:00:00.011-Thu 1/1 1:00:00.000]], MyFileOverview=null, TimeScrollTime=-1, bUserExternalDVD=false, cctext=, ccrunning=null, XOptions=0.01, cctextold=null, comautoskipTmpDisabled=false, forkstop=false, MyFile=false, nowplayingrunning=null, DVDX=0.0, AiringIndex=0, edlFormat=false}] map={_SAGE_PASSIVELISTEN=null}]
Thu 10/12 20:47:37.213 VF processing on UI Thread VFJob[Pause r=0.0 t=0 file=null ifn=null]
Thu 10/12 20:47:37.214 Pausing the playback graph.
Thu 10/12 20:47:37.215 VF.submitJob(VFJob[DirectControl r=0.0 t=0 file=null ifn=null])
Thu 10/12 20:47:37.221 VF processing job VFJob[DirectControl r=0.0 t=0 file=null ifn=null] nPlayin=false
Thu 10/12 20:47:37.222 VF processing on UI Thread VFJob[DirectControl r=0.0 t=0 file=null ifn=null]
Thu 10/12 20:47:37.223 DShowMediaPlayer is consuming the events...
Thu 10/12 20:47:37.224 Event: 0xe
Thu 10/12 20:47:37.224 VF processing job null nPlayin=false
Thu 10/12 20:47:37.224 isRec=true rd=2857213 base=13850
Thu 10/12 20:47:37.224 VF thread is now waiting for 0:00:00.000
Thu 10/12 20:47:37.229 ImageUtils loading file C:\Program Files\SageTV\SageTV\STVs\SageTV3\SageMCE\Images\logo_stop.png
Thu 10/12 20:47:37.236 ImageUtils creating BI copy sun.awt.windows.WImage@b08f1
Thu 10/12 20:47:37.237 Premultiplying alpha for BuffImage...
Thu 10/12 20:47:37.244 Creating DirectX9 Texture from memory w=136 h=136
Thu 10/12 20:47:38.794 AWTThread Hang Detected - hang time = 750
Thu 10/12 20:47:39.544 AWTThread Hang Detected - hang time = 1500
Thu 10/12 20:47:39.609 Rendered new font to cache font=java.awt.Font[family=Arial,name=Arial,style=bold,size=162] numGlyphs=1674 numCachedGlyphs=234 numImages=105
Thu 10/12 20:47:39.614 Premultiplying alpha for BuffImage...
Thu 10/12 20:47:39.628 Creating DirectX9 Texture from memory w=256 h=256
Thu 10/12 20:47:39.629 Premultiplying alpha for BuffImage...
Thu 10/12 20:47:39.643 Creating DirectX9 Texture from memory w=256 h=256
Thu 10/12 20:47:39.643 Premultiplying alpha for BuffImage...
Thu 10/12 20:47:39.657 Creating DirectX9 Texture from memory w=256 h=256
Thu 10/12 20:47:39.658 Premultiplying alpha for BuffImage...
Thu 10/12 20:47:39.672 Creating DirectX9 Texture from memory w=256 h=256
Thu 10/12 20:47:39.673 Premultiplying alpha for BuffImage...
Thu 10/12 20:47:39.687 Creating DirectX9 Texture from memory w=256 h=256
Thu 10/12 20:47:40.076 Rendered new font to cache font=java.awt.Font[family=Arial,name=Arial,style=bold,size=63] numGlyphs=1674 numCachedGlyphs=244 numImages=13
Thu 10/12 20:47:40.077 Premultiplying alpha for BuffImage...
Thu 10/12 20:47:40.091 Creating DirectX9 Texture from memory w=256 h=256
Thu 10/12 20:47:40.092 Premultiplying alpha for BuffImage...
Thu 10/12 20:47:40.106 Creating DirectX9 Texture from memory w=256 h=256
Thu 10/12 20:47:40.107 Premultiplying alpha for BuffImage...
Thu 10/12 20:47:40.120 Creating DirectX9 Texture from memory w=256 h=256
Thu 10/12 20:47:40.121 Premultiplying alpha for BuffImage...
Thu 10/12 20:47:40.135 Creating DirectX9 Texture from memory w=256 h=256
Thu 10/12 20:47:40.186 Premultiplying alpha for BuffImage...
Thu 10/12 20:47:40.200 Creating DirectX9 Texture from memory w=256 h=256
Not sure what is causing the problem; does anyone else see this behaviour?
Reply With Quote
  #2  
Old 10-12-2006, 02:42 PM
Mahoney Mahoney is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 483
Just upgraded to Java 1.6 Beta 2 and SagmeMC 6.13a - same behaviour. Only thing left to upgrade is SageTVClient itself.

Incidentally, it appears that there are two nVidia PureVideo icons running in the system tray when I leave Sage after it has crashed like this. Which seems a little odd. Running FSE.
__________________
Server:
Sage 6.1.9, Java 1.6.0_01, AthlonXP 3000+, 512MB RAM, Terratec Cinergy 2400i, Technotrend S2-3200

Client:
Sage Client 6.1.9, Java 1.6.0_01, AthlonXP 3000+, 512MB RAM, GeForce 6150, ForceWare 93.71, nForce 8.26, PureVideo 1.02-223, SageMC 6.3.2c

Last edited by Mahoney; 10-12-2006 at 02:47 PM.
Reply With Quote
  #3  
Old 10-12-2006, 03:27 PM
Mahoney Mahoney is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 483
In danger of just talking to myself . Done the obvious thing and disabled the stop menu, all OK now - but there's clearly something dodgy about it. I'm guessing this might explain the slowness on the MVP, too.
__________________
Server:
Sage 6.1.9, Java 1.6.0_01, AthlonXP 3000+, 512MB RAM, Terratec Cinergy 2400i, Technotrend S2-3200

Client:
Sage Client 6.1.9, Java 1.6.0_01, AthlonXP 3000+, 512MB RAM, GeForce 6150, ForceWare 93.71, nForce 8.26, PureVideo 1.02-223, SageMC 6.3.2c
Reply With Quote
  #4  
Old 10-16-2006, 07:50 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Quote:
Originally Posted by Mahoney
Just upgraded to Java 1.6 Beta 2 and SagmeMC 6.13a - same behaviour. Only thing left to upgrade is SageTVClient itself.

Incidentally, it appears that there are two nVidia PureVideo icons running in the system tray when I leave Sage after it has crashed like this. Which seems a little odd. Running FSE.
You ugraded to beta 2, did you upgrade to latest snapshot as well?
http://download.java.net/jdk6/binaries/
Reply With Quote
  #5  
Old 10-24-2006, 12:36 PM
clmolnar clmolnar is offline
Sage Advanced User
 
Join Date: Nov 2005
Posts: 129
I am experiencing this same problem. I tried disabling the stop menu. Hopefully this helps!
Reply With Quote
  #6  
Old 10-24-2006, 10:11 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
By "disabling" the stop menu, do you really mean "Enable" the Disable Pop Up on Stop?

Mine has always been on "Disable."
__________________
-Jason
Reply With Quote
  #7  
Old 10-24-2006, 10:19 PM
clmolnar clmolnar is offline
Sage Advanced User
 
Join Date: Nov 2005
Posts: 129
Yes

I also disabled "Back on Stop" in the SageMC options.

I haven't had the lockup since, hopefully this works for you too.
Reply With Quote
  #8  
Old 10-25-2006, 12:47 AM
Mahoney Mahoney is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 483
Quote:
By "disabling" the stop menu, do you really mean "Enable" the Disable Pop Up on Stop?
Yes... that's a menu option that should be switched round, double negatives are not intuitive.

I haven't had a lockup since I "Enabled" the Disable Pop Up on Stop option. As the MVP also suffers from issues using this item, I have a suspicion there is something a bit dodgy about it.
__________________
Server:
Sage 6.1.9, Java 1.6.0_01, AthlonXP 3000+, 512MB RAM, Terratec Cinergy 2400i, Technotrend S2-3200

Client:
Sage Client 6.1.9, Java 1.6.0_01, AthlonXP 3000+, 512MB RAM, GeForce 6150, ForceWare 93.71, nForce 8.26, PureVideo 1.02-223, SageMC 6.3.2c
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 03:01 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.