https://bugs.winehq.org/show_bug.cgi?id=49206
Bug ID: 49206 Summary: ITHVNR: hooked processes segfault Product: Wine Version: 5.5 Hardware: x86-64 URL: https://a.pomf.cat/tnuaqd.zip OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mokouthrowaway@gmail.com CC: julliard@winehq.org Regression SHA1: 6226be3656e706d3d389cdcbf63a2ad19d861e30 Distribution: Gentoo
Download (no official English build of this version is available): https://a.pomf.cat/tnuaqd.zip Source code: https://github.com/mireado/ITHVNR/tree/d28a1ae sha1sum of the zip file: 74bfce584012426f117551eddfa04bbee1998a6e ITHVNR-gd28a1ae.zip sha1sum ITHVNR* vnr*: 629161d1c8c2d3c38cdffb5ee38fd5389f798d45 ITHVNR.exe 5313a9b43d6fe54593e6bd5cc41eedf7725e8c40 ITHVNR.exp afd80d9422586f6c294a796e3f2fd6a1b0027dc0 ITHVNR.lib be017c19456917bfed669d00d966f3bcf5715c12 vnrhook.dll 104e176d92f8368628eff4eda9687e331b087a6c vnrhost.dll
Tested in a fresh 32-bit prefix.
How to reproduce: 1. Launch wineconsole 2. Launch ITHVNR.exe 3a. Click "Process" 3b. Select wineconsole from the process list 3c. Click "Attach" 3d. Click "OK"
Expected result: text displayed by wineconsole is shown in ITHVNR when it's modified (ExtTextOutW hook, second dropdown)
Actual result: wineconsole segfaults shortly after attaching (no terminal output other than Segmentation fault)
These results can be reproduced with many 3rd-party programs too, I used wineconsole here for easier testing since it's shipped with Wine.
The offending commit appears to be commit 6226be3656e706d3d389cdcbf63a2ad19d861e30 Author: Alexandre Julliard julliard@winehq.org Date: Fri Mar 27 13:36:05 2020 +0100
ntdll: Update some string functions prototypes to match msvcrt.
Signed-off-by: Alexandre Julliard julliard@winehq.org
I can't reproduce the issue on 6226be3~1, wine-5.8 with 6226be3 reverted and wine-5.4 (last release before 6226be3). I can reproduce the bug on 6226be3, wine-5.5, wine-5.8 and 4358ddc75fbfabdc4a4f31b4e3cc9aa1e0811d4c (current master as of now).
https://bugs.winehq.org/show_bug.cgi?id=49206
Mokou mokouthrowaway@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression, | |source
https://bugs.winehq.org/show_bug.cgi?id=49206
--- Comment #1 from Gijs Vermeulen gijsvrm@gmail.com --- This might've been fixed by https://source.winehq.org/git/wine.git/commit/647c54e539c6dcc76c6289bad0fc387274d999eb, could you retest with wine-5.15 or wine-5.16?
https://bugs.winehq.org/show_bug.cgi?id=49206
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=49206
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |647c54e539c6dcc76c6289bad0f | |c387274d999eb Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- I tested this myself with the reproduction steps from the OP and it works for me.
Marking FIXED, if you can still reproduce, feel free to reopen.
https://bugs.winehq.org/show_bug.cgi?id=49206
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ntdll
https://bugs.winehq.org/show_bug.cgi?id=49206
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.18.