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.
https://bugs.winehq.org/show_bug.cgi?id=50140
Dmitry Skvortsov (Iglu47) lvb.crd@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=50140
--- Comment #1 from Dmitry Skvortsov (Iglu47) lvb.crd@protonmail.com --- Created attachment 68641 --> https://bugs.winehq.org/attachment.cgi?id=68641 wine-5.21-152-gcf49617c1a3:+wincodecs,+timestamp,+seh,+tid
https://bugs.winehq.org/show_bug.cgi?id=50140
Dmitry Skvortsov (Iglu47) lvb.crd@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |5.20
https://bugs.winehq.org/show_bug.cgi?id=50140
--- Comment #2 from Esme Povirk madewokherd@gmail.com --- Thanks for the detailed report. It looks like I forgot to free CommonDecoder.decoder in the release function. I'll send a patch.
https://bugs.winehq.org/show_bug.cgi?id=50140
--- Comment #3 from Dmitry Skvortsov (Iglu47) lvb.crd@protonmail.com --- Created attachment 68656 --> https://bugs.winehq.org/attachment.cgi?id=68656 wine-5.21-233-g764a93f121c:+wincodecs,+timestamp,+seh,+tid
I checked on the latest Wine from git (currently 764a93f121c6b0f88c3444454ebb85eb7cb63295). The initial issue is gone. Thanks You, Esme Povirk.
https://bugs.winehq.org/show_bug.cgi?id=50140
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |466bec7c1690edc52824ef6c3ad | |5a2b6e1ad2ecb
--- Comment #4 from Esme Povirk madewokherd@gmail.com --- Reported fixed.
https://bugs.winehq.org/show_bug.cgi?id=50140
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.22.