[Bug 53276] New: user32:edit - test_paste() sometimes fails to access the clipboard on Windows

WineHQ Bugzilla wine-bugs at winehq.org
Sun Jun 26 06:09:55 CDT 2022


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

            Bug ID: 53276
           Summary: user32:edit - test_paste() sometimes fails to access
                    the clipboard on Windows
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: user32
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com

user32:edit - test_paste() sometimes fails to access the clipboard on Windows:

edit.c:3222: Test failed: expected 1, got 0 le=5
edit.c:3224: Test failed: expected 1, got 0
edit.c:3226: Test failed: expected 00000000008500A8, got 0000000000000000
edit.c:3228: Test failed: expected 1, got 0
edit.c:3234: Test failed: got 21
edit.c:3240: Test failed: got 21

https://test.winehq.org/data/patterns.html#user32:edit

Where 5 is ERROR_ACCESS_DENIED and indicates that the clipboard has already
been opened in another thread, process, etc.

This happens a lot on machines with an AMD GPU due to known interference from
the Radeon driver (see bug 47888).

But it also happens sometimes on machines with an Nvidia GPU (cw-gtx560) and
even on pure QEmu VMs such as w1064-1qxl (or fgtb-w10pro64). So there is either
some other source of interference, maybe from some Windows component, or an
issue (a race condition?) in the test itself.

It would be nice to identify the source of interference, if any, to see if it
can be neutralized. But maybe the only solution is to work around the issue as
in user32:clipboard (see commit 316eec8f6658).

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