[further infos missing] Error: Mediaportal stopped working (1 Viewer)

mylle

Portal Pro
April 14, 2005
574
66
Denmark
Home Country
Denmark Denmark
Hi guys,

I dont think this is specific to 1.2 RC but while using mediaportal I every so often get a popup that mediaportal stopped working :(

I can actually just close the pop up box and mediaportal keeps running but its very annoying. I happens in Live TV and while watching movies.

Im getting this error in error.log


2011-09-01 20:14:23.451877 [ERROR][(25)]: MediaPortal: Unhandled exception occured
2011-09-01 20:14:23.454878 [ERROR][(25)]: Exception :confused:ystem.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at System.Collections.Generic.Dictionary`2..ctor(IDictionary`2 dictionary, IEqualityComparer`1 comparer)
at MediaPortal.Util.Utils.RemoveFoldersFromCache(String dir)
at MediaPortal.Util.Utils.fileSystemWatcher_Error(Object sender, ErrorEventArgs e)
at System.IO.FileSystemWatcher.OnError(ErrorEventArgs e)
at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
2011-09-01 20:14:23.455878 [ERROR][(25)]: Exception :Collection was modified; enumeration operation may not execute.
2011-09-01 20:14:23.455878 [ERROR][(25)]: site :Void ThrowInvalidOperationException(System.ExceptionResource)
2011-09-01 20:14:23.455878 [ERROR][(25)]: source :mscorlib
2011-09-01 20:14:23.456878 [ERROR][(25)]: stacktrace: at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at System.Collections.Generic.Dictionary`2..ctor(IDictionary`2 dictionary, IEqualityComparer`1 comparer)
at MediaPortal.Util.Utils.RemoveFoldersFromCache(String dir)
at MediaPortal.Util.Utils.fileSystemWatcher_Error(Object sender, ErrorEventArgs e)
at System.IO.FileSystemWatcher.OnError(ErrorEventArgs e)
at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)


and this error in mediaportal.log

2011-09-01 20:14:23.451877 [Info.][(25)]: MediaPortal: Unhandled exception occured
2011-09-01 20:14:23.454878 [Info.][(25)]: Exception :confused:ystem.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at System.Collections.Generic.Dictionary`2..ctor(IDictionary`2 dictionary, IEqualityComparer`1 comparer)
at MediaPortal.Util.Utils.RemoveFoldersFromCache(String dir)
at MediaPortal.Util.Utils.fileSystemWatcher_Error(Object sender, ErrorEventArgs e)
at System.IO.FileSystemWatcher.OnError(ErrorEventArgs e)
at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
2011-09-01 20:14:23.455878 [Info.][(25)]: Exception :Collection was modified; enumeration operation may not execute.
2011-09-01 20:14:23.455878 [Info.][(25)]: site :Void ThrowInvalidOperationException(System.ExceptionResource)
2011-09-01 20:14:23.455878 [Info.][(25)]: source :mscorlib
2011-09-01 20:14:23.456878 [Info.][(25)]: stacktrace: at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at System.Collections.Generic.Dictionary`2..ctor(IDictionary`2 dictionary, IEqualityComparer`1 comparer)
at MediaPortal.Util.Utils.RemoveFoldersFromCache(String dir)
at MediaPortal.Util.Utils.fileSystemWatcher_Error(Object sender, ErrorEventArgs e)
at System.IO.FileSystemWatcher.OnError(ErrorEventArgs e)
at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)



Any clue whats going on?


Regards
Jacob
 

elliottmc

Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    Any clue whats going on?

    Nope.

    As we keep telling you all, we need the full logs. All we know is what happened last. We have no way of knowing how it got to that point.

    Please provide the full logs, or I will delete the thread as per our policy.

    Mark
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    Hi Jacob

    It is something to do with watched folders. Can you please turn on debug level logging. This will be caused by some specific folders or files, and debug logging should tell us which ones they are. Not that that is a solution - just trying to be practical. :)

    mm
     

    Brudertac

    MP Donator
  • Premium Supporter
  • October 26, 2006
    978
    277
    Augsburg
    Home Country
    Germany Germany
    I have the same error.

    Please see the attached LOG Files.

    Thanks!

    best Regards
    Brudertac
     
    Last edited:

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    try and disable the experimental "file existence patch". found in mp config under "GUI".

    in short: it's a threading issue with this particular feature.

    /gibman
     

    Brudertac

    MP Donator
  • Premium Supporter
  • October 26, 2006
    978
    277
    Augsburg
    Home Country
    Germany Germany
    AW: Error: Mediaportal stopped working

    Thank you.
     

    Users who are viewing this thread

    Top Bottom