TV Service taking long while to shutdown, delaying Windows shutdown/reboot (1 Viewer)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    Based on the system event log it looks like windows is not detecting that the TV service has shut down:
    [2013-07-16 12:11:07,727] [Log ] [TVService] [INFO ] - TvService is beeing stopped
    ...
    [2013-07-16 12:11:07,805] [Log ] [TVService] [INFO ] - TV Service: stopped

    "16/07/2013 12:11:29";"Service Control Manager";"(0)";"Error";"The TVService service did not shut down properly after receiving a preshutdown control.";"3221232515"
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    So does this suggest that it needs to be tweaked to properly notify Windows that it has in fact shutdown? As Windows appears to have no problem detecting that all the other services have shut down, it would suggest that to me but I'm no expert on these things ;)
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    Yes, it would suggest that... but I have no idea what Windows' problem is! ;)
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    To be short: I can confirm this too and I think it worked fine in MP 1.3.0. Could it also be a Windows update problem?
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    It could be that the service just logs that it has shut down but still is alive - some thread waiting etc. Debugger will tell what is active after the log line has been written.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    Yep, possibly.
    I was looking at the service code today to see what had changed since MP 1.3 and it looks like it is really only the logging... or was that in MP 1.3 as well?
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    or was that in MP 1.3 as well?

    No. Logging was added in MP 1.4.0. :)
    Issue seems to be still there in MP 1.5.0 Pre -> https://forum.team-mediaportal.com/threads/windows-7-need-a-long-time-to-shutdown.121255/

    @mm1352000
    What I found from MP 1.3.0 to MP 1.4.0 is this one: https://issues.team-mediaportal.com/browse/MP1-3172
    Maybe it could be releated?

    GIT commit for MP1-3172: https://github.com/MediaPortal/MediaPortal-1/commit/62dda4359a776f45dfeea70e71f160c06babcd98
     
    Last edited:

    ed76

    MP Donator
  • Premium Supporter
  • August 4, 2012
    170
    14
    44
    Home Country
    Germany Germany
    same probleme here....
     

    Users who are viewing this thread

    Top Bottom