SA-MP Forums Archive
Crash when vehicle crashes - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: Crash when vehicle crashes (/showthread.php?tid=580318)



Crash when vehicle crashes - Redirect Left - 04.07.2015

Hello.
I am having a problem where SA:MP crashes, 90% of the time this is when your vehicle either hits a player, or a building, basically if you crash the car.

Can anyone help me debug this from the below error report?

SA-MP 0.3.7
Exception At Address: 0x0040F64C
Base: 0x04150000

Registers:
EAX: 0x00000000 EBX: 0x12CE30A8 ECX: 0x015E50B8 EDX: 0x00000480
ESI: 0x00C6A208 EDI: 0x12CDD0A0 EBP: 0x12CD7098 ESP: 0x0028FBC4
EFLAGS: 0x00210246

Stack:
+0000: 0x007104C3 0x12CDD0A0 0x00000000 0x00000000
+0010: 0x00B6F9CC 0x00C6A1EC 0x00000001 0x00000000
+0020: 0x12937B30 0x00000001 0x12CDD0A0 0x0BD64F60
+0030: 0x00000016 0xBF05706C 0x3F05706C 0xBF2CFC49
+0040: 0x445365A4 0xC4DD39CD 0xC4779934 0x4453935D
+0050: 0xC4DD2F75 0xC477C0EC 0x00000000 0x12CD7098
+0060: 0x015E50B8 0x12CDD0A0 0xBEA58000 0x3F1EE000
+0070: 0x0028FCF4 0x77771A05 0x135FAFF9 0xFFFFFFFE
+0080: 0x77733CF3 0x77733D1E 0x00006000 0x00006008
+0090: 0x12CE30A2 0x12CE30A0 0x00B6F9CC 0x00006000
+00A0: 0x00000001 0x00006000 0x00000001 0x00006000
+00B0: 0x00000001 0xBEBB0FCA 0x3F7FF972 0x0052CCD7
+00C0: 0xC5015081 0xC435288F 0x42938BA4 0x0028FD04
+00D0: 0x445365A4 0xC4DD39CD 0xC4779934 0xABA216BE
+00E0: 0x0000005C 0x0028FD94 0x00000001 0x00000032
+00F0: 0x00000000 0x00000003 0x00000000 0x00006008
+0100: 0xBF36E400 0x0028FD04 0x00824259 0x015E0000
+0110: 0x00000000 0x0082425E 0x3F2C84F8 0xBF208641
+0120: 0xBEC80CB5 0x0000005C 0xBF3CF5E3 0xBF18243D
+0130: 0xBEA37F70 0x00825EE4 0xBD02F3C9 0x3F00EC03
+0140: 0xBF5D0425 0x0082427B 0x4453935D 0xC4DD2F75
+0150: 0xC477C0EC 0x00000000 0x00000000 0x00000000
+0160: 0x0028FD84 0x00848C18 0x00000000 0x00711E46
+0170: 0x00C6A208 0x00B6F9CC 0x0000005C 0xABA216BE
+0180: 0x0028FD94 0x0053C1B0 0x00B6F9CC 0x0000001A
+0190: 0xFFFFFFFF 0x00000000 0xBF941B53 0x3F941B53
+01A0: 0xBFC00000 0x041EDAAE 0x0000001A 0xABA1161F
+01B0: 0x00000000 0x0DF83D00 0x0028FD6C 0x0028F61C
+01C0: 0x0028FF78 0x04205D64 0x0422A678 0x00000002
+01D0: 0x75456C30 0x0053E986 0x00000001 0x00000003
+01E0: 0x00000001 0x0053ECC2 0x00000001 0x00619B71
+01F0: 0x0000001A 0x00000001 0x00000001 0x0000000A
+0200: 0x00748DF0 0x0000001A 0x00000001 0x76AE1245
+0210: 0x00000000 0x0028FF88 0xFFFDE000 0x015E0000
+0220: 0x4F2BA10A 0x015E1130 0x00000008 0x00000100
+0230: 0x00000008 0x00000102 0x44340000 0x43E10000
+0240: 0x00000000 0x00000000 0x000005A0 0x00000384
+0250: 0x00000000 0x00000001 0x0028068A 0x00000200
+0260: 0x00000000 0x01C202D0 0x13ADE749 0x000002D0
+0270: 0x000001C2 0x0000002C 0x0028FE2C 0x00825EE4

SCM Op: 0x248, lDbg: 0 LastRendObj: 3374

Game Version: EU 1.0

State Information: Ped Context: 0
P0 (0,0) P1 (17,0) P3 (0,0)
P4 (19,2) P5 (19, P6 (19,6) P7 (0,0)
P10 (19,5)


Re: Crash when vehicle crashes - ][Noname][ - 04.07.2015

movsx edx, word ptr [eax+edx]
eax == 0

how to reproduce this crash?


Re: Crash when vehicle crashes - Redirect Left - 04.07.2015

On my client, all you do is crash the vehicle you are in. Usually happens when you're going faster.
I don't think its a SA:MP glitch, I think my client is a bit broke.

Hoping someone can use that report to identify where it is.


Re: Crash when vehicle crashes - Redirect Left - 08.07.2015

I've managed to screenshot the exception codes that occur before the crash happens, if anyone can use this to help debug.




Re: Crash when vehicle crashes - Redirect Left - 09.07.2015

I've tried to use a different copy of GTA: SA, and this still occurs. another crash report, this time from the other version of SA I used.

Code:
SA-MP 0.3.7
Exception At Address: 0x0040F64C
Base: 0x040E0000

Registers:
EAX: 0x00000000	EBX: 0x1214B0F8	ECX: 0x016B4D20	EDX: 0x00000320
ESI: 0x00C6A208	EDI: 0x121450F0	EBP: 0x1213F0E8	ESP: 0x0028FBC4
EFLAGS: 0x00210246

Stack:
+0000: 0x007104C3   0x121450F0   0x00000000   0x00000000
+0010: 0x00B6F9CC   0x00C6A2CC   0x00000001   0x00000000
+0020: 0x1203ED18   0x00000001   0x121450F0   0x0B07B764
+0030: 0x00000016   0xBF32A528   0x3EB1BE2C   0xBF2062E8
+0040: 0x437F969A   0xC4F4ECA9   0xC35AD8CA   0x43801D0E
+0050: 0xC4F4FEAB   0xC35A5271   0x00000000   0x1213F0E8
+0060: 0x016B4D20   0x121450F0   0x3F101000   0xBF065900
+0070: 0x0028FCF4   0x77771A05   0x2E114A81   0xFFFFFFFE
+0080: 0x77733CF3   0x77733D1E   0x00006000   0x00006008
+0090: 0x1214B0F2   0x1214B0F0   0x00B6F9CC   0x00006000
+00A0: 0x00000001   0x00006000   0x00000001   0x00006000
+00B0: 0x00000001   0x3DD0E560   0x3D50E560   0x0052CCD7
+00C0: 0xC42CCA6D   0x44E671A7   0x413F70D0   0x0028FD04
+00D0: 0x437F969A   0xC4F4ECA9   0xC35AD8CA   0xE5A57E8C
+00E0: 0x00000436   0x0028FD94   0x00000001   0x00000032
+00F0: 0x00000000   0x00000003   0x00000000   0x00006008
+0100: 0xBF238200   0x0028FD04   0x00824259   0x016B0000
+0110: 0x00000000   0x0082425E   0x3F7736CC   0xBE74B242
+0120: 0xBDD07401   0x00000436   0x3E7CD269   0x3F77597A
+0130: 0x3D97A3CA   0x00825EE4   0x3DA52C5C   0xBDC5E6DE
+0140: 0x3F7DF6CF   0x0082427B   0x43801D0E   0xC4F4FEAB
+0150: 0xC35A5271   0x00000000   0x00000000   0x00000000
+0160: 0x0028FD84   0x00848C18   0x00000000   0x00711E46
+0170: 0x00C6A208   0x00B6F9CC   0x00000436   0xE5A57E8C
+0180: 0x0028FD94   0x0053C1B0   0x00B6F9CC   0x0000001A
+0190: 0xFFFFFFFF   0x00000000   0xBFD5DB97   0x3F54C714
+01A0: 0xBFC00000   0x0417DAAE   0x0000001A   0xE5A4E988
+01B0: 0x00000000   0x0D293FF0   0x0028FD6C   0x0028F61C
+01C0: 0x0028FF78   0x04195D64   0x041BA678   0x00000002
+01D0: 0x75456C30   0x0053E986   0x00000001   0x00000003
+01E0: 0x00000001   0x0053ECC2   0x00000001   0x00619B71
+01F0: 0x0000001A   0x00000001   0x00000001   0x0000000A
+0200: 0x00748DF0   0x0000001A   0x00000001   0x76AE1245
+0210: 0x00000000   0x0028FF88   0x7EFDE000   0x016B0000
+0220: 0x4F65A4E5   0x016B2758   0x00000008   0x00000100
+0230: 0x00000008   0x00000102   0x44340000   0x43E10000
+0240: 0x00000000   0x00000000   0x000005A0   0x00000384
+0250: 0x00000000   0x00000001   0x00820914   0x00000200
+0260: 0x00000000   0x01C202D0   0x2EE47036   0x000002D0
+0270: 0x000001C2   0x0000002C   0x0028FE2C   0x00825EE4

SCM Op: 0x6BD, lDbg: 0 LastRendObj: 2510

Game Version: EU 1.0

State Information: Ped Context: 0
P0 (19,1) P1 (19,3) P2 (19,4) P3 (0,0) 
P4 (19,5) P5 (19,13) P6 (19,2) P7 (19,12) 
P8 (19,15) P9 (19,8) P10 (33,0) P11 (19,9) 
P12 (19,11) P13 (19,7) P16 (19,10) P17 (0,0)