gameranger on wine: Unhandled page fault on read access

Questions about Wine on Linux
Locked
kest
Level 1
Level 1
Posts: 5
Joined: Wed Dec 26, 2018 5:53 am

gameranger on wine: Unhandled page fault on read access

Post by kest »

Hello, and merry Christmas! This is my first post to this forum, greetings from Lithuania. :)
While installing Game ranger (popular VPN tunneling tool for games) gives error:

Code: Select all

wine: Unhandled page fault on read access to 0x00000000 at address 0x459873 (thread 002a), starting debugger...
<...>
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00459873 ESP:0033fb00 EBP:0033fc18 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:00000030 ECX:00607a34 EDX:00000888
 ESI:00000000 EDI:7ea19730
Stack dump:
0x0033fb00:  00000001 00000001 06000000 00302e34
0x0033fb10:  00336372 00607a50 0033fb88 7b45b653
0x0033fb20:  00110648 000091c0 7bce741c 7bce9bac
0x0033fb30:  00607a50 7bce87f8 7bc10000 76dc4000
0x0033fb40:  0033fb60 7bce7000 0033fba8 7bc59927
0x0033fb50:  7bc10000 7bcf0d40 0033fba8 7bc59927
Backtrace:
=>0 0x00459873 EntryPoint+0xffffffff() in gameranger (0x0033fc18)
  1 0x00459b22 EntryPoint+0xffffffff() in gameranger (0x0033fdb0)
  2 0x00459c75 EntryPoint+0xffffffff() in gameranger (0x0033fdd0)
  3 0x00516631 EntryPoint+0xffffffff() in gameranger (0x0033fdf4)
  4 0x005f493a EntryPoint+0xcf88c() in gameranger (0x0033fe28)
  5 0x00524e69 EntryPoint+0xffffffff() in gameranger (0x0033fec0)
  6 0x7b463db2 call_process_entry+0x11() in kernel32 (0x0033fed8)
  7 0x7b46607c ExitProcess+0x22bb() in kernel32 (0x0033ffd8)
  8 0x7b463dbe call_process_entry+0x1d() in kernel32 (0x0033ffec)
0x00459873 EntryPoint+0xffffffff in gameranger: movb    0x0(%eax),%dl
<...>
Full output here: https://pastebin.com/MDSdnQX5
From Backtrace it seems that fault appears in Gameranger program code, not in library?
I am thinking maybe it would be useful to get information where EAX register gets 0?
Any ideas? comments?
kest
Level 1
Level 1
Posts: 5
Joined: Wed Dec 26, 2018 5:53 am

Re: gameranger on wine: Unhandled page fault on read access

Post by kest »

If somebody finds that useful:
Problem is solved after I installed wine-stable 3.0.4-1 from AUR, official arch linux repository only contain wine 4.0rc3-1. While installing from AUR repository I compiled wine from source so compile flags is different than version in main repository (if that could be cause of problem).

p.s. I don't know how to mark this thread solved.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: gameranger on wine: Unhandled page fault on read access

Post by DarkShadow44 »

Is it really resolved though? There still is a problem, you're just using an old version to not run into it. Is there a free download for this program?
kest
Level 1
Level 1
Posts: 5
Joined: Wed Dec 26, 2018 5:53 am

Re: gameranger on wine: Unhandled page fault on read access

Post by kest »

GameRanger is a free program you can download it here https://www.gameranger.com/
Although using wine-stable GameRanger launches, but crashes after it should launch the game. Game alone (Lord of the rings: BoME 2) works well.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: gameranger on wine: Unhandled page fault on read access

Post by DarkShadow44 »

Thanks. It indeed crashes when running 4.0-rc3, but I don't see a bug here. The program is getting the wine version, and then messing up because "-rc3" is unexpected. It will work again when 4.0 is released...
kest
Level 1
Level 1
Posts: 5
Joined: Wed Dec 26, 2018 5:53 am

Re: gameranger on wine: Unhandled page fault on read access

Post by kest »

Thanks for the explanation, is it possible to change that "version id" temporally without recompilation of Wine from source? where that "id" is stored?
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: gameranger on wine: Unhandled page fault on read access

Post by DarkShadow44 »

Can't change it without recompiling, I'm afraid. It's compiled in.
spoon0042
Level 6
Level 6
Posts: 570
Joined: Thu Dec 24, 2009 11:00 am

Re: gameranger on wine: Unhandled page fault on read access

Post by spoon0042 »

(Or a hex editor if you're feeling adventurous, perhaps.)

The option to hide the wine version in staging seems to prevent the crash but I didn't know how to test further in case it has a reason it's detecting wine.
Locked