https://bugs.winehq.org/show_bug.cgi?id=31954
--- Comment #20 from Chebanenko Igor chebanenkoigor93@gmail.com ---
From debug file:
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x0040e3c7).
Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:0040e3c7 ESP:0033f8d4 EBP:00000000 EFLAGS:00210206( R- -- I - -P- ) EAX:00000000 EBX:008d7610 ECX:0033f8dc EDX:048010b0 ESI:00000000 EDI:007b5cc0 Stack dump: 0x0033f8d4: 00000001 00000000 90de9e7b 00412120 0x0033f8e4: 00000000 00134238 00000000 00000001 0x0033f8f4: 00000016 00000080 00000280 000001e0 0x0033f904: 00000015 00000002 00000000 00000000 0x0033f914: 00000001 00020056 00000000 00000001 0x0033f924: 00000047 00000002 0000003c 00000000 Backtrace: =>0 0x0040e3c7 in secondsight (+0xe3c7) (0x00000000) 0x0040e3c7: movl 0x0(%esi),%eax
What I found using Google:
1) ESI - Source (32 Bit) Index registers, relative to DS,ES respectively
Data Segment (DS). Pointer to the data. Extra Segment (ES). Pointer to extra data ('E' stands for 'Extra').
2) EAX - Accumulator (32 Bit) EAX,EBX,ECX,EDX - "general purpose", more or less interchangeable.
3) Code Segment (CS). Pointer to the code. F Segment (FS). Pointer to more extra data ('F' comes after 'E'). G Segment (GS). Pointer to still more extra data ('G' comes after 'F').
4) EBP - Stack Base Pointer (32 Bit) ESP - Stack Pointer (32 Bit) EBX - Base (32 Bit) ECX - Counter (32 Bit) EDX - Data (32 Bit) EDI - Destination (32 Bit) EIP - Program counter (instruction pointer), relative to CS. Code Segment (CS). Pointer to the code.
We have 32 bit code where we can see unhandled exception and it is the same as EIP. So,something is wrong with counter and code segment. When you launch Second Sight,it takes A LOT of PC resources to make memory allocation. Bela mentioned it:"The game starts with a couple of intro videos, then comes a black screen with a greyish loading bar at the bottom and the game freezes there. Wineserver and secondsight.exe together are consuming 100% CPU power, so something is happening 'under the hood', but the game never finishes loading."It could be related with FS and GS registers,because your game,when you launch it,freeze your PC,it takes ALL your memory resources,but I'm not sure about it.
Any ideas?