https://bugs.winehq.org/show_bug.cgi?id=53568
Bug ID: 53568 Summary: 16bit applications refuse to start wine 7.15+ Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: win32u Assignee: wine-bugs@winehq.org Reporter: enometh@meer.net Distribution: ---
After a recent commit some 16bit applications refuse to start e.g. "Collins Dictionary" which is mentioned in bug #51082. Other applications seem to fail with a ``` Unhandled exception: page fault on read access to 0xffffffff in 16-bit code (02f7:10cf) ```
Bisecting the problem points to this commit: ``` commit e41c255be6ba66d1eec7affe674b8cc7699226b8 Author: Jacek Caban jacek@codeweavers.com AuthorDate: Sun Aug 14 23:41:53 2022 +0200 Commit: Alexandre Julliard julliard@winehq.org CommitDate: Mon Aug 15 18:15:22 2022 +0200
win32u: Use send_message_timeout for WM_CREATE and WM_NCCREATE. ```
reverting this commit (after fixing a conflict) seems to avoid the problem.
https://bugs.winehq.org/show_bug.cgi?id=53568
--- Comment #1 from enometh@meer.net --- Created attachment 72940 --> https://bugs.winehq.org/attachment.cgi?id=72940 Revert-win32u-Use-send_message_timeout-for-WM_CREATE.patch
(bugzilla refused to let me submit an attachment)
https://bugs.winehq.org/show_bug.cgi?id=53568
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |jacek@codeweavers.com Regression SHA1| |e41c255be6ba66d1eec7affe674 | |b8cc7699226b8
https://bugs.winehq.org/show_bug.cgi?id=53568
O. Nykyforchyn oleh.nyk@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |oleh.nyk@gmail.com
--- Comment #2 from O. Nykyforchyn oleh.nyk@gmail.com --- Confirming. The bug in not related to Collins Dictionary only.
WinEdt-1.41 (which is a 16 bit TeX editor with 32 bit interface) works again in Wine-7.20 with the above patch. Somewhere between 7.11 and 7.18 it began to crash right before creating the main editor window, with two small "Application Error" popups, namely "Error code = -1. Continue?" and "Error code = -5. Continue?"
Now everything seems to work flawlessly.
https://bugs.winehq.org/show_bug.cgi?id=53568
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |JSladek@juno.com
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- *** Bug 53630 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=53568
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://winworldpc.com/down | |load/c3a23335-4f6f-c2a3-11c | |3-a4c2b14b5404 CC| |dark.shadow4@web.de Keywords| |download, win16
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- Also affects FoxPro for Windows 2.6a
https://bugs.winehq.org/show_bug.cgi?id=53568
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- Forgot to confirm.
https://bugs.winehq.org/show_bug.cgi?id=53568
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |7.16
https://bugs.winehq.org/show_bug.cgi?id=53568
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #6 from Austin English austinenglish@gmail.com --- This also affects 'winetricks icodecs'
https://bugs.winehq.org/show_bug.cgi?id=53568
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |liz.minix@gmail.com
--- Comment #7 from Austin English austinenglish@gmail.com --- *** Bug 54097 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=53568
--- Comment #8 from Sven Baars sven.wine@gmail.com --- Should be fixed by f8a0716111d01c36613a3fcc221353efd8f7ca1e
https://bugs.winehq.org/show_bug.cgi?id=53568
--- Comment #9 from Fabian Maurer dark.shadow4@web.de --- (In reply to Sven Baars from comment #8)
Should be fixed by f8a0716111d01c36613a3fcc221353efd8f7ca1e
FoxPro doesn't show the error anymore, it simply doesn't start now. Not sure this is fixed properly.
https://bugs.winehq.org/show_bug.cgi?id=53568
--- Comment #10 from liz.minix@gmail.com --- (In reply to Sven Baars from comment #8)
Should be fixed by f8a0716111d01c36613a3fcc221353efd8f7ca1e
I can confirm the fix works. Build master an hour ago and the pizza syndicate installer, the icodecs installer and the windows 3.11 calculator are all working now.
Thanks a lot!
https://bugs.winehq.org/show_bug.cgi?id=53568
--- Comment #11 from liz.minix@gmail.com --- (In reply to Sven Baars from comment #8)
Should be fixed by f8a0716111d01c36613a3fcc221353efd8f7ca1e
I quickly tried FoxPro 2.6a for Windows (from https://winworldpc.com/download/c3a23335-4f6f-c2a3-11c3-a4c2b14b5404) and the installer crashes on me in the same way but on a different address "wine: Unhandled stack overflow at address 0000016C (thread 0150), starting debugger..." not sure how this relates to the original bug of this ticket...
https://bugs.winehq.org/show_bug.cgi?id=53568
--- Comment #12 from liz.minix@gmail.com --- (In reply to Sven Baars from comment #8)
Should be fixed by f8a0716111d01c36613a3fcc221353efd8f7ca1e
The FoxPro 2.6a for Windows installer crashes the same way in Wine 7.0.1 so this issue seems to be unrelated.
https://bugs.winehq.org/show_bug.cgi?id=53568
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |f8a0716111d01c36613a3fcc221 | |353efd8f7ca1e
--- Comment #13 from Fabian Maurer dark.shadow4@web.de ---
FoxPro doesn't show the error anymore, it simply doesn't start now. Not sure this is fixed properly.
Ugh, this is bug 53922 again. With your patch and that bug worked around, it works fine. As do the other two programs I tested. Marking fixed.
https://bugs.winehq.org/show_bug.cgi?id=53568
--- Comment #14 from Jim JSladek@juno.com --- Created attachment 73646 --> https://bugs.winehq.org/attachment.cgi?id=73646 patch issued by FPW in 1998
Fabian -
A patch for FPW came out in 98 - I don't recall what it was for, but maybe it may have some effect on the problem you are seeing now? AFAIK it is the only p[atch that was ever generated by the FPW folks.
https://bugs.winehq.org/show_bug.cgi?id=53568
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.0-rc1.
https://bugs.winehq.org/show_bug.cgi?id=53568
--- Comment #16 from Fabian Maurer dark.shadow4@web.de ---
A patch for FPW came out in 98 - I don't recall what it was for, but maybe it may have some effect on the problem you are seeing now? AFAIK it is the only p[atch that was ever generated by the FPW folks.
Yes, see bug 51750. But that's something even different. Don't worry, I understand what's wrong now.