[solved] Crash / ImageDownloader (1 Viewer)

HTPCSourcer

MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    • Thread starter
    • Admin
    • #1
    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,697
    7,081
    Sydney
    Australia Australia
    Country flag
    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

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    • Thread starter
    • Admin
    • #3
    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,285
    220
    Nottingham
    United Kingdom United Kingdom
    Country flag
    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,285
    220
    Nottingham
    United Kingdom United Kingdom
    Country flag
    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
    32
    Groningen
    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,697
    7,081
    Sydney
    Australia Australia
    Country flag
    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

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    871
    58
    NRW
    Germany Germany
    Country flag
    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 (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    L Service keeps crashing General 0
    U [solved] MediaPortal crashing on startup General Support 10
    RoChess Weird GPU crash -- possible cause: resizing media MediaPortal 1 Talk 8
    torone Dritter versuch mit Mediaportal 2 Allgemeines Support- und Diskussionsforum 1
    W [solved] MP suddenly Crashes when starting live TV on most channels and on recordings from the same channels General Support 20
    W [solved] MP suddenly Crashes when starting live TV on some channels and on some recordings Television (MyTV frontend and TV-Server) 1
    D [solved] Changed username in Win10, now TV Server config crashes on fresh install Installation, configuration support 1
    ajs Trakt error when start with MP crash Trakt 1
    R TV server crash with WintTV quadHD General 0
    Dark Eyes TVService locks up or fails to restart on resuming from sleep, and crashes when grabbing EPG Installation, configuration support 7
    atlantic [solved] MP1.24 Pre released crash in TV General Support 12
    RoChess Random GPU crash leads to MePo restart, but works fine afterwards MediaPortal 1 14
    R [fixed] [MP2-819] MP2 Server crashes on ATSC OTA channel scan Submit: Bug Reports 33
    doskabouter 1.23.0 Crash when skipping in a dvd Bugreports 3
    J [fixed] [MP2-833] 2.2.2 server crash during import Submit: Bug Reports 50
    P MP2 TV Server crashes when starting - throws error remoting exception General 2
    G MP Crashed during setting up recording. Newcomers Forum 1
    Rob Hexenmeister DVD Skip steps causing crash General Support 2
    badboyxx MP 1.22 final is crashing when jumping forward while playing DVD-Iso watch/edit Videos 26
    Terra Crash when opening ACTORS list My TVSeries 3
    Terra Crash when searching movies, reproducable Moving Pictures 2
    KlausWirn Music crash Bass crash no change to play music Installation, configuration support 2
    cladinshadows85 [solved] Audio playing mutiple times over video and crashing General 8
    joecrow Win 10 crash, hang and freeze with USB Tuner. General Support 13
    S Crashing on some IPTV channels General Support 21
    Similar threads

























    Top Bottom