Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battlegrounds Memory Leak leading to silent crash #4557

Open
jamiemoles opened this issue Jun 8, 2024 · 6 comments
Open

Battlegrounds Memory Leak leading to silent crash #4557

jamiemoles opened this issue Jun 8, 2024 · 6 comments

Comments

@jamiemoles
Copy link

jamiemoles commented Jun 8, 2024

Expected Behavior

Program to function normally.

Actual Behavior

Program is terminating silently in the background with no error messages. Windows Event Viewer has two entries - one for the .NET runtime, event id 1026 and one for HearthstoneDeckTracker.exe event id 1000.

Steps to reproduce behavior

Problem seems to be with Battlegrounds. Run deck tracker, play battlegrounds, notice at some point no hud is present. Deck tracker icon is present in icon tray but non-responsive.

Log/Screenshots

Application: HearthstoneDeckTracker.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.OutOfMemoryException
at System.Windows.Media.MediaContext.CompleteRender()
at System.Windows.Media.MediaContext.LeaveInterlockedPresentation()
at System.Windows.Media.MediaContext.RemoveChannels()
at System.Windows.Media.MediaContext.Dispose()
at System.Windows.Media.MediaContext.OnDestroyContext(System.Object, System.EventArgs)
at System.EventHandler.Invoke(System.Object, System.EventArgs)
at System.Windows.Threading.Dispatcher.ShutdownImplInSecurityContext(System.Object)
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.Dispatcher.ShutdownImpl()
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at System.Windows.Application.Run(System.Windows.Window)
at Hearthstone_Deck_Tracker.App.Main()

================================

Faulting application name: HearthstoneDeckTracker.exe, version: 1.29.0.6757, time stamp: 0xa04b832f
Faulting module name: KERNELBASE.dll, version: 10.0.19041.4412, time stamp: 0x6d8c3da8
Exception code: 0xe0434352
Fault offset: 0x00140b82
Faulting process ID: 0xcbfc
Faulting application start time: 0x01dab8d9029cc0a2
Faulting application path: C:\Users\Jamie\AppData\Local\HearthstoneDeckTracker\app-1.29.0\HearthstoneDeckTracker.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report ID: 95cfc2dd-8706-4c62-aff6-5c3b9e0ca11f
Faulting package full name:
Faulting package-relative application ID:

@jamiemoles jamiemoles added the bug label Jun 8, 2024
@beheh
Copy link
Member

beheh commented Jun 10, 2024

Hey, thanks for the report! After how many games are seeing this?

@jamiemoles
Copy link
Author

I can't be certain, but it's not a super low number. I will monitor play today and see if I can get you a number.

@beheh
Copy link
Member

beheh commented Jun 25, 2024

@jamiemoles For further debugging, could you please upload your entire HDT config folder? You'll find it at C:\Users\<username>\AppData\Roaming\HearthstoneDeckTracker

@beheh beheh changed the title Potential memory leak in version 1.29.0.6757 leading to silent crash. Battlegrounds Memory Leak leading to silent crash Jun 25, 2024
@jamiemoles
Copy link
Author

Yes. it's 300+ MB so I'll upload to Onedrive and drop you a link here.

@jamiemoles
Copy link
Author

Give it 10 mins to upload, then you can access here: https://1drv.ms/u/s!AnXPiqttHvQ9hfZ59gUOxTqGYRQGxQ?e=FOq1zK

@beheh
Copy link
Member

beheh commented Jun 25, 2024

Great, thanks. You can delete the file again. We'll continue investigating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants