[Bug 52322] wineserver memory leak during HTTPs download (Genshin Impact Launcher, Qt5)

WineHQ Bugzilla wine-bugs at winehq.org
Sun Jan 9 16:01:50 CST 2022


https://bugs.winehq.org/show_bug.cgi?id=52322

Bernhard Übelacker <bernhardu at mailbox.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernhardu at mailbox.org

--- Comment #3 from Bernhard Übelacker <bernhardu at mailbox.org> ---
Created attachment 71583
  --> https://bugs.winehq.org/attachment.cgi?id=71583
test-GetVolumeInformationByHandleW.cpp

I tried if I can reproduce this issue and found this while downloading:

- wineserver memory usage increases slightly over time.

- One winedevice.exe memory usage increases a lot more.

- taskmgr, with column handle count shows a increasing number.
  (For some reason taskmgr stuck at 2,097,152 and increased no more.)

- When launcher.exe is closed the number of handles
  and memory stayed at high values.


It looks like one thread of launcher.exe is doing a call to
GetVolumeInformationW in a tight loop.

Attached test program demonstrates this and shows the same effects.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list