[Bug 56152] New: "Script error: Handler not defined #FileIO" in "TKKG 1" (EN: Jennifer is Missing, DE: Katjas Geheimnis - Tivoli)
https://bugs.winehq.org/show_bug.cgi?id=56152 Bug ID: 56152 Summary: "Script error: Handler not defined #FileIO" in "TKKG 1" (EN: Jennifer is Missing, DE: Katjas Geheimnis - Tivoli) Product: Wine Version: 6.4 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs(a)winehq.org Reporter: bernhardu(a)mailbox.org Distribution: --- Since wine-6.4 this application fails with this message: Script error: Handler not defined #FileIO This is visible since this commit: commit af74bd31229e0f065448253b248ec0cb3b51af26 Author: Jacek Caban <jacek(a)codeweavers.com> Date: Tue Mar 2 18:52:44 2021 +0100 ntdll: Use syscall dispatcher to restore context in NtSetContextThread. Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> Unfortunately I am not able to revert this commit on current git. I think this is the problematic area of the executable: 004F12C9 push offset aXobglu32Dll ; "xobglu32.dll" 004F12CE call ds:LoadLibraryA 004F12D4 mov ebp, eax 004F12D6 test ebp, ebp 004F12D8 jz short loc_4F1309 004F12DA push offset aMyloadlibrary3 ; "MyLoadLibrary32" 004F12DF push ebp ; hModule 004F12E0 call ds:GetProcAddress 004F12E6 mov ecx, [esp+10h+arg_0] 004F12EA push ecx 004F12EB call eax 004F12ED movzx esi, ax 004F12F0 test esi, esi 004F12F2 jnz short loc_4F12FD 004F12F4 push ebp ; hLibModule 004F12F5 call ds:FreeLibrary 004F12FB jmp short loc_4F1309 004F12FD mov [ebx], esi Inside MyLoadLibrary32 it seems the application does a 16-bit KERNEL.95:LOADLIBRARY of fileio.dll, which looks like it succeeds (retval=00000306). Unfortunately for some reason the FreeLibrary is reached when it was not before the above commit. A +relay trace shows also a NtSetContextThread involved, which got modified by above commit. I tested with: - https://archive.org/details/tkkg-1-jennifer-is-missing - export WINEARCH=win32 - winecfg, set to Windows 95. - Workaround for following error: "This program requires at least 3MB of free virtual memory to run" echo -e "MemTotal: 32768 kB\nMemFree: 32768 kB\nSwapTotal: 32768 kB\nSwapFree: 32768 kB\nBuffers: 0\nCached: 0" > my-meminfo.txt bwrap --dev-bind / / --dev-bind my-meminfo.txt /proc/meminfo wine tkkg1_95.exe -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56152 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression Regression SHA1| |af74bd31229e0f065448253b248 | |ec0cb3b51af26 URL| |https://archive.org/details | |/tkkg-1-jennifer-is-missing Distribution|--- |Debian -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56152 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |win16 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56152 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |de3bc7d511909e4bf4b384e395e | |8bef91587050c Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #1 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Got fixed by de3bc7d5 (and 7748c76e), changing to resolved fixed. Unfortunately current git collected already another regression, created bug 56159. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56152 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.0-rc5. -- 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