https://bugs.winehq.org/show_bug.cgi?id=51778 Bug ID: 51778 Summary: ws2_32:sock crashes due to a double free Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs(a)winehq.org Reporter: fgouget(a)codeweavers.com Distribution: --- ws2_32:sock crashes due to a double free. This happens in all Wine builds (win32 & wow*). In the report one usually sees a regular crash message: sock.c:5599: Test marked todo: expected 1, got 0 Unhandled exception: page fault on execute access to 0x45455246, invalid program stack in 32-bit code (0x45455246). ... https://test.winehq.org/data/patterns.html#ws2_32:sock But the tell-tale error is in the Wine logs ('Show full task log' in the TestBot): free(): double free detected in tcache 2 A bisect shows that this started with the commit below: commit 1eb56b20baefcdccaafbb622cadc71670c149e18 Author: Zebediah Figura <zfigura(a)codeweavers.com> Date: Tue Sep 14 01:02:48 2021 -0500 ntdll: Explicitly return whether an async is complete in async_callback_t. Signed-off-by: Zebediah Figura <zfigura(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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.