https://bugs.winehq.org/show_bug.cgi?id=56954
Bug ID: 56954 Summary: after commit 3f87436670d8a9c87e00825b71ed6995afd870a1 wine will generate ntlm_auth <defunct> process. Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: l12436.tw@gmail.com Distribution: ---
Created attachment 76771 --> https://bugs.winehq.org/attachment.cgi?id=76771 ntlm_auth defunct process
After commit 3f87436670d8a9c87e00825b71ed6995afd870a1 wine will generate lots of ntlm defunct process.
before this commit, it will return to normal.
https://bugs.winehq.org/show_bug.cgi?id=56954
TOM l12436.tw@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |3f87436670d8a9c87e00825b71e | |d6995afd870a1
https://bugs.winehq.org/show_bug.cgi?id=56954
--- Comment #1 from TOM l12436.tw@gmail.com --- Environment Ubuntu 20.04 kernel 6.9.8 wine commit 6e3dcf6c5877867b98b0d01b85206fba780c39c9
https://bugs.winehq.org/show_bug.cgi?id=56954
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- How does it generate those? Which program do you run?
https://bugs.winehq.org/show_bug.cgi?id=56954
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitry@baikal.ru Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=56954
--- Comment #3 from TOM l12436.tw@gmail.com --- windows steam via wine rather linux steam normal wine program seems not generate this issue
https://bugs.winehq.org/show_bug.cgi?id=56954
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Keywords| |download Status|UNCONFIRMED |NEW URL| |https://cdn.akamai.steamsta | |tic.com/client/installer/St | |eamSetup.exe
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- Confirming
https://bugs.winehq.org/show_bug.cgi?id=56954
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- This seems to happen because, due to that commit, MODE_CLIENT is not 0 anymore. If you change MODE_CLIENT to 0 and MODE_INVALID to -1 the old behavior is restored.
https://bugs.winehq.org/show_bug.cgi?id=56954
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- Problem is that in "ntlm_check_version" the context is empty:
struct ntlm_ctx ctx = { 0 };
This also sets the mode to 0.
Later in ntlm_cleanup we have
if (!ctx || (ctx->mode != MODE_CLIENT && ctx->mode != MODE_SERVER)) return STATUS_INVALID_HANDLE;
So when MODE_CLIENT is no longer 0, this won't clean up.
Created a MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/6073
https://bugs.winehq.org/show_bug.cgi?id=56954
--- Comment #7 from TOM l12436.tw@gmail.com --- I tested the MR, it actually fix the issue, the defunct is no longer happened.
https://bugs.winehq.org/show_bug.cgi?id=56954
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |51c413259a59784169717e18557 | |3bbe5608f4420 Resolution|--- |FIXED
--- Comment #8 from Fabian Maurer dark.shadow4@web.de --- Fixed by https://gitlab.winehq.org/wine/wine/-/merge_requests/6073/diffs?commit_id=51...
https://bugs.winehq.org/show_bug.cgi?id=56954
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|after commit |Regression causes wine to |3f87436670d8a9c87e00825b71e |generate ntlm_auth |d6995afd870a1 wine will |<defunct> processes |generate ntlm_auth | |<defunct> process. |
https://bugs.winehq.org/show_bug.cgi?id=56954
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.14.