[Bug 59807] New: Regression in multithreaded application
http://bugs.winehq.org/show_bug.cgi?id=59807 Bug ID: 59807 Summary: Regression in multithreaded application Product: Wine Version: 11.10 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: win32u Assignee: wine-bugs@list.winehq.org Reporter: gianluca+wine@sottospazio.it Distribution: --- Hello, after upgrading from Wine 11.9 to Wine 11.10 I noticed a regression in my application. This is a GUI application that starts a network thread to connect to a server, waiting to receive messages using overlapped operations. After receiving a message, the network thread uses SendMessage() to send the received data to the GUI thread, which creates a Device Context and prints the data. But after creating the Device Context the networking thread becomes stuck and doesn't receive data anymore. I bisected the repo to find the commit that introduced the problem and the bisection points to: commit c9e4e0152548e6a369bd7bcdeedc5bd64f446fb6 (HEAD) Author: Alexandre Julliard <julliard@winehq.org> Date: Thu May 21 12:03:07 2026 +0200 win32u: Use pthread instead of the TEB to access internal per-thread data. I tried to revert it but unfortunately there are conflicts with later commits and I didn't know how to resolve them. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59807 gianluca+wine@sottospazio.it changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gianluca+wine@sottospazio.i | |t --- Comment #1 from gianluca+wine@sottospazio.it --- Created attachment 81052 --> http://bugs.winehq.org/attachment.cgi?id=81052 Smallest reproducer Hello, I managed to make the smallest reproducer for the regression. The application attached opens a window and waits for string from a thread. When a string is received the GUI shows the string in the client area and creates a Printer Device Context. In Wine 11.9 the application shows "Hello Alice!", "Hello Bob!" and exits. In Wine 11.10 the application shows "Hello Alice!" and gets stuck because the call to SendMessage() from the non-GUI thread never returns. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59807 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard@winehq.org Regression SHA1| |c9e4e0152548e6a369bd7bcdeed | |c5bd64f446fb6 Keywords| |download, regression, | |source -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59807 Alexandre Julliard <julliard@winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |b99c58ea6297ddecd3cf25e9005 | |5e939ecb023c2 Status|UNCONFIRMED |RESOLVED --- Comment #2 from Alexandre Julliard <julliard@winehq.org> --- This should be fixed by b99c58ea6297ddecd3cf25e90055e939ecb023c2. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59807 Alexandre Julliard <julliard@winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard@winehq.org> --- Closing bugs fixed in 11.11. -- 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.
participants (1)
-
WineHQ Bugzilla