http://bugs.winehq.org/show_bug.cgi?id=59126 --- Comment #4 from Matthew Lugg <services@mlugg.co.uk> --- Created attachment 79987 --> http://bugs.winehq.org/attachment.cgi?id=79987 Test case Here's a test case which sometimes fails on master. The expected behavior (which Windows exhibits) is to print "begin wait", then block indefinitely. However, some builds of Wine will print "begin wait" immediately followed by "wait timed out" and exit. (Because this depends on UB in Wine, the bug may or may not be reproducible for you. A UBSan-enabled Wine build should complain, though I've not tested that and have no idea whether Wine is generally UBSan-clean.) I have been able to confirm that on a system where this reproduction triggers the bug, applying the patch I suggested above does fix it (i.e. it makes this reproduction work as expected). -- 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.