[Bug 48664] kernel32:process - Intermittent test_Toolhelp() failure

WineHQ Bugzilla wine-bugs at winehq.org
Wed Mar 11 03:22:20 CDT 2020


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

François Gouget <fgouget at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Fixed by SHA1|                            |e4c15b5bbd567694dbcdb142751
                   |                            |e7410e323c691
             Status|NEW                         |RESOLVED

--- Comment #3 from François Gouget <fgouget at codeweavers.com> ---
This is fixed.

commit e4c15b5bbd567694dbcdb142751e7410e323c691
Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Mar 2 18:27:30 2020 +0100

    kernel32/tests: Fix test_Toolhelp()'s nested process lookup.

    On Windows, processes are not reassigned to pid 1 when their parent
    dies. This means many processes could have the same ppid despite being
    started by unrelated processes. It also means test_Toolhelp() cannot
    reliably look up the nested process by its ppid.
    So look up for the nested process by its pid and only then check its
    ppid, executable file, etc.

    Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48664
    Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>

-- 
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