- Moderator
- #1
[UPDATE]
Better description here: https://forum.team-mediaportal.com/...eduler-synchronization-concurrency-bug-42094/
Ignore this thread.
[/UPDATE]
I didn't have this problem in 0.2.3 so I'm bit out of ideas.
My HTPC goes to standby as it should, but never wakes up to record scheduled shows or even to grab EPG at the time I have configured it in TV-Server Configuration Powerscheduler.
I've been trying to get at least EPG grabbing to work running only TV-Server without starting MP but with no luck.
Some logs attached where I scheduled EPG grab to be at 10.20 and my HTPC went to standby at 10.12. However, at 10.23 my HTPC hadn't woke up so I turned it on manually. Logs look like that TV-Server still thinks that it was automatic wake up instead of manual..
EDIT: The main problem seems to be the entering to the standby when the error occurs (see error.log). According to brief chat with Bavarian at IRC, it seems that it's somekind of synchronzation issue between threads. _powerManager get's set to null by Stop() but in the same time _powerManager will be still used in DisAllowShutdown.get() causing NPE. Both tv.log's I posted below have wrong dates for wake up (9.7.2008) because of wrong settings so ignore them (with these settings the server should have woke up not earlier than tomorrow
TV-Server Version: 1.0 RC1 SVN 19574
MediaPortal Version: 1.0 RC1 SVN 19574
MediaPortal Skin: BlueTwo Wide
Windows Version: Windows XP SP3
CPU Type: Intel E8200 2.66GHz
HDD: Seagate IV 40GB
Memory: Corsair 2GB 800MHz
Motherboard: Asus P5E-VM HDMI
Video Card: Intel X3500 IGP HDMI
Video Card Driver:
Sound Card: Realtek HD Integrated
Sound Card AC3: AC3Filter
Sound Card Driver:
1. TV Card: FireDTV DVB-C
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: nVidia Purevideo
MPEG2 Audio Codec: AC3Filter
h.264 Video Codec: CoreAVC 1.7
Satelite/CableTV Provider:
HTPC Case: Antec Fusion 2
Cooling: Stock
Power Supply: Antec 430W
Remote: Logitech diNovo Mini / FireDTV Remote
TV: Toshiba 46ZF355
TV - HTPC Connection: HDMI
Better description here: https://forum.team-mediaportal.com/...eduler-synchronization-concurrency-bug-42094/
Ignore this thread.
[/UPDATE]
I didn't have this problem in 0.2.3 so I'm bit out of ideas.
My HTPC goes to standby as it should, but never wakes up to record scheduled shows or even to grab EPG at the time I have configured it in TV-Server Configuration Powerscheduler.
I've been trying to get at least EPG grabbing to work running only TV-Server without starting MP but with no luck.
Some logs attached where I scheduled EPG grab to be at 10.20 and my HTPC went to standby at 10.12. However, at 10.23 my HTPC hadn't woke up so I turned it on manually. Logs look like that TV-Server still thinks that it was automatic wake up instead of manual..
EDIT: The main problem seems to be the entering to the standby when the error occurs (see error.log). According to brief chat with Bavarian at IRC, it seems that it's somekind of synchronzation issue between threads. _powerManager get's set to null by Stop() but in the same time _powerManager will be still used in DisAllowShutdown.get() causing NPE. Both tv.log's I posted below have wrong dates for wake up (9.7.2008) because of wrong settings so ignore them (with these settings the server should have woke up not earlier than tomorrow
TV-Server Version: 1.0 RC1 SVN 19574
MediaPortal Version: 1.0 RC1 SVN 19574
MediaPortal Skin: BlueTwo Wide
Windows Version: Windows XP SP3
CPU Type: Intel E8200 2.66GHz
HDD: Seagate IV 40GB
Memory: Corsair 2GB 800MHz
Motherboard: Asus P5E-VM HDMI
Video Card: Intel X3500 IGP HDMI
Video Card Driver:
Sound Card: Realtek HD Integrated
Sound Card AC3: AC3Filter
Sound Card Driver:
1. TV Card: FireDTV DVB-C
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: nVidia Purevideo
MPEG2 Audio Codec: AC3Filter
h.264 Video Codec: CoreAVC 1.7
Satelite/CableTV Provider:
HTPC Case: Antec Fusion 2
Cooling: Stock
Power Supply: Antec 430W
Remote: Logitech diNovo Mini / FireDTV Remote
TV: Toshiba 46ZF355
TV - HTPC Connection: HDMI