SSDPServerController.OnExpirationTimerElapsed: Cannot acquire synchronization lock. Maybe a deadlock (2 Viewers)

MrTechno

Retired Team Member
  • Premium Supporter
  • February 27, 2011
    1,256
    511
    London
    Home Country
    United Kingdom United Kingdom
    The service has started but the error log is full of these (one per second)
     

    MrTechno

    Retired Team Member
  • Premium Supporter
  • February 27, 2011
    1,256
    511
    London
    Home Country
    United Kingdom United Kingdom
    If it's any help I'm running on WHS 2011. Not seen the error before and the only thing I've done recently is enable remote access VPN. I'll turn it off and see if it helps.
     

    MrTechno

    Retired Team Member
  • Premium Supporter
  • February 27, 2011
    1,256
    511
    London
    Home Country
    United Kingdom United Kingdom
    Already tried a vanilla reinstall just in case it was SlimTV causing the issue. Still seeing the error
     

    MrTechno

    Retired Team Member
  • Premium Supporter
  • February 27, 2011
    1,256
    511
    London
    Home Country
    United Kingdom United Kingdom
    This lock really is locked! Service wouldn't stop, couldn't kill the process. Had to put it in manual mode, then reboot, then turn off VPN. Another reboot and everything is fine again. SSDP is running at the moment. Going to try turning VPN on again now
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    I took already a look into code, the affected object is "_cpData.SyncObj", which is used in many places for synchronization.

    So there could one process hanging during any network action, which would lock out other callers from the CpData object.

    Can you please describe more in detail what lead to the lock? Did MP2-Server worked once and suddenly hung? Or did it never work until you deactivated VPN? I could imagine that VPN network could be a cause for the problem.
     

    MrTechno

    Retired Team Member
  • Premium Supporter
  • February 27, 2011
    1,256
    511
    London
    Home Country
    United Kingdom United Kingdom
    When the VPN is active MP2-Server doesn't start properly. From a cold boot Services reports it as "Started" but MP2 ServiceMonitor status is "Disconnected from server".

    Comparing successful logs with VPN disabled and unsuccessful logs with VPN enabled there's an extra network interface in the unsuccessful log:

    [2014-01-05 17:40:43,546] [5218 ] [Main ] [DEBUG] - UPnPServer: Initializing IP endpoint '169.254.0.20'
    [2014-01-05 17:40:43,546] [5218 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint '169.254.0.20', search port is 1900

    According to ipconfig that address belongs to "PPP adapter RAS (Dial In) Interface"
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Can you please upload both logfiles so we can compare them also?

    MP2 currently starts its UPnP services on each available network adapter. Maybe we need to introduce a setting to limit it to one or more chosen network adapters.
    Another way would be to add timeouts for service creation.
     

    MrTechno

    Retired Team Member
  • Premium Supporter
  • February 27, 2011
    1,256
    511
    London
    Home Country
    United Kingdom United Kingdom
    Here's a successful startup with VPN disabled
     

    Users who are viewing this thread

    Similar threads

    MP1 MP2 MP2 - V2.5 Media Source DE
    @Brownard, just a stupid question. Yes it works now by manually entering the path. However when i try to edit the settings (like because i want to disable the share watch) I can select my Media Source, however i seems to only briefly been shown and the goes back to the list. So i cannot actually edit it. Can et bee due to the "long"...
    @Brownard, just a stupid question. Yes it works now by manually entering the path. However when i try to edit the settings (like...
    I had to replace my NAS and after reinstalling a new one i thought. Lets modify the Media Source. - However that did not work "if"...
    Replies
    25
    Views
    2K
    Hi, you can try the new installer from this post if you like.
    Hi, you can try the new installer from this post if you like.
    Hello, I came from MediaPortal 1.30 and wanted to Update on 1.32 x64 Edition. I cleanly uninstalled 1.30 first and then installed...
    Replies
    7
    Views
    839
    I can confirm that. After reinstalling MP1.31(x86) I mistakenly installed the x64 version MpUrlSourcesplitter. Then I got the error. After uninstalling MpUrlSourcesplitter(x64) I installed the MpUrlSourcesplitter(x86). But the error message still comes.
    I can confirm that. After reinstalling MP1.31(x86) I mistakenly installed the x64 version MpUrlSourcesplitter. Then I got the...
    Just completed a clean install of Win 10 followed by MP 1.31. During install the installer hung up because I didn't have .net 3.5...
    Replies
    3
    Views
    554
    @doskabouter That fixed it, thanks!
    @doskabouter That fixed it, thanks!
    I just upgraded to 1.32 and now, when I start TV-Service Config, I get this error: [2024-01-31 09:33:13,138] [Log ] [SetupTv...
    Replies
    2
    Views
    576
    ??? :confused: Please, try with latest MP 1.33, not 1.30 and, all in debug logs to provide...
    ??? :confused: Please, try with latest MP 1.33, not 1.30 and, all in debug logs to provide...
    Hi Running MP1 - 1.39 for long while, no issues. 10th April [same time as 2024-KB5037036 Cumulative Update for .NET Framework...
    Replies
    4
    Views
    330
    Top Bottom