Windows 10 Loading Crash
#26

Quote:
Originally Posted by eider
View Post
Code:
SA-MP 0.3.7
Exception At Address: 0x0040FB80
Base: 0x04280000

Registers:
EAX: 0x00000EA0	EBX: 0x008D6264	ECX: 0x00000000	EDX: 0x0055B855
ESI: 0x008E48AC	EDI: 0x008E48AC	EBP: 0x00000000	ESP: 0x0029FC3C
EFLAGS: 0x00210212
Provided address refers to instruction

Code:
mov     edx, [ecx+8]
We also have registers from crashlog. In this case we're interested in EDX and ECX - let's check them.

EDX: 0x0055B855 - seems okay and well within GTA reserved memory - should be fine.
ECX: 0x00000000 - ops... This is the problem. The CPU doesn't know how to read memory from address 0 since there is no memory at address 0 (at least not readeable by user-space and GTA) - what CPU does when it finds problem? It raises exception which is then later catched by OS (Windows in this case) and OS decides what to do - in this case - it stops executing GTA and leaves informations about what caused exception to occur.

Instruction mentioned above would look like this in psedo-C:

Code:
v1 = *(_DWORD *)(this + 8);
v1 represents EDX and right side represents [ecx+8] which we know that is invalid. Is this case ECX contains address at which CPU should look for data. Basing on this it is safe to assume that ECX contains memory address pointing at start of some structure, presumably CColModel and +8 is index in that structure.

Since it doesn't happen for me in Windows 8.1 or Windows 10 i assume there is a difference between our configurations. Please re-check that all your files are original, you can find checksums for original GTA:SA files on internet.
I've been using the same original files for years. This exact copy of GTA:SA works fine on everything from XP MCE 2005 to Vista to 7 to 8/8.1 on the same computer. For whatever reason it just doesn't like Windows 10.

Edit: If someone knows where I can find a copy of a SA:MP version previous to 0.3.7, (containing both the client and server), I can test and see if other versions cause the crash on my system with Windows 10 too. I doubt it would make a difference, but it would be interesting to see if this update could be causing it.
Reply


Messages In This Thread
Windows 10 Loading Crash - by SugarD-x - 02.06.2015, 21:36
Re: Windows 10 Loading Crash - by perfectboy - 04.06.2015, 12:36
Re: Windows 10 Loading Crash - by SugarD-x - 04.06.2015, 14:33
Re: Windows 10 Loading Crash - by SugarD-x - 13.06.2015, 22:28
Re: Windows 10 Loading Crash - by Tomboeg - 14.06.2015, 17:34
Re: Windows 10 Loading Crash - by Alex Magaсa - 14.06.2015, 18:36
Re: Windows 10 Loading Crash - by dugi - 15.06.2015, 14:22
Re: Windows 10 Loading Crash - by GWMPT - 17.06.2015, 08:33
Re: Windows 10 Loading Crash - by J0sh... - 17.06.2015, 10:05
Re: Windows 10 Loading Crash - by SugarD-x - 27.06.2015, 00:52
Re: Windows 10 Loading Crash - by SugarD-x - 30.06.2015, 00:44
Re: Windows 10 Loading Crash - by ][Noname][ - 30.06.2015, 01:57
Re: Windows 10 Loading Crash - by eider - 30.06.2015, 02:06
Re: Windows 10 Loading Crash - by ][Noname][ - 30.06.2015, 03:41
Re: Windows 10 Loading Crash - by SugarD-x - 30.06.2015, 04:15
Re: Windows 10 Loading Crash - by Matt - 30.06.2015, 04:51
Re: Windows 10 Loading Crash - by ][Noname][ - 30.06.2015, 04:57
Re: Windows 10 Loading Crash - by SugarD-x - 30.06.2015, 05:52
Re: Windows 10 Loading Crash - by Konverse - 30.06.2015, 06:43
Re: Windows 10 Loading Crash - by SugarD-x - 30.06.2015, 06:44
Re: Windows 10 Loading Crash - by Konverse - 30.06.2015, 06:56
Re: Windows 10 Loading Crash - by ][Noname][ - 30.06.2015, 09:07
Re: Windows 10 Loading Crash - by SugarD-x - 30.06.2015, 09:43
Re: Windows 10 Loading Crash - by ][Noname][ - 30.06.2015, 09:45
Re: Windows 10 Loading Crash - by eider - 30.06.2015, 12:31
Re: Windows 10 Loading Crash - by SugarD-x - 30.06.2015, 12:41
Re: Windows 10 Loading Crash - by dugi - 30.06.2015, 13:07
Re: Windows 10 Loading Crash - by ][Noname][ - 30.06.2015, 13:11
Re: Windows 10 Loading Crash - by eider - 30.06.2015, 14:27
Re: Windows 10 Loading Crash - by ][Noname][ - 30.06.2015, 14:56
Re: Windows 10 Loading Crash - by eider - 30.06.2015, 15:51
Re: Windows 10 Loading Crash - by ][Noname][ - 30.06.2015, 23:18
Re: Windows 10 Loading Crash - by MafiaOink - 01.07.2015, 11:05
Re: Windows 10 Loading Crash - by ][Noname][ - 01.07.2015, 11:41
Re: Windows 10 Loading Crash - by ][Noname][ - 02.07.2015, 08:56
Re: Windows 10 Loading Crash - by LifeRah - 21.03.2016, 17:28
Re: Windows 10 Loading Crash - by alexkeward - 01.04.2016, 12:31
Re: Windows 10 Loading Crash - by Sew_Sumi - 02.04.2016, 02:22

Forum Jump:


Users browsing this thread: 1 Guest(s)