Crash when loading a huge platform game liste with a lot of grames.

Issue #7625 new
Claude Deschênes created an issue

When I open my “Flash Armor Games” category I got a crash.

Arithmetic operation resulted in an overflow.

App: LaunchBox
Version: 13.2
Type: System.OverflowException
Site: Int32 Sum[TSource](System.Collections.Generic.IEnumerable1[TSource], System.Func2[TSource,System.Int32])
Source: System.Linq

at System.Linq.Enumerable.Sum[TSource](IEnumerable1 source, Func2 selector)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.PlatformFiltersDetailsViewModel..ctor(Platform platform, Brush backgroundBrush, List`1 gamesOverride)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.SideBarViewModel.<>c__DisplayClass78_0.RemoveNotificationParam()
at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.DisableScopeRef(Object )
at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.ConnectRemoteDefinition()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

Recent Log:

22:29:06 Exception

If I ignore the Crash Windows, Launchbox still respond and continue to work until I close crash Windows.

If I spread game platform in 2 platforms show one of them won’t cause crash … but displaying parent category that containt the two platform cause the issue.

Comments (0)

  1. Log in to comment