[Bug 59745] New: Wine crashes when a custom window is created to show information
http://bugs.winehq.org/show_bug.cgi?id=59745 Bug ID: 59745 Summary: Wine crashes when a custom window is created to show information Product: Wine Version: 11.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@list.winehq.org Reporter: matthias0178+wine@gmail.com Distribution: --- Created attachment 80922 --> http://bugs.winehq.org/attachment.cgi?id=80922 Source code of the test program I created a program using C and the Windows API. This program was designed to create and display a specific window containing help text rendered via GDI. As soon as the user pressed any key on the keyboard or clicked with the mouse, the special window was supposed to be destroyed and the application terminated. Since this program functioned flawlessly on Windows but crashed under Wine immediately after displaying and destroying the special window, I developed a small test program that demonstrates the bug. This test program logs to the command line what occurs when the same task is executed in a simplified manner. I have attached the source code for this tiny test program. You may copy, modify and distribute it without restrictions to the extent permitted by law. On the Debian 13 console, the console output is not the same as in the console of Windows 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.
http://bugs.winehq.org/show_bug.cgi?id=59745 --- Comment #1 from Matthias Zorn <matthias0178+wine@gmail.com> --- Created attachment 80923 --> http://bugs.winehq.org/attachment.cgi?id=80923 Screenshot of Windows 11 console -- 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=59745 --- Comment #2 from Matthias Zorn <matthias0178+wine@gmail.com> --- Created attachment 80924 --> http://bugs.winehq.org/attachment.cgi?id=80924 Screenshot of Debian 13 console -- 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=59745 Matthias Zorn <matthias0178+wine@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |user32 Distribution|--- |Debian Keywords| |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=59745 --- Comment #3 from Matthias Zorn <matthias0178+wine@gmail.com> --- If I alter the source code and substitute all DestroyWindow(hwnd); with the text SendMessageW(hwnd, WM_DESTROY, 0, 0); and compile it, the compiled program will work fine both in Windows and in Wine. -- 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=59745 Matthias Zorn <matthias0178+wine@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase -- 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