Mediaportal Crash on Suspend? (1 Viewer)

nino

Portal Member
October 29, 2007
33
1
Home Country
Germany Germany
Hi -

After Mediaportal suspended and resumed a couple ot times, e.g. for recording, it seems like Mediaportal crashes when going to suspend state. The last lines I usually see in the MediaPortal logfile are the following:

2008-12-08 01:56:45.437500 [Info.][MPMain]: Main: Windows has resumed from standby or hibernate mode to handle a requested event
2008-12-08 01:56:45.437500 [Info.][MPMain]: Main: OnResumeAutomatic - Starting recorder
2008-12-08 01:56:45.437500 [Info.][MPMain]: TvCardCollection: TVPlugin detected -> no TVE2 card setup
2008-12-08 01:56:45.453125 [Info.][CommandProcessor]: Commandprocessor: Starting
2008-12-08 01:56:45.453125 [Info.][MPMain]: Recorder: start
2008-12-08 01:56:45.515625 [Info.][MPMain]: Main: OnResumeAutomatic - Done
2008-12-08 01:59:15.234375 [Info.][MPMain]: Main: WM_POWERBROADCAST: 0
2008-12-08 01:59:15.234375 [Info.][MPMain]: Main: Windows is requesting hibernate mode - UI bit: 0
2008-12-08 01:59:15.375000 [Info.][MPMain]: Main: WM_POWERBROADCAST: 2
2008-12-08 01:59:15.375000 [Info.][MPMain]: Main: Windows is denied to go to suspended mode
2008-12-08 02:27:15.203125 [Info.][MPMain]: Main: WM_POWERBROADCAST: 0
2008-12-08 02:27:15.203125 [Info.][MPMain]: Main: Windows is requesting hibernate mode - UI bit: 0
2008-12-08 02:27:15.390625 [Info.][MPMain]: Main: WM_POWERBROADCAST: 4
2008-12-08 02:27:15.390625 [Info.][MPMain]: Main: Windows is suspending

"Windows is suspending" is the last line seen in the log - when resuming manually from standby I only get a black screen until I kill MediaPortal.

It looks to me that MediaPortal crashed since usually I see a "full suspend sequence" in the logs like for example:
008-12-08 01:30:05.328125 [Info.][MPMain]: Main: Windows is suspending
2008-12-08 01:30:05.343750 [Info.][MPMain]: Main: Stopping playback
2008-12-08 01:30:05.343750 [Info.][MPMain]: Main: Stopping recorder
2008-12-08 01:30:05.343750 [Info.][MPMain]: Main: Stopping AutoPlay
2008-12-08 01:30:05.343750 [Info.][MPMain]: Main: OnSuspend - Done


TvServer doesn't seem to be aware of the last suspend request. At the time Windwos is suspending according to the MediaPortal log the TvServer log is silent:

008-12-08 02:25:13.609375 [20]: card: StopRecording 1
2008-12-08 02:25:13.609375 [20]: card: StopRecording for card:1
2008-12-08 02:25:13.609375 [20]: subch:0-0 tswriter StopRecording...
2008-12-08 02:25:13.609375 [20]: tvcard:FreeSubChannel:1 #0 keep graph=False
2008-12-08 02:25:13.609375 [20]: DVB subch:0 Decompose()
2008-12-08 02:25:13.609375 [20]: FreeSubChannel CA: freeing sub channel : 0
2008-12-08 02:25:13.609375 [20]: tvcard:FreeAllSubChannels:
2008-12-08 02:25:13.609375 [20]: dvb:confused:topGraph
2008-12-08 02:25:13.625000 [20]: card: remove user:scheduler23 sub:0
2008-12-08 02:25:13.625000 [20]: user:scheduler23 remove
2008-12-08 02:25:13.625000 [20]: tvcard:FreeAllSubChannels:
2008-12-08 02:25:13.625000 [Channel state thread]: Controller: DoSetChannelStates for 58 channels
2008-12-08 09:44:46.984375 [PowerEventThread]: PowerScheduler: Entering standby was disallowed (blocked)

I configured the Powerscheduler TvServer and Client Plugin to suspend after 5 minutes Idle time (only in home screen, don't force shutdown).

Can somebody give me hint what is going on there? Which process is causing the "WM_POWERBROADCAST" and "Windows is requesting hibernate mode - UI bit: 0" lines? I am not aware of any other process that might want to force Windows to suspend mode. But even if some other process did, Mediaportal should suspend properly anyway...

Thank you very much for any help!

Cheers,

nino








TV-Server Version:
MediaPortal Version: 1.0 RC4
MediaPortal Skin: Blue3Wide
Windows Version: XP SP3
CPU Type:
HDD:
Memory:
Motherboard:
Video Card:
Video Card Driver:
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card: Digital Everywhere FireDTV
1. TV Card Type: DVB-C
1. TV Card Driver: BDA
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:
MPEG2 Audio Codec:
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote: MCE
TV:
TV - HTPC Connection: DVI
 

nino

Portal Member
October 29, 2007
33
1
Home Country
Germany Germany
I didn't have this problem with RC3.
Has anybody related issues which started with RC4?
 

nino

Portal Member
October 29, 2007
33
1
Home Country
Germany Germany
Has this really been fixed?

I uninstalled RC4 and made a clean install of 1.0. Unfortunately I still have exactly the same problem.

Is anybody else experiencing the same problem?

Merry Christmas and thanks to all MediaPortal developers, testers and supporters!

Cheers,

nino.
 

Seidelin

Retired Team Member
  • Premium Supporter
  • August 14, 2006
    1,754
    652
    Farum
    Home Country
    Denmark Denmark
    Try the fix described in this thread. The timing with RC3 working and RC4 not working would suggest, that your problem will be solved by that workaround.
     

    Users who are viewing this thread

    Top Bottom