[fixed] [MP2-833] 2.2.2 server crash during import (1 Viewer)

HTPCSourcer

Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    Home Country
    Germany Germany
    On the side: The Thumbnailer throws regex errors like
    [2020-01-05 04:53:15,237] [86950039] [75 ] [ERROR] - OCVVideoThumbnailer: Exception reading resource '{03dd2da6-4da8-4d3e-9e55-80e3165729a3}:////spacekatt/movies/h/Heavy Metal (1981)/Heavy Metal (1981).mkv' (Text: 'u != 0')
    OpenCvSharp.OpenCVException: u != 0
    I have no idea what "u !=0" means (other than u not equal to zero) but it would certainly be nice to be able to eliminate these errors. maybe @henso can comment about this regex thing.

    The event log reports the crash at 15:05:17:

    Warning 01.05.2020 15:05 disk Disk 0 has been surprise removed.
    Error 01.05.2020 15:05 Service Control Manager The MediaPortal 2 Server Service service terminated unexpectedly. It has done this 1 time(s).
    Error 01.05.2020 15:05 Microsoft-Windows-ReFS The file system was unable to write metadata to the media backing volume D:. A write failed with status "A device which does not exist was specified."


    The respective server log shows the last entry at 15:05:16,7 in line with the event log. However, 5 seconds earlier, at 15:05:12, Windows says that drive D: was unexpectedly removed. Can this be related?

    The OutOfMemory warnings are also not nice:
    [2020-01-05 03:35:25,723] [82280526] [84 ] [DEBUG] - MovieFanArtTvMatcher: Search for movie Golden Exits (2017) online
    ...
    [2020-01-05 04:52:32,577] [86907379] [84 ] [ERROR] - Warn.: Error handling SOAP request: Exception of type 'System.OutOfMemoryException' was thrown.
     
    Last edited:

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    Home Country
    Germany Germany
    It seems to happen when out of memory errors occur.
    Which could certainly be the ultimate cause of the server crashing.

    Is there maybe something more recent available from OpenCV that we could use instead? The website has version 4 now.
     

    JSchuricht

    MP Donator
  • Premium Supporter
  • January 13, 2009
    239
    45
    Arizona
    Home Country
    United States of America United States of America
    The event log reports the crash at 15:05:17:

    Warning 01.05.2020 15:05 disk Disk 0 has been surprise removed.
    Error 01.05.2020 15:05 Service Control Manager The MediaPortal 2 Server Service service terminated unexpectedly. It has done this 1 time(s).
    Error 01.05.2020 15:05 Microsoft-Windows-ReFS The file system was unable to write metadata to the media backing volume D:. A write failed with status "A device which does not exist was specified."


    The respective server log shows the last entry at 15:05:16,7 in line with the event log. However, 5 seconds earlier, at 15:05:12, Windows says that drive D: was unexpectedly removed. Can this be related?

    That was unfortunate timing. I threw in a bunch of old disks when I was testing local vs SMB storage. Right now the MP2 server is configured to only look at SMB storage and shouldn't know about the D drive much less be using it. The previous crashes were caught on a virtual machine using SMB for media but I have also seen the crash on a system with bare metal Win 10 to local RAID 5 array running REFS, a bare metal Win 10 running local RAID 1 with NTFS and a bare metal Win 10 with individual USB attached drives.

    I pulled the bad drive from the test server, hopefully I will catch another crash to eliminate the possibility of the bad drive interfering with results.
     

    JSchuricht

    MP Donator
  • Premium Supporter
  • January 13, 2009
    239
    45
    Arizona
    Home Country
    United States of America United States of America
    Crash # 2, 3 and 4 from the test server to rule out that disk issue.
     

    Attachments

    • MediaPortal2-Logs-2020-01-09-02.37.11 (service crash).zip
      5 MB
    • MediaPortal2-Logs-2020-01-08-16.30.24 (service crash).zip
      2.8 MB
    • MediaPortal2-Logs-2020-01-08-15.07.40 (service crash).zip
      3.3 MB

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    Home Country
    Germany Germany
    The logs give no indication as to what exactly is happening. The server logs show the last recorded action to be the MovieFanArtTvMatcher. What you could do is to remove this plugin from the plugin directory and do another stress test. Maybe this helps to narrow down the cause.
     

    JSchuricht

    MP Donator
  • Premium Supporter
  • January 13, 2009
    239
    45
    Arizona
    Home Country
    United States of America United States of America
    I will give that a try. Guessing it is one of the FanArtService folders in plugins?

    ScreenShot457.jpg
     

    Users who are viewing this thread

    Top Bottom