Re: Windows 10 Loading Crash -
Konverse - 30.06.2015
Quote:
Originally Posted by SugarD-x
GTA:SA itself should be fine. Are you getting the same crashes I described?
|
I got the same problem and also I keep reporting the crash in the "Report Crash" button but I don't think it didn't helped me
Re: Windows 10 Loading Crash -
][Noname][ - 30.06.2015
*(unsigned char*)0x6F74A4=0xEB;
*(unsigned char*)0x6F74CA=0xEB;
it disable loading of data\Paths\tracks2.dat data\Paths\tracks4.dat and fixes 0x40FB80 and 0x6F5636 crashes!!
Re: Windows 10 Loading Crash -
SugarD-x - 30.06.2015
If it is a GTA:SA bug, then why is only SA:MP triggering the crash? Also, why is this only happening in Windows 10 and not other versions?
Re: Windows 10 Loading Crash -
][Noname][ - 30.06.2015
it's some time happening on windows 7
and yeah it's not crashed in single, maybe it's samp bug
Re: Windows 10 Loading Crash -
eider - 30.06.2015
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
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.
Re: Windows 10 Loading Crash -
SugarD-x - 30.06.2015
Quote:
Originally Posted by eider
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
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.
Re: Windows 10 Loading Crash -
dugi - 30.06.2015
Still works for me in the latest build, if you ****** those crash addresses you will find results from 2011 so it's not related at all, people who had this crash fixed it by moving it to another directory did you even try doing it?
Re: Windows 10 Loading Crash -
][Noname][ - 30.06.2015
it's possible to simulate this crashes with compatible windows xp sp3
I think sometime windows enable some debug for program (and then start crashes every start game) and you need to change folder for disable debug
Re: Windows 10 Loading Crash -
eider - 30.06.2015
Quote:
it's possible to simulate this crashes with compatible windows xp sp3
|
Thank you for that tip.
EDIT: My initial conclusion that problem occured at address
55111C was invalid as i created conditional breakpoints and observed how GTA behaves. Instruction at
55111C had correct value in time of execution. For what it's worth, [b]40FC30[b] had correct value for most of the time during loading sequence - it changed to 0 at about 90% loading bar.
EDIT 2: It seems that
B744A4 is being changed back to 0 by
006F5633
Re: Windows 10 Loading Crash -
][Noname][ - 30.06.2015
read what I writed before
THERE IS A FIX FOR THIS
Re: Windows 10 Loading Crash -
eider - 30.06.2015
While you solution may work it's useless without further examination of cause and possible drawbacks of its usage. I can however confirm that problem indeed occurs in function
readTracksNDat on line
Code:
*(&filenameBuffer + v10 - v6) = v7;
Re: Windows 10 Loading Crash -
][Noname][ - 30.06.2015
and game can't read
data\Paths\tracks2.dat
data\Paths\tracks4.dat
as result buffer has random bytes and result is memory leak
bla bla bla
Re: Windows 10 Loading Crash -
MafiaOink - 01.07.2015
this aint linux that we can make those .dat file readable by chmod
Try to go to properties of this files and uncheck read only
Re: Windows 10 Loading Crash -
][Noname][ - 01.07.2015
format of failed fread - "rb"
I think samp is hooked this function
Re: Windows 10 Loading Crash -
][Noname][ - 02.07.2015
In single fread is work good
Samp block fread for this file
Confirm that is only samp bug
Also better to add for fix
*(unsigned char*)0x6F6CA9=2;
Re: Windows 10 Loading Crash -
LifeRah - 21.03.2016
My GTA SanAndreas is working fine but my SA-MP crashes on Windows 10
PHP Code:
SA-MP 0.3.7
Exception At Address: 0x007ECA1A
Base: 0x03F80000
Registers:
EAX: 0x0029FA50 EBX: 0x00000000 ECX: 0x008241EF EDX: 0x00000001
ESI: 0x00000000 EDI: 0x00000000 EBP: 0x0029FC3C ESP: 0x0029F9D4
EFLAGS: 0x00210202
Stack:
+0000: 0x00000000 0x0029FC3C 0x00000000 0x8F1CA875
+0010: 0x00000258 0x004D4824 0x00000000 0x0029FA50
+0020: 0x00000008 0x00000000 0x00000000 0x00000000
+0030: 0x14000000 0x00000000 0xFFFFFE5C 0x6EC9E58F
+0040: 0x050673B4 0x0029FA50 0x015EE17E 0x00000001
+0050: 0x00000000 0x00000000 0x04DE2C00 0x0029FA50
+0060: 0x6EC9CA91 0x7780518C 0x01C93110 0x01CCE158
+0070: 0x6EC9CA00 0xEE0001EF 0x8107ED47 0x0029FBE4
+0080: 0x0029FBE4 0x6EBB13F4 0x01C943C8 0x01CCE158
+0090: 0x6EBB0D90 0x6EBB148A 0x0029FAEC 0x01CCE158
+00A0: 0x777ED289 0x8F1CA84D 0x002D0000 0x0E4CFAC8
+00B0: 0x00000000 0x00000000 0x0000004B 0x00000000
+00C0: 0x00000000 0x02000002 0x00000258 0x00000000
+00D0: 0x0029FB40 0x6B00EA81 0x00000011 0x00000000
+00E0: 0x00000000 0x09090101 0x00000057 0x00010115
+00F0: 0x00000000 0x0E48B510 0x01D2FAF0 0x00000001
+0100: 0x0000004B 0xEE0001EF 0x002D06A4 0x002D06B0
+0110: 0x002D0000 0x0E4CFAC8 0x015EF148 0x00000003
+0120: 0x0029FB40 0x00827BE9 0x00000003 0x0000016F
+0130: 0xFFFFFFFF 0x00000001 0xFFFFFFFF 0x00000000
+0140: 0x00000003 0x008E2222 0x00000001 0x00000000
+0150: 0x0E4CF8E0 0x00000000 0x00000000 0x0E4CFAD0
+0160: 0x00000080 0x008E2222 0x00000000 0x0000004B
+0170: 0x0000004B 0x0000004B 0x012D06B0 0x015EF0F8
+0180: 0x0000000B 0x002D0260 0x018E2222 0x00000001
+0190: 0x00000000 0x0029FBE4 0x77820C50 0xF8BF4F9D
+01A0: 0xFFFFFFFE 0x0029FBAC 0x7782C570 0x00000000
+01B0: 0x0E4CFAD0 0x00C97908 0x0E4CFAD0 0x00000000
+01C0: 0x0029FC74 0x0E4CFAD0 0x00000040 0x0029FC74
+01D0: 0x00000000 0x0E4CFADC 0x0029FBB8 0x777EC6DC
+01E0: 0x00000000 0x0029FBF4 0x008241EA 0x002D0000
+01F0: 0x00000000 0x008241EF 0x00C97908 0x0E4CFAD0
+0200: 0x00000000 0x0E4CFADC 0x0029FBCC 0x008E2C90
+0210: 0x0029FD78 0x00825EE4 0x00888038 0xFFFFFFFF
+0220: 0x008241EF 0x00801E2F 0x0E4CFAD0 0x00000000
+0230: 0x00000000 0x00000001 0x0E4CFADC 0x007ED05E
+0240: 0x00C97908 0x0E4CFADC 0x00000001 0x00863B10
+0250: 0x77650860 0x00000000 0x0029FD78 0x0083BDDC
+0260: 0xFFFFFFFF 0x80000002 0x77650860 0x004D566C
+0270: 0x00000000 0x00000001 0x00000000 0x00000002
SCM Op: 0x0, lDbg: 0 LastRendObj: 0
Game Version: EU 1.0
Kindly tell me how to solve it?
Re: Windows 10 Loading Crash -
alexkeward - 01.04.2016
remove your SAMP mods and delete gta_sa.set from your GTA San Andreas User Files folder
Re: Windows 10 Loading Crash -
Sew_Sumi - 02.04.2016
Quote:
Originally Posted by Travalle
My GTA SanAndreas is working fine but my SA-MP crashes on Windows 10
PHP Code:
SA-MP 0.3.7
Exception At Address: 0x007ECA1A
Base: 0x03F80000
Registers:
EAX: 0x0029FA50 EBX: 0x00000000 ECX: 0x008241EF EDX: 0x00000001
ESI: 0x00000000 EDI: 0x00000000 EBP: 0x0029FC3C ESP: 0x0029F9D4
EFLAGS: 0x00210202
Stack:
+0000: 0x00000000 0x0029FC3C 0x00000000 0x8F1CA875
+0010: 0x00000258 0x004D4824 0x00000000 0x0029FA50
+0020: 0x00000008 0x00000000 0x00000000 0x00000000
+0030: 0x14000000 0x00000000 0xFFFFFE5C 0x6EC9E58F
+0040: 0x050673B4 0x0029FA50 0x015EE17E 0x00000001
+0050: 0x00000000 0x00000000 0x04DE2C00 0x0029FA50
+0060: 0x6EC9CA91 0x7780518C 0x01C93110 0x01CCE158
+0070: 0x6EC9CA00 0xEE0001EF 0x8107ED47 0x0029FBE4
+0080: 0x0029FBE4 0x6EBB13F4 0x01C943C8 0x01CCE158
+0090: 0x6EBB0D90 0x6EBB148A 0x0029FAEC 0x01CCE158
+00A0: 0x777ED289 0x8F1CA84D 0x002D0000 0x0E4CFAC8
+00B0: 0x00000000 0x00000000 0x0000004B 0x00000000
+00C0: 0x00000000 0x02000002 0x00000258 0x00000000
+00D0: 0x0029FB40 0x6B00EA81 0x00000011 0x00000000
+00E0: 0x00000000 0x09090101 0x00000057 0x00010115
+00F0: 0x00000000 0x0E48B510 0x01D2FAF0 0x00000001
+0100: 0x0000004B 0xEE0001EF 0x002D06A4 0x002D06B0
+0110: 0x002D0000 0x0E4CFAC8 0x015EF148 0x00000003
+0120: 0x0029FB40 0x00827BE9 0x00000003 0x0000016F
+0130: 0xFFFFFFFF 0x00000001 0xFFFFFFFF 0x00000000
+0140: 0x00000003 0x008E2222 0x00000001 0x00000000
+0150: 0x0E4CF8E0 0x00000000 0x00000000 0x0E4CFAD0
+0160: 0x00000080 0x008E2222 0x00000000 0x0000004B
+0170: 0x0000004B 0x0000004B 0x012D06B0 0x015EF0F8
+0180: 0x0000000B 0x002D0260 0x018E2222 0x00000001
+0190: 0x00000000 0x0029FBE4 0x77820C50 0xF8BF4F9D
+01A0: 0xFFFFFFFE 0x0029FBAC 0x7782C570 0x00000000
+01B0: 0x0E4CFAD0 0x00C97908 0x0E4CFAD0 0x00000000
+01C0: 0x0029FC74 0x0E4CFAD0 0x00000040 0x0029FC74
+01D0: 0x00000000 0x0E4CFADC 0x0029FBB8 0x777EC6DC
+01E0: 0x00000000 0x0029FBF4 0x008241EA 0x002D0000
+01F0: 0x00000000 0x008241EF 0x00C97908 0x0E4CFAD0
+0200: 0x00000000 0x0E4CFADC 0x0029FBCC 0x008E2C90
+0210: 0x0029FD78 0x00825EE4 0x00888038 0xFFFFFFFF
+0220: 0x008241EF 0x00801E2F 0x0E4CFAD0 0x00000000
+0230: 0x00000000 0x00000001 0x0E4CFADC 0x007ED05E
+0240: 0x00C97908 0x0E4CFADC 0x00000001 0x00863B10
+0250: 0x77650860 0x00000000 0x0029FD78 0x0083BDDC
+0260: 0xFFFFFFFF 0x80000002 0x77650860 0x004D566C
+0270: 0x00000000 0x00000001 0x00000000 0x00000002
SCM Op: 0x0, lDbg: 0 LastRendObj: 0
Game Version: EU 1.0
Kindly tell me how to solve it?
|
Don't bump old threads, make new ones.