files-community / Files

Building the best file manager for Windows
https://files.community
MIT License
34.06k stars 2.17k forks source link

Bug: BaseLayoutPage.UpdateSelectionSize OverflowException #15500

Closed yaira2 closed 3 weeks ago

yaira2 commented 4 months ago

Description

BaseLayoutPage.UpdateSelectionSize () System.OverflowException: Arithmetic operation resulted in an overflow.

Steps To Reproduce

Unknown

Requirements

Files Version

v3.4.4

Windows Version

Windows 11

Log File

System.Linq
Enumerable.Sum[TSource,TResult,TAccumulator] (IEnumerable`1 source, Func`2 selector)
Files.App.Views.Layouts
BaseLayoutPage.UpdateSelectionSize ()
Files.App.Views.Shells
BaseShellPage.FilesystemViewModel_DirectoryInfoUpdated (Object sender, EventArgs e)
System.Threading.Tasks.Task
<>c.<ThrowAsync>b__128_0 (Object state)
WinRT
ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0 (Int32 hr)
ABI.Windows.ApplicationModel.Core
IUnhandledErrorMethods.Propagate (IObjectReference _obj)
Microsoft.AppCenter.Utils
ApplicationLifecycleHelperWinUI.<ctor>b__0_3 (Object sender, UnhandledErrorDetectedEventArgs eventArgs)
hishitetsu commented 4 months ago

Does that mean the total file size exceeded 9 EB (9,000,000 TB)? Is that possible under normal use?

sentry-io[bot] commented 3 months ago

Sentry Issue: FILES-APP-3P

yaira2 commented 3 months ago

@hishitetsu I linked the report from Sentry but it doesn't really offer anything more than what we have here.

hishitetsu commented 3 months ago

The only difference is the advice given by the AI, which only states the obvious lol