[confirm] RemoveFoldersFromCache crashes MP (1 Viewer)

pilehave

Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    with my current test-setup, based on SVN 27237 I have had this crash:

    Code:
    2011-01-13 16:59:44.279165 [Debug][PoolThread14(14)]: ThreadPool.ProcessQueue() : total items processed: 10
    2011-01-13 17:00:36.814170 [Debug][(3)]: fileSystemWatcher_Error path \\nas\data\hum exception=System.ComponentModel.Win32Exception: Det angivne netværksnavn er ikke længere til rådighed
    2011-01-13 17:00:36.815170 [Debug][(3)]: RemoveWatcher \\nas\data\hum
    2011-01-13 17:00:36.933177 [Debug][FileSystemManager Thread(6)]: AddWatcher \\nas\data\video med olivia
    2011-01-13 17:00:36.933177 [Debug][FileSystemManager Thread(6)]: FileLookUpCacheThread items : 2209
    2011-01-13 17:00:36.934177 [Debug][FileExistsCache Thread(7)]: InsertFilesIntoCacheAsynch: pre-scanning dir : \\nas\film\film
    2011-01-13 17:00:36.970179 [Debug][(3)]: RemoveWatcher removing folders from cache=\\nas\data\hum
    2011-01-13 17:00:36.971179 [Debug][(8)]: RemoveWatcher removing folders from cache=\\nas\data\musik
    2011-01-13 17:01:44.280029 [Debug][PoolThread14(14)]: ThreadPool.ProcessQueue() : quitting (inUse:1, total:2)
    2011-01-13 17:04:36.815897 [Debug][(25)]: fileSystemWatcher_Error path \\nas\data\video med olivia exception=System.ComponentModel.Win32Exception: Det angivne netværksnavn er ikke længere til rådighed
    2011-01-13 17:04:36.815897 [Debug][(25)]: RemoveWatcher \\nas\data\video med olivia
    2011-01-13 17:04:36.907902 [Debug][FileExistsCache Thread(7)]: AddWatcher \\nas\film\film
    2011-01-13 17:04:36.908902 [Debug][FileExistsCache Thread(7)]: InsertFilesIntoCacheAsynch: pre-scanning dir : d:\film
    2011-01-13 17:04:36.908902 [Debug][FileSystemManager Thread(6)]: FileSystemWatchManagerThread : updating watchers
    2011-01-13 17:04:36.919903 [Debug][FileSystemManager Thread(6)]: FileLookUpCacheThread items : 2285
    2011-01-13 17:04:36.920903 [Debug][FileExistsCache Thread(7)]: AddWatcher d:\film
    2011-01-13 17:04:36.920903 [Debug][FileExistsCache Thread(7)]: InsertFilesIntoCacheAsynch: pre-scanning dir : c:\program files (x86)\team mediaportal\mediaportal\plugins\windows
    2011-01-13 17:04:36.921903 [Debug][FileExistsCache Thread(7)]: AddWatcher c:\program files (x86)\team mediaportal\mediaportal\plugins\windows
    2011-01-13 17:04:36.922903 [Debug][(25)]: RemoveWatcher removing folders from cache=\\nas\data\video med olivia
    2011-01-13 17:04:36.922903 [Debug][FileExistsCache Thread(7)]: FileExistsCacheThread: new items found waiting for caching: 6
    2011-01-13 17:04:36.922903 [Debug][FileExistsCache Thread(7)]: InsertFilesIntoCacheAsynch: pre-scanning dir : c:\programdata\team mediaportal\mediaportal\skin\reflex\media
    2011-01-13 17:04:36.926903 [Debug][FileExistsCache Thread(7)]: InsertFilesIntoCacheAsynch: pre-scanning dir : c:\program files (x86)\team mediaportal\mediaportal\moviethumbnailer
    2011-01-13 17:04:36.927903 [Debug][FileExistsCache Thread(7)]: AddWatcher c:\program files (x86)\team mediaportal\mediaportal\moviethumbnailer
    2011-01-13 17:04:36.927903 [Debug][FileExistsCache Thread(7)]: InsertFilesIntoCacheAsynch: pre-scanning dir : \\nas\data\hum\thomas tog
    2011-01-13 17:04:41.883187 [Debug][MPMain(1)]: Main: Idle timer is blanking the screen after 300 seconds of inactivity
    2011-01-13 17:08:36.814624 [Debug][(8)]: fileSystemWatcher_Error path \\nas\film\film exception=System.ComponentModel.Win32Exception: Det angivne netværksnavn er ikke længere til rådighed
    2011-01-13 17:08:36.815624 [Debug][(8)]: RemoveWatcher \\nas\film\film
    2011-01-13 17:08:39.100755 [Debug][FileExistsCache Thread(7)]: AddWatcher \\nas\data\hum\thomas tog
    2011-01-13 17:08:39.100755 [Debug][FileExistsCache Thread(7)]: InsertFilesIntoCacheAsynch: pre-scanning dir : c:\programdata\team mediaportal\mediaportal\thumbs\videos\title
    2011-01-13 17:08:39.101755 [Debug][FileSystemManager Thread(6)]: FileSystemWatchManagerThread : updating watchers
    2011-01-13 17:08:39.102755 [Debug][FileSystemManager Thread(6)]: RemoveWatcher c:\program files (x86)\team mediaportal\mediaportal\plugins\windows
    2011-01-13 17:08:39.103755 [Debug][FileSystemManager Thread(6)]: RemoveWatcher c:\program files (x86)\team mediaportal\mediaportal\moviethumbnailer
    2011-01-13 17:08:39.104755 [Debug][FileSystemManager Thread(6)]: AddWatcher c:\program files (x86)\team mediaportal\mediaportal
    2011-01-13 17:08:39.118756 [Debug][FileSystemManager Thread(6)]: FileLookUpCacheThread items : 2799
    2011-01-13 17:08:39.118756 [Debug][FileExistsCache Thread(7)]: InsertFilesIntoCacheAsynch: pre-scanning dir : d:\film\alien anthology 1979-1997 720p brrip x264-hdlite
    2011-01-13 17:08:39.119756 [Debug][FileExistsCache Thread(7)]: InsertFilesIntoCacheAsynch: pre-scanning dir : d:\film\terminator
    2011-01-13 17:08:39.119756 [Debug][FileExistsCache Thread(7)]: FileExistsCacheThread: no more items to cache, suspending thread.: 6
    2011-01-13 17:08:39.162759 [Info.][(8)]: MediaPortal: Unhandled exception occured
    2011-01-13 17:08:39.216762 [Info.][(8)]: Exception   :System.InvalidOperationException: Samlingen er blevet ændret. Optællingen bliver muligvis ikke udført.
       ved System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
       ved System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
       ved System.Collections.Generic.Dictionary`2..ctor(IDictionary`2 dictionary, IEqualityComparer`1 comparer)
       ved MediaPortal.Util.Utils.RemoveFoldersFromCache(String dir)
       ved MediaPortal.Util.Utils.fileSystemWatcher_Error(Object sender, ErrorEventArgs e)
       ved System.IO.FileSystemWatcher.OnError(ErrorEventArgs e)
       ved System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
       ved System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
    2011-01-13 17:08:39.216762 [Info.][(8)]: Exception   :Samlingen er blevet ændret. Optællingen bliver muligvis ikke udført.
    2011-01-13 17:08:39.217762 [Info.][(8)]:   site      :Void ThrowInvalidOperationException(System.ExceptionResource)
    2011-01-13 17:08:39.217762 [Info.][(8)]:   source    :mscorlib
    2011-01-13 17:08:39.218762 [Info.][(8)]:   stacktrace:   ved System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
       ved System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
       ved System.Collections.Generic.Dictionary`2..ctor(IDictionary`2 dictionary, IEqualityComparer`1 comparer)
       ved MediaPortal.Util.Utils.RemoveFoldersFromCache(String dir)
       ved MediaPortal.Util.Utils.fileSystemWatcher_Error(Object sender, ErrorEventArgs e)
       ved System.IO.FileSystemWatcher.OnError(ErrorEventArgs e)
       ved System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
       ved System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

    I just had MediaPortal idling on the DialogVideoInfo screen when it crashed.

    I'll try and see if I can recreate the problem.
     

    Users who are viewing this thread

    Top Bottom