https://bugs.winehq.org/show_bug.cgi?id=50140
Bug ID: 50140 Summary: "Guild Wars 2 Launcher" over time consumes all available memory Product: Wine Version: unspecified Hardware: x86-64 URL: https://account.arena.net/welcome OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: windowscodecs Assignee: wine-bugs@winehq.org Reporter: lvb.crd@protonmail.com CC: madewokherd@gmail.com Regression SHA1: 1b37ac14a3e4a014c8440e691e9a2bbad9ba6575 Distribution: ---
Created attachment 68638 --> https://bugs.winehq.org/attachment.cgi?id=68638 htop-gw2-verify.png
In process of time, the game launcher will sooner or later consume up all available memory (I am attaching a useless screenshot). The effect is well manifested with `Gw2-64.exe -verify` (although on the current Wine you most likely will not be able to download the game client completely for the same reason).
I have already finished bisecting and have done a few checks. They led me to the fact that (I do not have programming skills to figure it out for sure) maybe somewhere in "dlls/windowscodecs/decoder.c" or what it works with, resources are not being released. On that day, 8 patches were adopted aimed at working with windowscodecs, but only the last eighth gives such an effect: cd778e0b7f54cbbb9b7faae0dd6d25f826f54d6b good 1b37ac14a3e4a014c8440e691e9a2bbad9ba6575 bad
Please check it.