trakt / Trakt-for-Mediaportal

Adds Trakt Support to Mediaportal
http://www.team-mediaportal.com/
26 stars 10 forks source link

Crash after idling on homescreen for a while #71

Closed Shukuyen closed 9 years ago

Shukuyen commented 10 years ago

MediaPortal just crashed on me with the following error:

[2013-12-20 21:14:04,693] [Error  ] [DashMovies] [ERROR] - MediaPortal: Unhandled exception occured
[2013-12-20 21:14:04,701] [Log    ] [DashMovies] [ERROR] - Exception: System.OutOfMemoryException: Eine Ausnahme vom Typ "System.OutOfMemoryException" wurde ausgelöst.
   bei System.Threading.Thread.StartInternal(IPrincipal principal, StackCrawlMark& stackMark)
   bei System.Threading.Thread.Start()
   bei System.Threading.Thread.Start(Object parameter)
   bei TraktPlugin.GUI.GUIMovieListItem.GetImages(List`1 itemsWithThumbs)
   bei TraktPlugin.TraktDashboard.LoadTrendingMoviesFacade(IEnumerable`1 movies, GUIFacadeControl facade)
   bei TraktPlugin.TraktDashboard.LoadTrendingMovies(Boolean forceReload)
   bei TraktPlugin.TraktDashboard.<Init>b__20(Object o)
   bei System.Threading._TimerCallback.TimerCallback_Context(Object state)
   bei System.Threading.ExecutionContext.runTryCode(Object userData)
   bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Threading._TimerCallback.PerformTimerCallback(Object state)  Message: Eine Ausnahme vom Typ "System.OutOfMemoryException" wurde ausgelöst.  Site   : Void StartInternal(System.Security.Principal.IPrincipal, System.Threading.StackCrawlMark ByRef)  Source : mscorlib  Stack Trace:     bei System.Threading.Thread.StartInternal(IPrincipal principal, StackCrawlMark& stackMark)
   bei System.Threading.Thread.Start()
   bei System.Threading.Thread.Start(Object parameter)
   bei TraktPlugin.GUI.GUIMovieListItem.GetImages(List`1 itemsWithThumbs)
   bei TraktPlugin.TraktDashboard.LoadTrendingMoviesFacade(IEnumerable`1 movies, GUIFacadeControl facade)
   bei TraktPlugin.TraktDashboard.LoadTrendingMovies(Boolean forceReload)
   bei TraktPlugin.TraktDashboard.<Init>b__20(Object o)
   bei System.Threading._TimerCallback.TimerCallback_Context(Object state)
   bei System.Threading.ExecutionContext.runTryCode(Object userData)
   bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Threading._TimerCallback.PerformTimerCallback(Object state)

I wasn't at the PC at the time and all it did was sitting on the home screen. Disclaimer: I am still using 3.1.2 of the Trakt plugin, but I couldn't see anything in your commit logs that hinted at such a bug.

System specs:

damienhaynes commented 10 years ago

I presume this was with the Trakt Dashboard being displayed on the BasicHome screen?

Any chance you have a full set of logs so I can see what else was happening and what settings you have?

I may need to look at what objects implement IDisposable and wrap them up in using statement to clean them up after each use.

Shukuyen commented 10 years ago

I don't have the full log anymore. The homescreen showed the latest added episodes (which does not work correctly for me, I only get skin variables ...).

I will try to reproduce and send you the full log file.

damienhaynes commented 9 years ago

Im going to close this one off, if you see this again using the next version v5.0.0 please re-open.