[Bug 44444] GameRanger crashes on startup in Windows 7+ mode

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Apr 13 18:04:12 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=44444

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Installed gameranger,       |GameRanger crashes on
                   |followed all instructions,  |startup in Windows 7+ mode
                   |crashes without a report.   |
                   |just closes.                |
           Keywords|                            |download
             Status|UNCONFIRMED                 |RESOLVED
                URL|                            |https://www.gameranger.com/
                   |                            |download/
                 CC|                            |focht at gmx.net
         Resolution|---                         |DUPLICATE
          Component|-unknown                    |kernel32

--- Comment #3 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming. It suffers from two well known bugs.

Prerequisite: installer needs MFC42 (bug 657)

--- snip ---
$ wine ./GameRangerSetup.exe 
0009:err:module:import_dll Library MFC42.DLL (which is needed by
L"Z:\\home\\focht\\Downloads\\GameRangerSetup.exe") not found
0009:err:module:attach_dlls Importing dlls for
L"Z:\\home\\focht\\Downloads\\GameRangerSetup.exe" failed, status c0000135
--- snip ---

I don't see why 'mfc40.dll' and 'dnsapi.dll' override would be needed though.

Anyway, relevant part of tracelog for the first crash:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/users/focht/Application Data/GameRanger/GameRanger

$ WINEDEBUG=+seh,+relay wine ./GameRanger.exe >>log.txt 2>&1
...
003d:Call KERNEL32.SetFileCompletionNotificationModes(000004b8,00000001)
ret=114cb973
003d:fixme:file:SetFileCompletionNotificationModes 0x4b8 1 - stub
003d:Ret  KERNEL32.SetFileCompletionNotificationModes() retval=00000000
ret=114cb973
003d:trace:seh:raise_exception code=80000003 flags=0 addr=0x100a9069
ip=100a906a tid=003d
003d:trace:seh:raise_exception  info[0]=00000000
003d:trace:seh:raise_exception  info[1]=00000000
003d:trace:seh:raise_exception  info[2]=00000000
003d:trace:seh:raise_exception  eax=00000000 ebx=0020bee8 ecx=12cc7c3c
edx=1b072f44 esi=1e082200 edi=00000000
003d:trace:seh:raise_exception  ebp=1b06f9c0 esp=1b06f9b0 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000246
003d:trace:seh:call_stack_handlers calling handler at 0x7bcb1a0e code=80000003
flags=0
003d:Call KERNEL32.UnhandledExceptionFilter(1b06f4b4) ret=7bcb1a49 
...
003d:Call user32.MessageBoxA(00000000,005aaff0 "GameRanger has encountered an
unexpected error and must quit.\n\nThis error has been logged
automatically.",005ab05c "GameRanger Error",00010010) ret=004f71fd 
--- snip ---

That's bug 38960

Tidbit: it seems the app is Wine-aware. App crash log file:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/users/focht/Application Data/GameRanger/GameRanger
Prefs/AutoLog

$ cat Log_1_1523658965_13841046.dat

Stack trace begin time: 1602
C:\users\focht\Application
Data\GameRanger\GameRanger\GameRanger.exe:GameRanger.exe (00400000), size:
2838528 (result: 0), SymType: '-nosymbols-', PDB: 'C:\users\focht\Application
Data\GameRanger\GameRanger\GameRanger.exe'
[FAF9B8C4BED54DF4AC4B664CED57753E8C:GameRanger.pdb], fileVersion: 1.0.0.0
C:\windows\system32\ntdll.dll:ntdll.dll (7BC30000), size: 905216 (result: 0),
SymType: 'DIA', PDB: 'C:\windows\system32\ntdll.dll' [:], fileVersion:
6.1.7601.24059
C:\windows\system32\KERNEL32.dll:KERNEL32.dll (7B420000), size: 4009984
(result: 0), SymType: 'DIA', PDB: 'C:\windows\system32\KERNEL32.dll' [:],
fileVersion: 5.1.2600.2180
C:\windows\system32\MFC42.dll:MFC42.dll (5F400000), size: 991232 (result: 0),
SymType: '-nosymbols-', PDB: 'C:\windows\system32\MFC42.dll' [:], fileVersion:
6.0.8665.0
...
C:\users\focht\Application Data\GameRanger\GameRanger
Prefs\Components\c1\libcef_ns1.dll:libcef_ns1.dll (10000000), size: 49827840
(result: 0), SymType: '-nosymbols-', PDB: 'C:\users\focht\Application
Data\GameRanger\GameRanger Prefs\Components\c1\libcef_ns1.dll'
[D4548CADC72E44B885CB870503C5A3764:libcef_ns1.dll.pdb], fileVersion:
3.2526.1373.0
...
C:\windows\system32\dwmapi.dll:dwmapi.dll (7C450000), size: 77824 (result: 0),
SymType: 'DIA', PDB: 'C:\windows\system32\dwmapi.dll' [:], fileVersion:
6.0.6000.16386
C:\windows\system32\dnsapi.dll:dnsapi.dll (7C410000), size: 110592 (result: 0),
SymType: 'DIA', PDB: 'C:\windows\system32\dnsapi.dll' [:], fileVersion:
5.2.3790.4318
100A9069: libcef_ns1 + 000A9069
114CE5F9: libcef_ns1 + 014CE5F9
114C8667: libcef_ns1 + 014C8667
114C6BE9: libcef_ns1 + 014C6BE9
114C6AA8: libcef_ns1 + 014C6AA8
114C6EF2: libcef_ns1 + 014C6EF2
114C6D9A: libcef_ns1 + 014C6D9A
114C6E5A: libcef_ns1 + 014C6E5A
100D9814: libcef_ns1 + 000D9814
100974C5: libcef_ns1 + 000974C5
10097E68: libcef_ns1 + 00097E68
100D905F: libcef_ns1 + 000D905F
100D865D: libcef_ns1 + 000D865D
10097255: libcef_ns1 + 00097255
100B34E9: libcef_ns1 + 000B34E9
100BC072: libcef_ns1 + 000BC072
117BCB20: libcef_ns1 + 017BCB20
117BD01C: libcef_ns1 + 017BD01C
100BC203: libcef_ns1 + 000BC203
10095A97: libcef_ns1 + 00095A97
7BC95468: ntdll + 00065468
7BC954CE: ntdll + 000654CE
7BC9545A: ntdll + 0006545A
7BC9545A: ntdll + 0006545A
OS:            06111DB1
WINE Vers:     03060000
WINE Vers Str: 3.6
Thread:        ?:60
ExceptionCode: 80000003
ContextRegCtl: ebp=1C05F9C0 eip=100A9069 esp=1C05F9B0
ContextRegInt: eax=00000000 ecx=1C05F9AC edx=1C062F44 ebx=001F0398 esi=1AA04B28
edi=00000000
ExceptionAddr: 100A9069
AlertEnable:   1 
...
--- snip ---

After applying Wine-Staging patchset from bug 38960 to Wine 3.6 (make sure to
run './tools/make_requests')

https://github.com/wine-staging/wine-staging/tree/master/patches/kernel32-SetFileCompletionNotificationModes

it runs into next bug:

--- snip ---
...
0068:Call KERNEL32.MultiByteToWideChar(0000fde9,00000000,4260ac68 "Microsoft
Sans Serif",ffffffff,0223ad28,00000015) ret=109cfe7c
0068:Ret  KERNEL32.MultiByteToWideChar() retval=00000015 ret=109cfe7c
...
0068:trace:seh:raise_exception code=c0000005 flags=0 addr=0x1072f5c6
ip=1072f5c6 tid=0068
0068:trace:seh:raise_exception  info[0]=00000001
0068:trace:seh:raise_exception  info[1]=00000000
0068:trace:seh:raise_exception  eax=00000000 ebx=0033db8c ecx=42614908
edx=42654b80 esi=446a8a08 edi=4470c100
0068:trace:seh:raise_exception  ebp=0033db30 esp=0033db10 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00010246
0068:trace:seh:call_stack_handlers calling handler at 0x57f048 code=c0000005
flags=0
0068:trace:seh:call_stack_handlers handler at 0x57f048 returned 1
0068:trace:seh:call_stack_handlers calling handler at 0x575110 code=c0000005
flags=0
0068:trace:seh:call_stack_handlers handler at 0x575110 returned 1
0068:trace:seh:call_stack_handlers calling handler at 0x57ea6a code=c0000005
flags=0
0068:trace:seh:cxx_frame_handler handling C exception code c0000005  rec
0x33dab8 frame 0x33fe04 trylevel -1 descr 0x33d600 nested_frame (nil)
0068:trace:seh:call_stack_handlers handler at 0x57ea6a returned 1
0068:trace:seh:call_stack_handlers calling handler at 0x506e7d code=c0000005
flags=0
0068:Call msvcrt._XcptFilter(c0000005,0033d5f0) ret=00506c8f
0068:trace:seh:_XcptFilter (c0000005,0x33d5f0)
0068:Ret  msvcrt._XcptFilter() retval=00000000 ret=00506c8f
0068:trace:seh:call_stack_handlers handler at 0x506e7d returned 1
0068:trace:seh:call_stack_handlers calling handler at 0x7b48fa04 code=c0000005
flags=0
wine: Unhandled page fault on write access to 0x00000000 at address 0x1072f5c6
(thread 0068), starting debugger... 
--- snip ---

That's bug 32342 ("Multiple applications and games using 'Webkit' or 'Blink'
web browser engine crash on startup ('Arial' and 'Times New Roman' font face
name validation)")

'winetricks -q corefonts' works around and lets the app successfully run.

$ sha1sum GameRangerSetup.exe 
eb6f1798792b4ceaf3aff9468a7378ec7196676f  GameRangerSetup.exe

$ du -sh GameRangerSetup.exe 
112K    GameRangerSetup.exe

$ wine --version
wine-3.6

Regards

*** This bug has been marked as a duplicate of bug 38960 ***

-- 
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.



More information about the wine-bugs mailing list