Shutdown Issues (2 Viewers)

macmr

Portal Pro
August 21, 2011
105
17
Home Country
Hi I upgraded from 1.3.0 to 1.14.0 Pre Release recently and have had a few issues. One I have a log for (attached) is as follows:

PowerScheduler shutdowns the computer at night with tv off and no HDMI signal
Startup next morning finds Mediaportal at reduced screen size and unresponsive
Ctrl+Alt+Del finds Mediaportal as "Not Responding"
Close via Ctrl+Alt+Del and let Mediaportal Watchdog produce file

Hope this is enough info to track down the problem

Thanks
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Thanks for the report - perfect. (y)

    I'll look at the log files and get back to you in the next hour or two. Just having [late] dinner at the moment [here in New Zealand]...
     

    macmr

    Portal Pro
    August 21, 2011
    105
    17
    Home Country
    Thanks yes very late for your dinner as it's 7pm here in Oz
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Okay, so unfortunately the cause of the problem isn't 100% clear because the MediaPortal log level is information rather than debug.

    From the TV Server log I can assemble the power sequence/timing:
    [2016-04-14 06:15:45,422] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: Suspend
    [2016-04-14 15:07:26,676] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: ResumeAutomatic
    [2016-04-14 15:07:39,033] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: ResumeSuspend
    [2016-04-15 00:33:00,427] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: Suspend
    [2016-04-15 00:34:24,338] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: ResumeAutomatic
    [2016-04-15 00:36:13,500] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: Suspend
    [2016-04-15 07:12:04,812] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: ResumeAutomatic
    [2016-04-15 07:12:09,085] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: ResumeSuspend

    When I compare the MediaPortal log:
    [2016-04-14 06:15:46,152] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_APMSUSPEND)
    [2016-04-14 15:07:26,838] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_APMRESUMEAUTOMATIC)
    [2016-04-14 15:07:36,850] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_APMRESUMESUSPEND)
    [2016-04-15 00:33:01,130] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_APMSUSPEND)
    [2016-04-15 00:34:24,358] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_APMRESUMEAUTOMATIC)

    ...and so we can see that although MediaPortal hangs/crashes at 07:12:04, the problem actually seems to occur when MediaPortal resumes or suspends on 15 April at either 00:34 or 00:36.

    Due to the log verbosity I can't say much more than this about the problem itself. However I can speculate a little. I'm aware that there is at least one bug in MP 1.14 PR that may cause problems like this. That problem didn't exist in MP 1.13 final and has been fixed for MP 1.14 final. Therefore this problem may correct itself if you switch versions. I could give a more definitive diagnosis and resolution if you could provide new debug-level log files.
     

    macmr

    Portal Pro
    August 21, 2011
    105
    17
    Home Country
    Thanks I have now set the log verbosity to "debug" and the process priority to "normal". If it happens again I will resubmit
     

    Users who are viewing this thread

    Top Bottom