https://bugs.winehq.org/show_bug.cgi?id=48424
Bug ID: 48424 Summary: xl-r8r: Crashes right after splash screen Product: Wine Version: 5.0-rc4 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: weejamm@gmail.com Distribution: ---
Created attachment 66194 --> https://bugs.winehq.org/attachment.cgi?id=66194 Error log for xl-r8r a benchmark / demo program from 2000 for Windows 98/ME
Hi XL-r8r is a demo/benchmark back when the company known as Futuremark/3dmark were called MadOnion. the target os for this app was Windows 98. Here's what I've done so far
Set Wineprefix to 32bit and ran the installer using the following command:
`env WINEPREFIX="/home/tiny/32bit" wine C:\PROG~FBU\MadOnion.com\XL-R8R\xl-r8r.exe`
Right after the splash screen the error occurs. My intent is to see if wine's win98 mode can run as intended but I'm unable to decipher the error report. If I've missed something let me know
thanks!
https://bugs.winehq.org/show_bug.cgi?id=48424
--- Comment #1 from Weej weejamm@gmail.com --- OS Ubuntu MATE 19.10
Terminal output
``` 003a:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 003a:fixme:win:LockWindowUpdate (0x200a4), partial stub! 003a:fixme:win:LockWindowUpdate ((nil)), partial stub! 003a:fixme:ddraw:DirectDrawEnumerateExA flags 0x00000006 not handled wine: Unhandled exception 0xe06d7363 in thread 3a at address 7124DEB2 (thread 003a), starting debugger... ```
https://bugs.winehq.org/show_bug.cgi?id=48424
Weej weejamm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://files.scene.org/vie | |w/mirrors/flerp/NotInDir.'0 | |0/_Demo-accel/xl-r8r.exe
https://bugs.winehq.org/show_bug.cgi?id=48424
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com Ever confirmed|0 |1 Keywords| |download Status|UNCONFIRMED |NEW
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi, Confirming.
The crash looks like it`s coming from the fact that it cannot find vga.dll. See below. When i do copy cp -rf ~/.wine/drive_c/windows/syswow64/kernel32.dll ~/.wine/drive_c/windows/syswow64/vga.dll
the program is tricked and starts fine for me. @OP: can you canfirm that that works for you too? (you might need change syswow64 into system32 if you run 32-bit)
Note: i cannot find this dll in my Win7 so i guess this might be a WONTFIX???
Log: 0009:Call version.GetFileVersionInfoSizeA(00329274 "vga.dll",0057df18) ret=004f0b72 0009:Call kernelbase.GetFileVersionInfoSizeA(00329274 "vga.dll",0057df18) ret=7bc9a798 0009:Call ntdll.RtlCreateUnicodeStringFromAsciiz(00328828,00329274 "vga.dll") ret=7129f26c . . 0009:Call ntdll.LdrGetDllPath(00c94378 L"vga.dll",00000002,00328744,00328748) ret=7125b1f0 . 0009:Ret ntdll.LdrGetDllHandle() retval=c0000135 ret=7125b23d . 0009:Ret ntdll.LdrLoadDll() retval=c0000135 ret=7125b28e 0009:Call ntdll.RtlNtStatusToDosError(c0000135) ret=7125b2c8 0009:Ret ntdll.RtlNtStatusToDosError() retval=0000007e ret=7125b2c8 . . 0009:Ret version.GetFileVersionInfoSizeA() retval=00000000 ret=004f0b72 0009:Call KERNEL32.GetLastError() ret=004f0b82 0009:Ret KERNEL32.GetLastError() retval=00000002 ret=004f0b82 0009:Call msvcrt._onexit(004f0f50) ret=004fb9f3 0009:Ret msvcrt._onexit() retval=004f0f50 ret=004fb9f3 0009:Call msvcrt._CxxThrowException(003288e4,00563c58) ret=004f0c1b 0009:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,00328874) ret=7e8f3967 0009:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7124db73 ip=7124db73 tid=0009
https://bugs.winehq.org/show_bug.cgi?id=48424
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|xl-r8r: Crashes right after |xl-r8r: Crashes right after |splash screen |splash screen (apparently | |because vga.dll is | |missing)
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- edit title to reflect likely cause of the crash.
sha1sum xl-r8r.exe 71448b1714d6082895b13e5a95f86d258974d1a6 xl-r8r.exe
https://bugs.winehq.org/show_bug.cgi?id=48424
--- Comment #4 from Louis Lenders xerox.xerox2000x@gmail.com --- Err: "Note: i cannot find this dll in my Win7 so i guess this might be a WONTFIX???"
Have to correct that; I looked in syswow64, but it is present in system32 on my win7 partition. So should we just add a stub dll with version info? And why is it only in system32? I`m guessing this dll is some leftover from old win98/2000 era`(???)
https://bugs.winehq.org/show_bug.cgi?id=48424
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 66198 --> https://bugs.winehq.org/attachment.cgi?id=66198 patch to get around the crash
This patch is enough to get around the crash and make the benchmark start for me. @OP: Could you try and report back please?
Thanks and regards
https://bugs.winehq.org/show_bug.cgi?id=48424
--- Comment #6 from Weej weejamm@gmail.com --- Hi Louise
Thanks for looking into this. I dont have a copy of Windows 7 (or any other version) on me so I just googled for the dll and placed it in the same folder at the main exe. As you said, it worked and I was able to run the whole session. I do have a few other questions though:
1. How did you find out it was vga.dll ? I tried reading the error report I posted and Im stumped on how you figured it out?
2. How do I apply & run the patch you made?
I'm very new to Wine and want to help but I'm not a dev sadly, but if I can understand some of the stuff you followed I can at least try to find older programs/games that can't run and try to get it running and then add the report here.
Thanks for helping!
https://bugs.winehq.org/show_bug.cgi?id=48424
--- Comment #7 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Weej from comment #6)
- How did you find out it was vga.dll ? I tried reading the error report I
posted and Im stumped on how you figured it out?
See https://wiki.winehq.org/Wine_Developer%27s_Guide/Debugging_Wine#Crashes
Quote: "Determine the cause of the crash. Since this is usually a primary/secondary reaction to a failed or misbehaving Wine function, rerun Wine with the WINEDEBUG=+relay environment variable set. This will generate quite a lot of output, but usually the reason is located in the last calls."
So look at the last calls before the "Unhandled exception" while running with WINEDEBUG=+relay,seh. Then you'll see it wants something from vga.dll
- How do I apply & run the patch you made?
See https://wiki.winehq.org/Building_Wine
regards
https://bugs.winehq.org/show_bug.cgi?id=48424
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |24fe0b82dfeafb7270b49a47c1c | |10dbaa0845252
--- Comment #8 from Louis Lenders xerox.xerox2000x@gmail.com --- fixed by 24fe0b82dfeafb7270b49a47c1c10dbaa0845252
https://bugs.winehq.org/show_bug.cgi?id=48424
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.2.