[solved] Crash / ImageDownloader (1 Viewer)

HTPCSourcer

Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    Hello,

    Since a few dys my MP installations are almost always crashing when launched. A second launch following the first one right after usually works. The log is showing the ImageDownloiader as the root cause:
    [2015-08-30 18:33:57,857] [Error ] [ImageDownloader0] [ERROR] - MediaPortal: Unhandled exception occured
    [2015-08-30 18:33:57,857] [Error ] [ImageDownloader1] [ERROR] - OnMessage exceptionystem.InvalidOperationException: Die Auflistung wurde geändert. Der Enumerationsvorgang kann möglicherweise nicht ausgeführt werden.
    bei System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
    bei System.Collections.Generic.List`1.Enumerator.MoveNextRare()
    bei System.Collections.Generic.List`1.Enumerator.MoveNext()
    bei MediaPortal.GUI.Library.GUIWindow.GetFocusControlId()
    bei MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
    [2015-08-30 18:33:57,919] [Log ] [ImageDownloader0] [ERROR] - Exception: System.InvalidOperationException: Die Auflistung wurde geändert. Der Enumerationsvorgang kann möglicherweise nicht ausgeführt werden.
    bei System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
    bei System.Collections.Generic.List`1.Enumerator.MoveNextRare()
    bei System.Collections.Generic.List`1.Enumerator.MoveNext()
    bei MediaPortal.GUI.Library.GUIWindow.AnimationTrigger(GUIMessage message)
    bei MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
    bei MediaPortal.GUI.Library.GUIControl.GetSelectedListItem(Int32 lWindowId, Int32 iControlId)
    bei TraktPlugin.GUI.GUIShowListItem.<set_Images>b__0(Object s, PropertyChangedEventArgs e) in C:\Development\Trakt\TraktPlugin\GUI\GUIListItems\GUIShowListItem.cs:Zeile 43.
    bei TraktPlugin.GUI.GUITraktImage.NotifyPropertyChanged(String propertyName) in C:\Development\Trakt\TraktPlugin\GUI\GUIImageHandler.cs:Zeile 90.
    bei TraktPlugin.GUI.GUIShowListItem.<GetImages>b__3(Object o) in C:\Development\Trakt\TraktPlugin\GUI\GUIListItems\GUIShowListItem.cs:Zeile 121.
    bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    bei System.Threading.ThreadHelper.ThreadStart(Object obj) Message: Die Auflistung wurde geändert. Der Enumerationsvorgang kann möglicherweise nicht ausgeführt werden. Site : Void ThrowInvalidOperationException(System.ExceptionResource) Source : mscorlib Stack Trace: bei System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
    bei System.Collections.Generic.List`1.Enumerator.MoveNextRare()
    bei System.Collections.Generic.List`1.Enumerator.MoveNext()
    bei MediaPortal.GUI.Library.GUIWindow.AnimationTrigger(GUIMessage message)
    bei MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
    bei MediaPortal.GUI.Library.GUIControl.GetSelectedListItem(Int32 lWindowId, Int32 iControlId)
    bei TraktPlugin.GUI.GUIShowListItem.<set_Images>b__0(Object s, PropertyChangedEventArgs e) in C:\Development\Trakt\TraktPlugin\GUI\GUIListItems\GUIShowListItem.cs:Zeile 43.
    bei TraktPlugin.GUI.GUITraktImage.NotifyPropertyChanged(String propertyName) in C:\Development\Trakt\TraktPlugin\GUI\GUIImageHandler.cs:Zeile 90.
    bei TraktPlugin.GUI.GUIShowListItem.<GetImages>b__3(Object o) in C:\Development\Trakt\TraktPlugin\GUI\GUIListItems\GUIShowListItem.cs:Zeile 121.
    bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    bei System.Threading.ThreadHelper.ThreadStart(Object obj)
    [2015-08-30 18:33:58,060] [Log ] [ImageDownloader2] [DEBUG] - TextureManager: load from memory: [Trakt:403848057]
    [2015-08-30 18:33:58,091] [Log ] [ImageDownloader2] [DEBUG] - TextureManager: added: memoryImage total count: 38, mem left (MB): 1987
    Is this something that is directly relating to Trakt or could this be due to the skin (Titanius) calling some property that is not yet available?
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Hey @HTPCSourcer,

    That is an odd place to crash and will need all your logs to figure out what else was happening at the time.I suspect you were existing basichome at the time of the crash, possibly an image finished download during this period and one of the GUIListItems were notified that the images finished download at this time.

    @powermarcel10 , could I get a test release of Titanius so can test against this skin.

    Cheers,
    Damien
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    That is an odd place to crash and will need all your logs to figure out what else was happening at the time.
    As often, when you try to reproduce the issue, you can't... This moning it did not crash, but I have attached all the logs from one client. Version 2 contains the previously mentioned messages.

    Note that I have redirected databases, skin, etc to point to a central directory on the server.[/user]
     

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,288
    221
    Nottingham
    Home Country
    United Kingdom United Kingdom
    Hi,

    Same issue here. Coincidently I am also using the new Titanius.. but I don't have any non-standard databasesetup like sourcer, pretty standard MePo. Full logs attached. I actually just crashed three times on the bounce here so something is broken :) I sent you a PM with link to Titanius just in case as per request. It always occurs on MePo start up, I get as far as Initialising Windows Manager and then it crashes.
     
    Last edited:

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,288
    221
    Nottingham
    Home Country
    United Kingdom United Kingdom
    After the 5th time, it loaded OK. I included the log from this startup incase it helps identify any differences between a success / failed boot up.

    Thanks
     

    powermarcel10

    Retired Team Member
  • Premium Supporter
  • November 30, 2010
    2,839
    898
    35
    Groningen
    Home Country
    Netherlands Netherlands
    Hey @HTPCSourcer,

    That is an odd place to crash and will need all your logs to figure out what else was happening at the time.I suspect you were existing basichome at the time of the crash, possibly an image finished download during this period and one of the GUIListItems were notified that the images finished download at this time.

    @powermarcel10 , could I get a test release of Titanius so can test against this skin.

    Cheers,
    Damien

    Sure,

    I will invite you to our test team so you can download the latest test version at the first post.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    I started making some bug fixes and improvements with the dashboard loading.

    There was one bug I fixed with the TrendingShows facade sometimes not being displayed even though there were items available. Also made a few improvements. Tested with 200 movies +200 shows pushed to the filmstrips on BasicHome (not recommended!)

    If you have any problems please use the attached plugin and if you continue to have problems then please post a full set of logs like above.

    Note: I don't believe it fixes the crash reported initially but let's see as it could of been another symptom.
     

    Attachments

    • TraktPlugin_v5.5.2.1.mpe1
      3.4 MB

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    873
    62
    NRW
    Home Country
    Germany Germany
    Hi,
    Unfortunately with Trakt plugin enabled MP crashes here to desktop. This is the related log entry ->
    Code:
    [2015-09-22 14:12:42,660] [Error  ] [ImageDownloader1] [ERROR] - MediaPortal: Unhandled exception occured
    [2015-09-22 14:12:42,688] [Log    ] [ImageDownloader1] [ERROR] - Exception: System.InvalidOperationException: Die Auflistung wurde geändert. Der Enumerationsvorgang kann möglicherweise nicht ausgeführt werden.
       bei System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
       bei System.Collections.Generic.List`1.Enumerator.MoveNextRare()
       bei System.Collections.Generic.List`1.Enumerator.MoveNext()
       bei MediaPortal.GUI.Library.GUIWindow.AnimationTrigger(GUIMessage message)
       bei MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
       bei MediaPortal.GUI.Library.GUIControl.GetSelectedListItem(Int32 lWindowId, Int32 iControlId)
       bei TraktPlugin.GUI.GUIMovieListItem.SetImageToGui(String imageFilePath) in C:\Development\Trakt\TraktPlugin\GUI\GUIListItems\GUIMovieListItem.cs:Zeile 143.
       bei TraktPlugin.GUI.GUIMovieListItem.<set_Images>b__0(Object s, PropertyChangedEventArgs e) in C:\Development\Trakt\TraktPlugin\GUI\GUIListItems\GUIMovieListItem.cs:Zeile 47.
       bei TraktPlugin.GUI.GUITraktImage.NotifyPropertyChanged(String propertyName) in C:\Development\Trakt\TraktPlugin\GUI\GUIImageHandler.cs:Zeile 90.
       bei TraktPlugin.GUI.GUIMovieListItem.<GetImages>b__3(Object o) in C:\Development\Trakt\TraktPlugin\GUI\GUIListItems\GUIMovieListItem.cs:Zeile 106.
       bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       bei System.Threading.ThreadHelper.ThreadStart(Object obj)  Message: Die Auflistung wurde geändert. Der Enumerationsvorgang kann möglicherweise nicht ausgeführt werden.  Site   : Void ThrowInvalidOperationException(System.ExceptionResource)  Source : mscorlib  Stack Trace:     bei System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
       bei System.Collections.Generic.List`1.Enumerator.MoveNextRare()
       bei System.Collections.Generic.List`1.Enumerator.MoveNext()
       bei MediaPortal.GUI.Library.GUIWindow.AnimationTrigger(GUIMessage message)
       bei MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
       bei MediaPortal.GUI.Library.GUIControl.GetSelectedListItem(Int32 lWindowId, Int32 iControlId)
       bei TraktPlugin.GUI.GUIMovieListItem.SetImageToGui(String imageFilePath) in C:\Development\Trakt\TraktPlugin\GUI\GUIListItems\GUIMovieListItem.cs:Zeile 143.
       bei TraktPlugin.GUI.GUIMovieListItem.<set_Images>b__0(Object s, PropertyChangedEventArgs e) in C:\Development\Trakt\TraktPlugin\GUI\GUIListItems\GUIMovieListItem.cs:Zeile 47.
       bei TraktPlugin.GUI.GUITraktImage.NotifyPropertyChanged(String propertyName) in C:\Development\Trakt\TraktPlugin\GUI\GUIImageHandler.cs:Zeile 90.
       bei TraktPlugin.GUI.GUIMovieListItem.<GetImages>b__3(Object o) in C:\Development\Trakt\TraktPlugin\GUI\GUIListItems\GUIMovieListItem.cs:Zeile 106.
       bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       bei System.Threading.ThreadHelper.ThreadStart(Object obj)
    [2015-09-22 14:12:42,695] [Log    ] [PoolThread51] [DEBUG] - ThreadPool.ProcessQueue() : total items processed: 187
    [2015-09-22 14:12:42,723] [Log    ] [ImageDownloader2] [DEBUG] - TextureManager: load from memory: [Trakt:1641708039]
    [2015-09-22 14:12:42,895] [Log    ] [MPMain   ] [DEBUG] - Window: WindowPlugins.home.GUIBasicHome init
    [2015-09-22 14:12:42,899] [Log    ] [30       ] [DEBUG] - fileSystemWatcher_Deleted file c:\programdata\team mediaportal\mediaportal\skin\DefaultWide HD\SkinSettings.xml.bak
    [2015-09-22 14:12:42,958] [Log    ] [54       ] [DEBUG] - fileSystemWatcher_Created file c:\programdata\team mediaportal\mediaportal\skin\DefaultWide HD\SkinSettings.xml
    [2015-09-22 14:12:42,977] [Log    ] [PoolThread50] [DEBUG] - SkinSettings: Saved all settings.
    [2015-09-22 14:12:43,028] [Log    ] [PoolThread50] [DEBUG] - ThreadPool.ProcessQueue() : total items processed: 189
    [2015-09-22 14:12:42,999] [Log    ] [PoolThread29] [DEBUG] - ThreadPool.ProcessQueue() : total items processed: 188
    [2015-09-22 14:12:43,091] [Log    ] [PoolThread51] [DEBUG] - SkinSettings: Saved all settings.
    [2015-09-22 14:12:43,098] [Log    ] [PoolThread51] [DEBUG] - ThreadPool.ProcessQueue() : total items processed: 190
    [2015-09-22 14:12:43,083] [Log    ] [54       ] [DEBUG] - fileSystemWatcher_Deleted file c:\programdata\team mediaportal\mediaportal\skin\DefaultWide HD\SkinSettings.xml.bak
    [2015-09-22 14:12:43,114] [Log    ] [30       ] [DEBUG] - fileSystemWatcher_Created file c:\programdata\team mediaportal\mediaportal\skin\DefaultWide HD\SkinSettings.xml

    Logs are attached.
    Best regards
    Helios
     

    Users who are viewing this thread

    Top Bottom