oscar-broman / SKY

SKY - Slice's fork of kurta999's fork of YSF
39 stars 28 forks source link

Crashes with weapon-config on Windows #35

Closed NexiusTailer closed 4 years ago

NexiusTailer commented 4 years ago

I faced with some crashes on Windows server using weapon-config.

SKY & weapon-config version: latest as for 05.11.2019 Other dependencies used: foreach, crashdetect

Sample steps to reproduce the problem: Two players enter the server. The first player with id 0 jumps from some object to the ground taking damage from a fall, then the second player with id 1 does the same, so after that you should have the crash to be occured.

server_log.txt:

[11:40:25] Number of vehicle models: 0
[11:40:26] [connection] 127.0.0.1:53152 requests connection cookie.
[11:40:26] [connection] incoming connection: 127.0.0.1:53154 id: 0
[11:40:26] [join] Nexius1 has joined the server (0:127.0.0.1)
[11:40:27] [connection] incoming connection: 127.0.0.1:53152 id: 1
[11:40:27] [join] Nexius has joined the server (1:127.0.0.1)
[11:40:55] [debug] Server crashed while executing nex-test.amx
[11:40:55] [debug] AMX backtrace:
[11:40:55] [debug] #0 native SetPlayerHealth () in samp-server.exe
[11:40:55] [debug] #1 0001140c in ?? (0, 1) in nex-test.amx
[11:40:55] [debug] #2 0000c79c in public OnPlayerTakeDamage (0, 65535, 1084122727, 54, 3) in nex-test.amx
[11:40:55] [debug] Native backtrace:
[11:40:55] [debug] #0 0048e487 in ?? () in samp-server.exe
[11:40:55] [debug] #1 5f2bdc92 in ?? () in plugins\crashdetect.DLL
[11:40:55] [debug] #2 5f2c5318 in ?? () in plugins\crashdetect.DLL
[11:40:55] [debug] #3 5f2b97cc in ?? () in plugins\crashdetect.DLL
[11:40:55] [debug] #4 5f2bdcf4 in ?? () in plugins\crashdetect.DLL
[11:40:55] [debug] #5 0046ed5c in ?? () in samp-server.exe
[11:40:55] [debug] #6 00493c03 in ?? () in samp-server.exe
[11:40:55] [debug] #7 77841976 in ?? () in C:\WINDOWS\SYSTEM32\ntdll.dll
[11:40:55] [debug] #8 00498d56 in ?? () in samp-server.exe
[11:40:55] [debug] #9 00498d78 in ?? () in samp-server.exe
[11:40:55] [debug] #10 67e8046a in ?? () in samp-server.exe
[11:40:55] [debug] #11 59000043 in ?? () in samp-server.exe
[11:40:55] [debug] #12 247c83c3 in ?? () in samp-server.exe
[11:40:55] [debug] #13 2277e004 in ?? () in samp-server.exe
[11:40:55] [debug] #14 042474ff in ?? ()
[11:40:55] [debug] Registers:
[11:40:55] [debug] EAX: 0014f606 EBX: 00000002 ECX: 009dd870 EDX: ffffffff
[11:40:55] [debug] ESI: 009d9e90 EDI: 00000009 EBP: 2277e004 ESP: 00498d73
[11:40:55] [debug] EIP: 042474ff EFLAGS: 00010202
[11:40:55] [debug] Stack:
[11:40:55] [debug] ESP+00000000: ffff75e8 59c085ff 44391675 10740824
[11:40:55] [debug] ESP+00000020: 0c35ffc3 ff00515f e8082474 ffffffc5
[11:40:55] [debug] ESP+00000040: f6850875 3d835874 005164b4 6a407503
[11:40:55] [debug] ESP+00000060: 45895900 74c085e4 e8505609 000051d7
[11:40:55] [debug] ESP+00000080: 0875ff1d 046a0aeb 0042cde8 56c35900
[11:40:55] [debug] ESP+000000a0: c3000043 51ec8b55 f8458d51 c415ff50
[11:40:55] [debug] ESP+000000c0: 98968068 21d18100 51fe624e 5c4be850
[11:40:55] [debug] ESP+000000e0: 5620ec83 5708758b 5010458d 8d0c75ff
[11:40:55] [debug] ESP+00000100: e8758900 e8e07589 00004863 850cc483
[11:40:55] [debug] ESP+00000120: 458d0deb 006a50e0 005c58e8 8b595900
[11:40:55] [debug] ESP+00000140: 4e5f0c3d e8077400 00005f5a 748bf88b
[11:40:55] [debug] ESP+00000160: 00005d3a eb0cc483 484f8b0a 4104b60f
[11:40:55] [debug] ESP+00000180: 74d18b2d 2bf98305 b60f0475 c033460e
[11:40:55] [debug] ESP+000001a0: f983ffc9 8d0c74ff 048d8004 0eb60f41
[11:40:55] [debug] ESP+000001c0: 53e8ffff 8b00005f 053b6440 004e5f0c
[11:40:55] [debug] ESP+000001e0: 50082474 005cb5e8 0cc48300 48408bc3
[11:40:55] [debug] ESP+00000200: 64408b00 5f0c053b 0574004e 005e95e8
[11:40:55] [debug] ESP+00000220: 5c78e850 c4830000 408bc30c 244c8b48
[11:40:55] [debug] ESP+00000240: 3b64408b 4e5f0c05 e8057400 00005e56
[11:40:55] [debug] ESP+00000260: c4830000 408bc30c 244c8b48 04b60f04
[11:40:55] [debug] ESP+00000280: a48dc35b 00000024 24648d00 8ac03300
[11:40:55] [debug] ESP+000002a0: 74000000 830a8a15 d93801c2 c984cf74
[11:40:55] [debug] ESP+000002c0: 0b5610e3 bf0a8bd8 7efefeff f78bc18b
[11:40:55] [debug] ESP+000002e0: 8104c283 010100e1 251c7581 81010100
[11:40:55] [debug] ESP+00000300: 5b5f5ec4 8bc3c033 d838fc42 c0843674
[11:40:55] [debug] ESP+00000320: 74c08415 74dc38dc 74e48406 5e96ebd4
[11:40:55] [debug] ESP+00000340: c35b5f5e 5efc428d 53c35b5f 08245c8b
[11:40:55] [debug] ESP+00000360: 79c08408 7502a832 087e832e 56077500
[11:40:55] [debug] ESP+00000380: 40147500 0eff0689 400c46f6 0d74068b
[11:40:55] [debug] ESP+000003a0: 46ff0c46 efe08304 8901c883 c38b0c46
[11:40:55] [debug] ESP+000003c0: ff000040 4ce80c75 59fffffa 00fc6583
[11:40:55] [debug] ESP+000003e0: fffc4d83 000009e8 e4458b00 00408be8
[11:40:55] [debug] Loaded modules:
[11:40:55] [debug] 00400000 - 00519000 samp-server.exe
[11:40:55] [debug] 77800000 - 77999000 ntdll.dll
[11:40:55] [debug] 762a0000 - 76338000 KERNEL32.DLL
[11:40:55] [debug] 75b00000 - 75cfa000 KERNELBASE.dll
[11:40:55] [debug] 76810000 - 76d8a000 SHELL32.dll
[11:40:55] [debug] 75d80000 - 75e9f000 ucrtbase.dll
[11:40:55] [debug] 753d0000 - 7540b000 cfgmgr32.dll
[11:40:55] [debug] 76fa0000 - 77024000 shcore.dll
[11:40:55] [debug] 76d90000 - 76e4f000 msvcrt.dll
[11:40:55] [debug] 77030000 - 770f1000 RPCRT4.dll
[11:40:55] [debug] 76020000 - 76296000 combase.dll
[11:40:55] [debug] 750f0000 - 7514f000 bcryptPrimitives.dll
[11:40:55] [debug] 75410000 - 759d5000 windows.storage.dll
[11:40:55] [debug] 75d00000 - 75d7c000 msvcp_win.dll
[11:40:55] [debug] 77560000 - 775d6000 sechost.dll
[11:40:55] [debug] 75fa0000 - 76019000 advapi32.dll
[11:40:55] [debug] 750d0000 - 750e7000 profapi.dll
[11:40:55] [debug] 75080000 - 750c3000 powrprof.dll
[11:40:55] [debug] 75050000 - 7505d000 UMPDC.dll
[11:40:55] [debug] 75f20000 - 75f64000 shlwapi.dll
[11:40:55] [debug] 76eb0000 - 76ed1000 GDI32.dll
[11:40:55] [debug] 75ac0000 - 75adc000 win32u.dll
[11:40:55] [debug] 75170000 - 752cd000 gdi32full.dll
[11:40:55] [debug] 77680000 - 777f8000 USER32.dll
[11:40:55] [debug] 75070000 - 7507f000 kernel.appcore.dll
[11:40:55] [debug] 75150000 - 75163000 cryptsp.dll
[11:40:55] [debug] 707a0000 - 707a8000 WSOCK32.dll
[11:40:55] [debug] 76ee0000 - 76f3e000 WS2_32.dll
[11:40:55] [debug] 73140000 - 73164000 WINMM.dll
[11:40:55] [debug] 73110000 - 73133000 WINMMBASE.dll
[11:40:55] [debug] 76450000 - 76476000 IMM32.DLL
[11:40:55] [debug] 70800000 - 70812000 cpadvai.dll
[11:40:55] [debug] 6ffb0000 - 6ffb6000 detoured.dll
[11:40:55] [debug] 5f2a0000 - 5f2f1000 crashdetect.DLL
[11:40:55] [debug] 5b6d0000 - 5b739000 MSVCP100.dll
[11:40:55] [debug] 544a0000 - 5455f000 MSVCR100.dll
[11:40:55] [debug] 6e2c0000 - 6e420000 SKY.DLL
[11:40:55] [debug] 75f70000 - 75f76000 PSAPI.DLL
[11:40:55] [debug] 749b0000 - 74a07000 mswsock.dll
[11:40:55] [debug] 7af60000 - 7af71000 napinsp.dll
[11:40:55] [debug] 7af80000 - 7af96000 pnrpnsp.dll
[11:40:55] [debug] 508d0000 - 508e0000 wshbth.dll
[11:40:55] [debug] 721b0000 - 721c6000 NLAapi.dll
[11:40:55] [debug] 74740000 - 74772000 IPHLPAPI.DLL
[11:40:55] [debug] 51cb0000 - 51cbb000 winrnr.dll
[11:40:55] [debug] 74780000 - 74811000 DNSAPI.dll
[11:40:55] [debug] 76340000 - 76347000 NSI.dll
[11:40:55] [debug] 6f860000 - 6f8b1000 fwpuclnt.dll
[11:40:55] [debug] 75ae0000 - 75afb000 bcrypt.dll
[11:40:55] [debug] 6f710000 - 6f718000 rasadhlp.dll
[11:40:55] [debug] 73870000 - 738ed000 uxtheme.dll
[11:40:55] [debug] 76350000 - 76447000 ole32.dll
[11:40:55] [debug] 72310000 - 723d5000 PROPSYS.dll
[11:40:55] [debug] 775e0000 - 77672000 OLEAUT32.dll
[11:40:55] [debug] 75ea0000 - 75f20000 clbcatq.dll

crashinfo.txt:


--------------------------

SA-MP Server: 0.3.7-R2

Exception At Address: 0x042474FF Module: (Unknown)

Registers:

EAX: 0x0014F606 EBX: 0x00000002 ECX: 0x009DD870 EDX: 0xFFFFFFFF

ESI: 0x009D9E90 EDI: 0x00000009 EBP: 0x2277E004 ESP: 0x00498D73

EFLAGS: 0x00010202

Stack:

+0000: 0xFFFF75E8   0x59C085FF   0x44391675   0x10740824

+0010: 0x042474FF   0x005CDEE8   0x59C08500   0xC033DE75

+0020: 0x0C35FFC3   0xFF00515F   0xE8082474   0xFFFFFFC5

+0030: 0x6AC35959   0xA158680C   0x02E8004B   0x8B000044

+0040: 0xF6850875   0x3D835874   0x005164B4   0x6A407503

+0050: 0x43B9E804   0x83590000   0x5600FC65   0x0051BBE8

+0060: 0x45895900   0x74C085E4   0xE8505609   0x000051D7

+0070: 0x4D835959   0x0BE8FFFC   0x83000000   0x7500E47D

+0080: 0x0875FF1D   0x046A0AEB   0x0042CDE8   0x56C35900

+0090: 0x35FF006A   0x005164B0   0xC1A415FF   0xD9E8004A

+00A0: 0xC3000043   0x51EC8B55   0xF8458D51   0xC415FF50

+00B0: 0x8B004AC0   0x4D8BF845   0x05006AFC   0x2AC18000

+00C0: 0x98968068   0x21D18100   0x51FE624E   0x5C4BE850

+00D0: 0x4D8B0000   0x74C98508   0xC9018902   0xEC8B55C3

+00E0: 0x5620EC83   0x5708758B   0x5010458D   0x8D0C75FF

+00F0: 0xC750E045   0xFFFFE445   0x45C77FFF   0x000042EC

+0100: 0xE8758900   0xE8E07589   0x00004863   0x850CC483

+0110: 0x74F88BF6   0xE44DFF1A   0x458B0878   0x0000C6E0

+0120: 0x458D0DEB   0x006A50E0   0x005C58E8   0x8B595900

+0130: 0xC95E5FC7   0xE85756C3   0x00005FDE   0x3B64788B

--------------------------

Loaded Modules:

samp-server.exe A: 0x00400000 - 0x00519000  (F:\Test\samp-server.exe)

ntdll.dll   A: 0x77800000 - 0x77999000  (C:\WINDOWS\SYSTEM32\ntdll.dll)

KERNEL32.DLL    A: 0x762A0000 - 0x76338000  (C:\WINDOWS\System32\KERNEL32.DLL)

KERNELBASE.dll  A: 0x75B00000 - 0x75CFA000  (C:\WINDOWS\System32\KERNELBASE.dll)

SHELL32.dll A: 0x76810000 - 0x76D8A000  (C:\WINDOWS\System32\SHELL32.dll)

ucrtbase.dll    A: 0x75D80000 - 0x75E9F000  (C:\WINDOWS\System32\ucrtbase.dll)

cfgmgr32.dll    A: 0x753D0000 - 0x7540B000  (C:\WINDOWS\System32\cfgmgr32.dll)

shcore.dll  A: 0x76FA0000 - 0x77024000  (C:\WINDOWS\System32\shcore.dll)

msvcrt.dll  A: 0x76D90000 - 0x76E4F000  (C:\WINDOWS\System32\msvcrt.dll)

RPCRT4.dll  A: 0x77030000 - 0x770F1000  (C:\WINDOWS\System32\RPCRT4.dll)

combase.dll A: 0x76020000 - 0x76296000  (C:\WINDOWS\System32\combase.dll)

bcryptPrimitives.dll    A: 0x750F0000 - 0x7514F000  (C:\WINDOWS\System32\bcryptPrimitives.dll)

windows.storage.dll A: 0x75410000 - 0x759D5000  (C:\WINDOWS\System32\windows.storage.dll)

msvcp_win.dll   A: 0x75D00000 - 0x75D7C000  (C:\WINDOWS\System32\msvcp_win.dll)

sechost.dll A: 0x77560000 - 0x775D6000  (C:\WINDOWS\System32\sechost.dll)

advapi32.dll    A: 0x75FA0000 - 0x76019000  (C:\WINDOWS\System32\advapi32.dll)

profapi.dll A: 0x750D0000 - 0x750E7000  (C:\WINDOWS\System32\profapi.dll)

powrprof.dll    A: 0x75080000 - 0x750C3000  (C:\WINDOWS\System32\powrprof.dll)

UMPDC.dll   A: 0x75050000 - 0x7505D000  (C:\WINDOWS\System32\UMPDC.dll)

shlwapi.dll A: 0x75F20000 - 0x75F64000  (C:\WINDOWS\System32\shlwapi.dll)

GDI32.dll   A: 0x76EB0000 - 0x76ED1000  (C:\WINDOWS\System32\GDI32.dll)

win32u.dll  A: 0x75AC0000 - 0x75ADC000  (C:\WINDOWS\System32\win32u.dll)

gdi32full.dll   A: 0x75170000 - 0x752CD000  (C:\WINDOWS\System32\gdi32full.dll)

USER32.dll  A: 0x77680000 - 0x777F8000  (C:\WINDOWS\System32\USER32.dll)

kernel.appcore.dll  A: 0x75070000 - 0x7507F000  (C:\WINDOWS\System32\kernel.appcore.dll)

cryptsp.dll A: 0x75150000 - 0x75163000  (C:\WINDOWS\System32\cryptsp.dll)

WSOCK32.dll A: 0x707A0000 - 0x707A8000  (C:\WINDOWS\SYSTEM32\WSOCK32.dll)

WS2_32.dll  A: 0x76EE0000 - 0x76F3E000  (C:\WINDOWS\System32\WS2_32.dll)

WINMM.dll   A: 0x73140000 - 0x73164000  (C:\WINDOWS\SYSTEM32\WINMM.dll)

WINMMBASE.dll   A: 0x73110000 - 0x73133000  (C:\WINDOWS\SYSTEM32\WINMMBASE.dll)

IMM32.DLL   A: 0x76450000 - 0x76476000  (C:\WINDOWS\System32\IMM32.DLL)

detoured.dll    A: 0x6FFB0000 - 0x6FFB6000  (C:\Program Files\Common Files\Crypto Pro\AppCompat\detoured.dll)

MSVCP100.dll    A: 0x5B6D0000 - 0x5B739000  (C:\WINDOWS\SYSTEM32\MSVCP100.dll)

MSVCR100.dll    A: 0x544A0000 - 0x5455F000  (C:\WINDOWS\SYSTEM32\MSVCR100.dll)

SKY.DLL A: 0x6E2C0000 - 0x6E420000  (F:\Test\plugins\SKY.DLL)

PSAPI.DLL   A: 0x75F70000 - 0x75F76000  (C:\WINDOWS\System32\PSAPI.DLL)

mswsock.dll A: 0x749B0000 - 0x74A07000  (C:\WINDOWS\system32\mswsock.dll)

napinsp.dll A: 0x7AF60000 - 0x7AF71000  (C:\WINDOWS\system32\napinsp.dll)

pnrpnsp.dll A: 0x7AF80000 - 0x7AF96000  (C:\WINDOWS\system32\pnrpnsp.dll)

wshbth.dll  A: 0x508D0000 - 0x508E0000  (C:\WINDOWS\system32\wshbth.dll)

NLAapi.dll  A: 0x721B0000 - 0x721C6000  (C:\WINDOWS\system32\NLAapi.dll)

IPHLPAPI.DLL    A: 0x74740000 - 0x74772000  (C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL)

winrnr.dll  A: 0x51CB0000 - 0x51CBB000  (C:\WINDOWS\System32\winrnr.dll)

DNSAPI.dll  A: 0x74780000 - 0x74811000  (C:\WINDOWS\SYSTEM32\DNSAPI.dll)

NSI.dll A: 0x76340000 - 0x76347000  (C:\WINDOWS\System32\NSI.dll)

bcrypt.dll  A: 0x75AE0000 - 0x75AFB000  (C:\WINDOWS\System32\bcrypt.dll)

rasadhlp.dll    A: 0x6F710000 - 0x6F718000  (C:\Windows\System32\rasadhlp.dll)

uxtheme.dll A: 0x73870000 - 0x738ED000  (C:\WINDOWS\system32\uxtheme.dll)

PROPSYS.dll A: 0x72310000 - 0x723D5000  (C:\WINDOWS\SYSTEM32\PROPSYS.dll)

OLEAUT32.dll    A: 0x775E0000 - 0x77672000  (C:\WINDOWS\System32\OLEAUT32.dll)
nutt3r commented 4 years ago

I have recently been suffering crashes on 0.3.DL on windows which wasn't an issue I found testing the builds before the new release.

It seems to crash when weapon-config sets a players health to >8000000, however players are able to spawn just fine. The issue can also be replicated by shooting another player.

The linux version is, however, working fine.

I have already sent a test gamemode that is able to reproduce the issue.

ADRFranklin commented 4 years ago

I am looking into it, from the discussions I had with Illidan he was actually able to work out that it had something to do with RAKNET_GET_PLAYERID_FROM_INDEX_OFFSET which is why you see Exception At Address: 0x042474FF Module: (Unknown)

odd behavior, but hopefully we can find a solution to it.

ADRFranklin commented 4 years ago

I have discovered the issue, seems now the sync data that is stored when it is frozen, returns some unexpected data, which is then being copied to the Receive hooks pointer. This is actually causing data to be returned incorrectly (SetPlayerHealth) which is crashing the server.

I am working on a fix right now, so should be fixed today.

ADRFranklin commented 4 years ago

Could one of you try these? This should fix both the crashes, and the issue with KEY_NO/KEY_YES being detected

release-linux.tar.gz release-windows.zip

NexiusTailer commented 4 years ago

Unfortunately no, I keep receiving such crashes...

This time I didn't cut all my dependencies, so now there are: nex-ac, foreach, CRP (russian text in td/menus/gametexts fix plugin), streamer, pawn.raknet & crashdetect.

'plugins' order: crashdetect SKY streamer CRP pawnraknet

The logs:

[16:15:37] Number of vehicle models: 0
[16:16:04] [connection] 127.0.0.1:64080 requests connection cookie.
[16:16:05] [connection] incoming connection: 127.0.0.1:64080 id: 0
[16:16:05] [join] Nexius has joined the server (0:127.0.0.1)
[16:17:08] [connection] 127.0.0.1:53523 requests connection cookie.
[16:17:09] [connection] incoming connection: 127.0.0.1:53523 id: 1
[16:17:09] [join] Nexius1 has joined the server (1:127.0.0.1)
[16:17:15] [debug] Server crashed while executing nex-test.amx
[16:17:15] [debug] AMX backtrace:
[16:17:15] [debug] #0 native SetPlayerHealth () in samp-server.exe
[16:17:15] [debug] #1 00006b00 in public ac_SetPlayerHealth (1, 1257514184) in nex-test.amx
[16:17:15] [debug] #2 0000cba4 in ?? (1, 1257514184) in nex-test.amx
[16:17:15] [debug] #3 0004ac0c in ?? (1, 1) in nex-test.amx
[16:17:15] [debug] #4 00045fe4 in public ac_OnPlayerTakeDamage (1, 65535, 1084122727, 54, 3) in nex-test.amx
[16:17:15] [debug] #5 00010f44 in public OnPlayerTakeDamage (1, 65535, 1084122727, 54, 3) in nex-test.amx
[16:17:15] [debug] Native backtrace:
[16:17:15] [debug] #0 0048e487 in ?? () in samp-server.exe
[16:17:15] [debug] #1 6c34dc92 in ?? () in plugins\crashdetect.DLL
[16:17:15] [debug] #2 6c355318 in ?? () in plugins\crashdetect.DLL
[16:17:15] [debug] #3 6c3497cc in ?? () in plugins\crashdetect.DLL
[16:17:15] [debug] #4 6c34dcf4 in ?? () in plugins\crashdetect.DLL
[16:17:15] [debug] #5 63723484 in ?? () in plugins\streamer.DLL
[16:17:15] [debug] #6 0046ed5c in ?? () in samp-server.exe
[16:17:15] [debug] #7 00493c03 in ?? () in samp-server.exe
[16:17:15] [debug] #8 6c335f61 in ?? () in plugins\crashdetect.DLL
[16:17:15] [debug] #9 6c349805 in ?? () in plugins\crashdetect.DLL
[16:17:15] [debug] #10 63723491 in ?? () in plugins\streamer.DLL
[16:17:15] [debug] Registers:
[16:17:15] [debug] EAX: 0014f366 EBX: 00000002 ECX: 001bd850 EDX: ffffffff
[16:17:15] [debug] ESI: 001b9e70 EDI: 00000009 EBP: 00000000 ESP: 0014f818
[16:17:15] [debug] EIP: 63723491 EFLAGS: 00010202
[16:17:15] [debug] Stack:
[16:17:15] [debug] ESP+00000000: 63773610 00000000 01eff6c8 0014f878
[16:17:15] [debug] ESP+00000020: 0014f884 5c47b727 00000000 0014f878
[16:17:15] [debug] ESP+00000040: 00000073 01eff6c8 0014f898 0014faec
[16:17:15] [debug] ESP+00000060: 00000001 0014fb04 004ab2eb 00000000
[16:17:15] [debug] ESP+00000080: 00000078 00000078 00000000 0014f9bc
[16:17:15] [debug] ESP+000000a0: 77897290 68a6d110 fffffffe 0014fa3c
[16:17:15] [debug] ESP+000000c0: 005a4f08 005a6dc0 77879b06 5c471462
[16:17:15] [debug] ESP+000000e0: 5c471462 7780144c 00000003 00000003
[16:17:15] [debug] ESP+00000100: 0014f8f0 c0000139 006e004f 006c0050
[16:17:15] [debug] ESP+00000120: 00650074 00000000 63720000 00000000
[16:17:15] [debug] ESP+00000140: 005a4f08 00000011 0014f990 77838869
[16:17:15] [debug] ESP+00000160: 005a6dc0 0014fa80 005a4f08 00000274
[16:17:15] [debug] ESP+00000180: 0014faf0 01e55e88 0014faa8 001bd801
[16:17:15] [debug] ESP+000001a0: 0014faec b3b3ffff 001b204f 80010000
[16:17:15] [debug] ESP+000001c0: 00000098 00000098 00000094 02d92c00
[16:17:15] [debug] ESP+000001e0: 00000000 01eff6c8 00000001 0014fa34
[16:17:15] [debug] ESP+00000200: 00000000 01d76000 00000000 00000002
[16:17:15] [debug] ESP+00000220: 6c3492ef 0014fb2c 04f72e03 03158a48
[16:17:15] [debug] ESP+00000240: 00000000 000e96dc 00043ddc 0000001c
[16:17:15] [debug] ESP+00000260: 00000003 005a6dc0 00000000 0014fa98
[16:17:15] [debug] ESP+00000280: 006e004f 00750050 006c0062 00630069
[16:17:15] [debug] ESP+000002a0: 63720000 00000000 00000000 0014fad4
[16:17:15] [debug] ESP+000002c0: 0014fb08 77838869 63720000 00000015
[16:17:15] [debug] ESP+000002e0: d858d113 01ef001b 1f22667c 0014fc60
[16:17:15] [debug] ESP+00000300: 02d92c73 00000073 0100007f 004cd113
[16:17:15] [debug] ESP+00000320: 00000000 02d92b00 00000000 0014fb64
[16:17:15] [debug] ESP+00000340: 00000000 01eff6c8 6c33132f 0014fbbc
[16:17:15] [debug] ESP+00000360: 00000000 00000034 01d76f10 01eff6c8
[16:17:15] [debug] ESP+00000380: 0014fbc4 6c335f61 0014fbb8 00000001
[16:17:15] [debug] ESP+000003a0: 01d76000 00000000 00000000 0014fc20
[16:17:15] [debug] ESP+000003c0: 00000001 00000000 546c6148 00000034
[16:17:15] [debug] ESP+000003e0: 01eff6c8 00000001 00000000 00000000
[16:17:15] [debug] Loaded modules:
[16:17:15] [debug] 00400000 - 00519000 samp-server.exe
[16:17:15] [debug] 77800000 - 77999000 ntdll.dll
[16:17:15] [debug] 762a0000 - 76338000 KERNEL32.DLL
[16:17:15] [debug] 75b00000 - 75cfa000 KERNELBASE.dll
[16:17:15] [debug] 76810000 - 76d8a000 SHELL32.dll
[16:17:15] [debug] 75d80000 - 75e9f000 ucrtbase.dll
[16:17:15] [debug] 753d0000 - 7540b000 cfgmgr32.dll
[16:17:15] [debug] 76fa0000 - 77024000 shcore.dll
[16:17:15] [debug] 76d90000 - 76e4f000 msvcrt.dll
[16:17:15] [debug] 77030000 - 770f1000 RPCRT4.dll
[16:17:15] [debug] 76020000 - 76296000 combase.dll
[16:17:15] [debug] 750f0000 - 7514f000 bcryptPrimitives.dll
[16:17:15] [debug] 75410000 - 759d5000 windows.storage.dll
[16:17:15] [debug] 75d00000 - 75d7c000 msvcp_win.dll
[16:17:15] [debug] 77560000 - 775d6000 sechost.dll
[16:17:15] [debug] 75fa0000 - 76019000 advapi32.dll
[16:17:15] [debug] 750d0000 - 750e7000 profapi.dll
[16:17:15] [debug] 75080000 - 750c3000 powrprof.dll
[16:17:15] [debug] 75050000 - 7505d000 UMPDC.dll
[16:17:15] [debug] 75f20000 - 75f64000 shlwapi.dll
[16:17:15] [debug] 76eb0000 - 76ed1000 GDI32.dll
[16:17:15] [debug] 75ac0000 - 75adc000 win32u.dll
[16:17:15] [debug] 75170000 - 752cd000 gdi32full.dll
[16:17:15] [debug] 77680000 - 777f8000 USER32.dll
[16:17:15] [debug] 75070000 - 7507f000 kernel.appcore.dll
[16:17:15] [debug] 75150000 - 75163000 cryptsp.dll
[16:17:15] [debug] 71830000 - 71838000 WSOCK32.dll
[16:17:15] [debug] 76ee0000 - 76f3e000 WS2_32.dll
[16:17:15] [debug] 73140000 - 73164000 WINMM.dll
[16:17:15] [debug] 73110000 - 73133000 WINMMBASE.dll
[16:17:15] [debug] 76450000 - 76476000 IMM32.DLL
[16:17:15] [debug] 731f0000 - 73202000 cpadvai.dll
[16:17:15] [debug] 6ffb0000 - 6ffb6000 detoured.dll
[16:17:15] [debug] 6c330000 - 6c381000 crashdetect.DLL
[16:17:15] [debug] 677a0000 - 67809000 MSVCP100.dll
[16:17:15] [debug] 60140000 - 601ff000 MSVCR100.dll
[16:17:15] [debug] 6e2c0000 - 6e420000 SKY.DLL
[16:17:15] [debug] 75f70000 - 75f76000 PSAPI.DLL
[16:17:15] [debug] 63720000 - 63787000 streamer.DLL
[16:17:15] [debug] 70230000 - 70243000 VCRUNTIME140.dll
[16:17:15] [debug] 5c5a0000 - 5c60e000 MSVCP140.dll
[16:17:15] [debug] 70470000 - 70476000 CRP.DLL
[16:17:15] [debug] 5c4f0000 - 5c593000 MSVCR90.dll
[16:17:15] [debug] 5c470000 - 5c4e9000 pawnraknet.DLL
[16:17:15] [debug] 749b0000 - 74a07000 mswsock.dll
[16:17:15] [debug] 7af60000 - 7af71000 napinsp.dll
[16:17:15] [debug] 7af80000 - 7af96000 pnrpnsp.dll
[16:17:15] [debug] 508d0000 - 508e0000 wshbth.dll
[16:17:15] [debug] 721b0000 - 721c6000 NLAapi.dll
[16:17:15] [debug] 74740000 - 74772000 IPHLPAPI.DLL
[16:17:15] [debug] 51cb0000 - 51cbb000 winrnr.dll
[16:17:15] [debug] 74780000 - 74811000 DNSAPI.dll
[16:17:15] [debug] 76340000 - 76347000 NSI.dll
[16:17:15] [debug] 6f860000 - 6f8b1000 fwpuclnt.dll
[16:17:15] [debug] 75ae0000 - 75afb000 bcrypt.dll
[16:17:15] [debug] 6f710000 - 6f718000 rasadhlp.dll
[16:17:15] [debug] 73870000 - 738ed000 uxtheme.dll
[16:17:15] [debug] 76350000 - 76447000 ole32.dll
[16:17:15] [debug] 72310000 - 723d5000 PROPSYS.dll
[16:17:15] [debug] 775e0000 - 77672000 OLEAUT32.dll
[16:17:15] [debug] 75ea0000 - 75f20000 clbcatq.dll

--------------------------

SA-MP Server: 0.3.7-R2

Exception At Address: 0x63723491 Module: (streamer.DLL)

Registers:

EAX: 0x0014F366 EBX: 0x00000002 ECX: 0x001BD850 EDX: 0xFFFFFFFF

ESI: 0x001B9E70 EDI: 0x00000009 EBP: 0x00000000 ESP: 0x0014F818

EFLAGS: 0x00010202

Stack:

+0000: 0x63773610   0x00000000   0x01EFF6C8   0x0014F878

+0010: 0x0000000C   0x005AD240   0x00580B00   0x0000000C

+0020: 0x0014F884   0x5C47B727   0x00000000   0x0014F878

+0030: 0x00000003   0x01EFF6C8   0x00000001   0x01EFF6C8

+0040: 0x00000073   0x01EFF6C8   0x0014F898   0x0014FAEC

+0050: 0x0045A800   0x001BD801   0x7782D113   0x00000001

+0060: 0x00000001   0x0014FB04   0x004AB2EB   0x00000000

+0070: 0x5C48EC2A   0x0014FAEC   0x01E55E88   0x0014F9BC

+0080: 0x00000078   0x00000078   0x00000000   0x0014F9BC

+0090: 0x00897200   0x68A6D110   0xFFFFFFFE   0x0014FDF0

+00A0: 0x77897290   0x68A6D110   0xFFFFFFFE   0x0014FA3C

+00B0: 0x77879A80   0x0014F908   0x0014F8E8   0x00000003

+00C0: 0x005A4F08   0x005A6DC0   0x77879B06   0x5C471462

+00D0: 0x000F000E   0x005A4F08   0x0010000E   0x7780636C

+00E0: 0x5C471462   0x7780144C   0x00000003   0x00000003

+00F0: 0x0100001C   0x0014F920   0x00000001   0x0014F908

+0100: 0x0014F8F0   0xC0000139   0x006E004F   0x006C0050

+0110: 0x00790061   0x00720065   0x00700055   0x00610064

+0120: 0x00650074   0x00000000   0x63720000   0x00000000

+0130: 0x00000000   0x0014F95C   0x63720000   0x6377BC10

--------------------------

Loaded Modules:

samp-server.exe A: 0x00400000 - 0x00519000  (F:\Test\samp-server.exe)

ntdll.dll   A: 0x77800000 - 0x77999000  (C:\WINDOWS\SYSTEM32\ntdll.dll)

KERNEL32.DLL    A: 0x762A0000 - 0x76338000  (C:\WINDOWS\System32\KERNEL32.DLL)

KERNELBASE.dll  A: 0x75B00000 - 0x75CFA000  (C:\WINDOWS\System32\KERNELBASE.dll)

SHELL32.dll A: 0x76810000 - 0x76D8A000  (C:\WINDOWS\System32\SHELL32.dll)

ucrtbase.dll    A: 0x75D80000 - 0x75E9F000  (C:\WINDOWS\System32\ucrtbase.dll)

cfgmgr32.dll    A: 0x753D0000 - 0x7540B000  (C:\WINDOWS\System32\cfgmgr32.dll)

shcore.dll  A: 0x76FA0000 - 0x77024000  (C:\WINDOWS\System32\shcore.dll)

msvcrt.dll  A: 0x76D90000 - 0x76E4F000  (C:\WINDOWS\System32\msvcrt.dll)

RPCRT4.dll  A: 0x77030000 - 0x770F1000  (C:\WINDOWS\System32\RPCRT4.dll)

combase.dll A: 0x76020000 - 0x76296000  (C:\WINDOWS\System32\combase.dll)

bcryptPrimitives.dll    A: 0x750F0000 - 0x7514F000  (C:\WINDOWS\System32\bcryptPrimitives.dll)

windows.storage.dll A: 0x75410000 - 0x759D5000  (C:\WINDOWS\System32\windows.storage.dll)

msvcp_win.dll   A: 0x75D00000 - 0x75D7C000  (C:\WINDOWS\System32\msvcp_win.dll)

sechost.dll A: 0x77560000 - 0x775D6000  (C:\WINDOWS\System32\sechost.dll)

advapi32.dll    A: 0x75FA0000 - 0x76019000  (C:\WINDOWS\System32\advapi32.dll)

profapi.dll A: 0x750D0000 - 0x750E7000  (C:\WINDOWS\System32\profapi.dll)

powrprof.dll    A: 0x75080000 - 0x750C3000  (C:\WINDOWS\System32\powrprof.dll)

UMPDC.dll   A: 0x75050000 - 0x7505D000  (C:\WINDOWS\System32\UMPDC.dll)

shlwapi.dll A: 0x75F20000 - 0x75F64000  (C:\WINDOWS\System32\shlwapi.dll)

GDI32.dll   A: 0x76EB0000 - 0x76ED1000  (C:\WINDOWS\System32\GDI32.dll)

win32u.dll  A: 0x75AC0000 - 0x75ADC000  (C:\WINDOWS\System32\win32u.dll)

gdi32full.dll   A: 0x75170000 - 0x752CD000  (C:\WINDOWS\System32\gdi32full.dll)

USER32.dll  A: 0x77680000 - 0x777F8000  (C:\WINDOWS\System32\USER32.dll)

kernel.appcore.dll  A: 0x75070000 - 0x7507F000  (C:\WINDOWS\System32\kernel.appcore.dll)

cryptsp.dll A: 0x75150000 - 0x75163000  (C:\WINDOWS\System32\cryptsp.dll)

WSOCK32.dll A: 0x71830000 - 0x71838000  (C:\WINDOWS\SYSTEM32\WSOCK32.dll)

WS2_32.dll  A: 0x76EE0000 - 0x76F3E000  (C:\WINDOWS\System32\WS2_32.dll)

WINMM.dll   A: 0x73140000 - 0x73164000  (C:\WINDOWS\SYSTEM32\WINMM.dll)

WINMMBASE.dll   A: 0x73110000 - 0x73133000  (C:\WINDOWS\SYSTEM32\WINMMBASE.dll)

IMM32.DLL   A: 0x76450000 - 0x76476000  (C:\WINDOWS\System32\IMM32.DLL)

detoured.dll    A: 0x6FFB0000 - 0x6FFB6000  (C:\Program Files\Common Files\Crypto Pro\AppCompat\detoured.dll)

MSVCP100.dll    A: 0x677A0000 - 0x67809000  (C:\WINDOWS\SYSTEM32\MSVCP100.dll)

MSVCR100.dll    A: 0x60140000 - 0x601FF000  (C:\WINDOWS\SYSTEM32\MSVCR100.dll)

SKY.DLL A: 0x6E2C0000 - 0x6E420000  (F:\Test\plugins\SKY.DLL)

PSAPI.DLL   A: 0x75F70000 - 0x75F76000  (C:\WINDOWS\System32\PSAPI.DLL)

streamer.DLL    A: 0x63720000 - 0x63787000  (F:\Test\plugins\streamer.DLL)

VCRUNTIME140.dll    A: 0x70230000 - 0x70243000  (C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll)

MSVCP140.dll    A: 0x5C5A0000 - 0x5C60E000  (C:\WINDOWS\SYSTEM32\MSVCP140.dll)

CRP.DLL A: 0x70470000 - 0x70476000  (F:\Test\plugins\CRP.DLL)

MSVCR90.dll A: 0x5C4F0000 - 0x5C593000  (C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9619_none_508d9c7abcbd32b6\MSVCR90.dll)

pawnraknet.DLL  A: 0x5C470000 - 0x5C4E9000  (F:\Test\plugins\pawnraknet.DLL)

mswsock.dll A: 0x749B0000 - 0x74A07000  (C:\WINDOWS\system32\mswsock.dll)

napinsp.dll A: 0x7AF60000 - 0x7AF71000  (C:\WINDOWS\system32\napinsp.dll)

pnrpnsp.dll A: 0x7AF80000 - 0x7AF96000  (C:\WINDOWS\system32\pnrpnsp.dll)

wshbth.dll  A: 0x508D0000 - 0x508E0000  (C:\WINDOWS\system32\wshbth.dll)

NLAapi.dll  A: 0x721B0000 - 0x721C6000  (C:\WINDOWS\system32\NLAapi.dll)

IPHLPAPI.DLL    A: 0x74740000 - 0x74772000  (C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL)

winrnr.dll  A: 0x51CB0000 - 0x51CBB000  (C:\WINDOWS\System32\winrnr.dll)

DNSAPI.dll  A: 0x74780000 - 0x74811000  (C:\WINDOWS\SYSTEM32\DNSAPI.dll)

NSI.dll A: 0x76340000 - 0x76347000  (C:\WINDOWS\System32\NSI.dll)

bcrypt.dll  A: 0x75AE0000 - 0x75AFB000  (C:\WINDOWS\System32\bcrypt.dll)

rasadhlp.dll    A: 0x6F710000 - 0x6F718000  (C:\Windows\System32\rasadhlp.dll)

uxtheme.dll A: 0x73870000 - 0x738ED000  (C:\WINDOWS\system32\uxtheme.dll)

PROPSYS.dll A: 0x72310000 - 0x723D5000  (C:\WINDOWS\SYSTEM32\PROPSYS.dll)

OLEAUT32.dll    A: 0x775E0000 - 0x77672000  (C:\WINDOWS\System32\OLEAUT32.dll)
ADRFranklin commented 4 years ago

You are 100% sure, you are using the ones I gave you? Cause when testing I was also getting this issue, but managed to fix it, and now I am not getting this issue at all?

ADRFranklin commented 4 years ago

it appears that this is not related to SKY, as the exception module is Exception At Address: 0x63723491 Module: (streamer.DLL) (streamer.DLL)

EDIT: There is no mention of SKY in debug information

ADRFranklin commented 4 years ago

If you could send me a MRE, of this so I could reproduce the issue, then I could hopefully solve it. But from that information, it doesn't seem like it's related to SKY

NexiusTailer commented 4 years ago

You are 100% sure, you are using the ones I gave you? Cause when testing I was also getting this issue, but managed to fix it, and now I am not getting this issue at all?

Sure, just checked when you send a newer version.

As for relation to SKY. Ok, now I've disabled other dependencies again and test it with crashdetect, foreach, weapon-config and SKY only:

[16:26:29] Number of vehicle models: 0
[16:26:29] [connection] 127.0.0.1:54463 requests connection cookie.
[16:26:29] [connection] 127.0.0.1:54464 requests connection cookie.
[16:26:30] [connection] incoming connection: 127.0.0.1:54463 id: 0
[16:26:30] [connection] incoming connection: 127.0.0.1:54464 id: 1
[16:26:31] [join] Nexius has joined the server (0:127.0.0.1)
[16:26:31] [join] Nexius1 has joined the server (1:127.0.0.1)
[16:27:04] [debug] Server crashed while executing nex-test.amx
[16:27:04] [debug] AMX backtrace:
[16:27:04] [debug] #0 native SetPlayerHealth () in samp-server.exe
[16:27:04] [debug] #1 00011444 in ?? (1, 1) in nex-test.amx
[16:27:04] [debug] #2 0000c7d4 in public OnPlayerTakeDamage (1, 65535, 1084122727, 54, 3) in nex-test.amx
[16:27:04] [debug] Native backtrace:
[16:27:04] [debug] #0 0048e487 in ?? () in samp-server.exe
[16:27:04] [debug] #1 677cdc92 in ?? () in plugins\crashdetect.DLL
[16:27:04] [debug] #2 677d5318 in ?? () in plugins\crashdetect.DLL
[16:27:04] [debug] #3 677c97cc in ?? () in plugins\crashdetect.DLL
[16:27:04] [debug] #4 677cdcf4 in ?? () in plugins\crashdetect.DLL
[16:27:04] [debug] #5 0046ed5c in ?? () in samp-server.exe
[16:27:04] [debug] #6 00493c03 in ?? () in samp-server.exe
[16:27:04] [debug] #7 77841976 in ?? () in C:\WINDOWS\SYSTEM32\ntdll.dll
[16:27:04] [debug] #8 00498d56 in ?? () in samp-server.exe
[16:27:04] [debug] #9 00498d78 in ?? () in samp-server.exe
[16:27:04] [debug] #10 67e8046a in ?? () in samp-server.exe
[16:27:04] [debug] #11 59000043 in ?? () in samp-server.exe
[16:27:04] [debug] #12 247c83c3 in ?? () in samp-server.exe
[16:27:04] [debug] #13 2277e004 in ?? () in samp-server.exe
[16:27:04] [debug] #14 042474ff in ?? () in samp-server.exe
[16:27:04] [debug] Registers:
[16:27:04] [debug] EAX: 0014f606 EBX: 00000002 ECX: 01b0d870 EDX: ffffffff
[16:27:04] [debug] ESI: 01b09e90 EDI: 00000009 EBP: 2277e004 ESP: 00498d73
[16:27:04] [debug] EIP: 042474ff EFLAGS: 00010202
[16:27:04] [debug] Stack:
[16:27:04] [debug] ESP+00000000: ffff75e8 59c085ff 44391675 10740824
[16:27:04] [debug] ESP+00000020: 0c35ffc3 ff00515f e8082474 ffffffc5
[16:27:04] [debug] ESP+00000040: f6850875 3d835874 005164b4 6a407503
[16:27:04] [debug] ESP+00000060: 45895900 74c085e4 e8505609 000051d7
[16:27:04] [debug] ESP+00000080: 0875ff1d 046a0aeb 0042cde8 56c35900
[16:27:04] [debug] ESP+000000a0: c3000043 51ec8b55 f8458d51 c415ff50
[16:27:04] [debug] ESP+000000c0: 98968068 21d18100 51fe624e 5c4be850
[16:27:04] [debug] ESP+000000e0: 5620ec83 5708758b 5010458d 8d0c75ff
[16:27:04] [debug] ESP+00000100: e8758900 e8e07589 00004863 850cc483
[16:27:04] [debug] ESP+00000120: 458d0deb 006a50e0 005c58e8 8b595900
[16:27:04] [debug] ESP+00000140: 4e5f0c3d e8077400 00005f5a 748bf88b
[16:27:04] [debug] ESP+00000160: 00005d3a eb0cc483 484f8b0a 4104b60f
[16:27:04] [debug] ESP+00000180: 74d18b2d 2bf98305 b60f0475 c033460e
[16:27:04] [debug] ESP+000001a0: f983ffc9 8d0c74ff 048d8004 0eb60f41
[16:27:04] [debug] ESP+000001c0: 53e8ffff 8b00005f 053b6440 004e5f0c
[16:27:04] [debug] ESP+000001e0: 50082474 005cb5e8 0cc48300 48408bc3
[16:27:04] [debug] ESP+00000200: 64408b00 5f0c053b 0574004e 005e95e8
[16:27:04] [debug] ESP+00000220: 5c78e850 c4830000 408bc30c 244c8b48
[16:27:04] [debug] ESP+00000240: 3b64408b 4e5f0c05 e8057400 00005e56
[16:27:04] [debug] ESP+00000260: c4830000 408bc30c 244c8b48 04b60f04
[16:27:04] [debug] ESP+00000280: a48dc35b 00000024 24648d00 8ac03300
[16:27:04] [debug] ESP+000002a0: 74000000 830a8a15 d93801c2 c984cf74
[16:27:04] [debug] ESP+000002c0: 0b5610e3 bf0a8bd8 7efefeff f78bc18b
[16:27:04] [debug] ESP+000002e0: 8104c283 010100e1 251c7581 81010100
[16:27:04] [debug] ESP+00000300: 5b5f5ec4 8bc3c033 d838fc42 c0843674
[16:27:04] [debug] ESP+00000320: 74c08415 74dc38dc 74e48406 5e96ebd4
[16:27:04] [debug] ESP+00000340: c35b5f5e 5efc428d 53c35b5f 08245c8b
[16:27:04] [debug] ESP+00000360: 79c08408 7502a832 087e832e 56077500
[16:27:04] [debug] ESP+00000380: 40147500 0eff0689 400c46f6 0d74068b
[16:27:04] [debug] ESP+000003a0: 46ff0c46 efe08304 8901c883 c38b0c46
[16:27:04] [debug] ESP+000003c0: ff000040 4ce80c75 59fffffa 00fc6583
[16:27:04] [debug] ESP+000003e0: fffc4d83 000009e8 e4458b00 00408be8
[16:27:04] [debug] Loaded modules:
[16:27:04] [debug] 00400000 - 00519000 samp-server.exe
[16:27:04] [debug] 77800000 - 77999000 ntdll.dll
[16:27:04] [debug] 762a0000 - 76338000 KERNEL32.DLL
[16:27:04] [debug] 75b00000 - 75cfa000 KERNELBASE.dll
[16:27:04] [debug] 76810000 - 76d8a000 SHELL32.dll
[16:27:04] [debug] 75d80000 - 75e9f000 ucrtbase.dll
[16:27:04] [debug] 753d0000 - 7540b000 cfgmgr32.dll
[16:27:04] [debug] 76fa0000 - 77024000 shcore.dll
[16:27:04] [debug] 76d90000 - 76e4f000 msvcrt.dll
[16:27:04] [debug] 77030000 - 770f1000 RPCRT4.dll
[16:27:04] [debug] 76020000 - 76296000 combase.dll
[16:27:04] [debug] 750f0000 - 7514f000 bcryptPrimitives.dll
[16:27:04] [debug] 75410000 - 759d5000 windows.storage.dll
[16:27:04] [debug] 75d00000 - 75d7c000 msvcp_win.dll
[16:27:04] [debug] 77560000 - 775d6000 sechost.dll
[16:27:04] [debug] 75fa0000 - 76019000 advapi32.dll
[16:27:04] [debug] 750d0000 - 750e7000 profapi.dll
[16:27:04] [debug] 75080000 - 750c3000 powrprof.dll
[16:27:04] [debug] 75050000 - 7505d000 UMPDC.dll
[16:27:04] [debug] 75f20000 - 75f64000 shlwapi.dll
[16:27:04] [debug] 76eb0000 - 76ed1000 GDI32.dll
[16:27:04] [debug] 75ac0000 - 75adc000 win32u.dll
[16:27:04] [debug] 75170000 - 752cd000 gdi32full.dll
[16:27:04] [debug] 77680000 - 777f8000 USER32.dll
[16:27:04] [debug] 75070000 - 7507f000 kernel.appcore.dll
[16:27:04] [debug] 75150000 - 75163000 cryptsp.dll
[16:27:04] [debug] 71830000 - 71838000 WSOCK32.dll
[16:27:04] [debug] 76ee0000 - 76f3e000 WS2_32.dll
[16:27:04] [debug] 73140000 - 73164000 WINMM.dll
[16:27:04] [debug] 73110000 - 73133000 WINMMBASE.dll
[16:27:04] [debug] 76450000 - 76476000 IMM32.DLL
[16:27:04] [debug] 731f0000 - 73202000 cpadvai.dll
[16:27:04] [debug] 6ffb0000 - 6ffb6000 detoured.dll
[16:27:04] [debug] 677b0000 - 67801000 crashdetect.DLL
[16:27:04] [debug] 63720000 - 63789000 MSVCP100.dll
[16:27:04] [debug] 60140000 - 601ff000 MSVCR100.dll
[16:27:04] [debug] 6e2c0000 - 6e420000 SKY.DLL
[16:27:04] [debug] 75f70000 - 75f76000 PSAPI.DLL
[16:27:04] [debug] 749b0000 - 74a07000 mswsock.dll
[16:27:04] [debug] 7af60000 - 7af71000 napinsp.dll
[16:27:04] [debug] 7af80000 - 7af96000 pnrpnsp.dll
[16:27:04] [debug] 508d0000 - 508e0000 wshbth.dll
[16:27:04] [debug] 721b0000 - 721c6000 NLAapi.dll
[16:27:04] [debug] 74740000 - 74772000 IPHLPAPI.DLL
[16:27:04] [debug] 51cb0000 - 51cbb000 winrnr.dll
[16:27:04] [debug] 74780000 - 74811000 DNSAPI.dll
[16:27:04] [debug] 76340000 - 76347000 NSI.dll
[16:27:04] [debug] 6f860000 - 6f8b1000 fwpuclnt.dll
[16:27:04] [debug] 75ae0000 - 75afb000 bcrypt.dll
[16:27:04] [debug] 6f710000 - 6f718000 rasadhlp.dll
[16:27:04] [debug] 73870000 - 738ed000 uxtheme.dll
[16:27:04] [debug] 76350000 - 76447000 ole32.dll
[16:27:04] [debug] 72310000 - 723d5000 PROPSYS.dll
[16:27:04] [debug] 775e0000 - 77672000 OLEAUT32.dll
[16:27:04] [debug] 75ea0000 - 75f20000 clbcatq.dll

crashlog:


--------------------------

SA-MP Server: 0.3.7-R2

Exception At Address: 0x042474FF Module: (Unknown)

Registers:

EAX: 0x0014F606 EBX: 0x00000002 ECX: 0x01B0D870 EDX: 0xFFFFFFFF

ESI: 0x01B09E90 EDI: 0x00000009 EBP: 0x2277E004 ESP: 0x00498D73

EFLAGS: 0x00010202

Stack:

+0000: 0xFFFF75E8   0x59C085FF   0x44391675   0x10740824

+0010: 0x042474FF   0x005CDEE8   0x59C08500   0xC033DE75

+0020: 0x0C35FFC3   0xFF00515F   0xE8082474   0xFFFFFFC5

+0030: 0x6AC35959   0xA158680C   0x02E8004B   0x8B000044

+0040: 0xF6850875   0x3D835874   0x005164B4   0x6A407503

+0050: 0x43B9E804   0x83590000   0x5600FC65   0x0051BBE8

+0060: 0x45895900   0x74C085E4   0xE8505609   0x000051D7

+0070: 0x4D835959   0x0BE8FFFC   0x83000000   0x7500E47D

+0080: 0x0875FF1D   0x046A0AEB   0x0042CDE8   0x56C35900

+0090: 0x35FF006A   0x005164B0   0xC1A415FF   0xD9E8004A

+00A0: 0xC3000043   0x51EC8B55   0xF8458D51   0xC415FF50

+00B0: 0x8B004AC0   0x4D8BF845   0x05006AFC   0x2AC18000

+00C0: 0x98968068   0x21D18100   0x51FE624E   0x5C4BE850

+00D0: 0x4D8B0000   0x74C98508   0xC9018902   0xEC8B55C3

+00E0: 0x5620EC83   0x5708758B   0x5010458D   0x8D0C75FF

+00F0: 0xC750E045   0xFFFFE445   0x45C77FFF   0x000042EC

+0100: 0xE8758900   0xE8E07589   0x00004863   0x850CC483

+0110: 0x74F88BF6   0xE44DFF1A   0x458B0878   0x0000C6E0

+0120: 0x458D0DEB   0x006A50E0   0x005C58E8   0x8B595900

+0130: 0xC95E5FC7   0xE85756C3   0x00005FDE   0x3B64788B

--------------------------

Loaded Modules:

samp-server.exe A: 0x00400000 - 0x00519000  (F:\Test\samp-server.exe)

ntdll.dll   A: 0x77800000 - 0x77999000  (C:\WINDOWS\SYSTEM32\ntdll.dll)

KERNEL32.DLL    A: 0x762A0000 - 0x76338000  (C:\WINDOWS\System32\KERNEL32.DLL)

KERNELBASE.dll  A: 0x75B00000 - 0x75CFA000  (C:\WINDOWS\System32\KERNELBASE.dll)

SHELL32.dll A: 0x76810000 - 0x76D8A000  (C:\WINDOWS\System32\SHELL32.dll)

ucrtbase.dll    A: 0x75D80000 - 0x75E9F000  (C:\WINDOWS\System32\ucrtbase.dll)

cfgmgr32.dll    A: 0x753D0000 - 0x7540B000  (C:\WINDOWS\System32\cfgmgr32.dll)

shcore.dll  A: 0x76FA0000 - 0x77024000  (C:\WINDOWS\System32\shcore.dll)

msvcrt.dll  A: 0x76D90000 - 0x76E4F000  (C:\WINDOWS\System32\msvcrt.dll)

RPCRT4.dll  A: 0x77030000 - 0x770F1000  (C:\WINDOWS\System32\RPCRT4.dll)

combase.dll A: 0x76020000 - 0x76296000  (C:\WINDOWS\System32\combase.dll)

bcryptPrimitives.dll    A: 0x750F0000 - 0x7514F000  (C:\WINDOWS\System32\bcryptPrimitives.dll)

windows.storage.dll A: 0x75410000 - 0x759D5000  (C:\WINDOWS\System32\windows.storage.dll)

msvcp_win.dll   A: 0x75D00000 - 0x75D7C000  (C:\WINDOWS\System32\msvcp_win.dll)

sechost.dll A: 0x77560000 - 0x775D6000  (C:\WINDOWS\System32\sechost.dll)

advapi32.dll    A: 0x75FA0000 - 0x76019000  (C:\WINDOWS\System32\advapi32.dll)

profapi.dll A: 0x750D0000 - 0x750E7000  (C:\WINDOWS\System32\profapi.dll)

powrprof.dll    A: 0x75080000 - 0x750C3000  (C:\WINDOWS\System32\powrprof.dll)

UMPDC.dll   A: 0x75050000 - 0x7505D000  (C:\WINDOWS\System32\UMPDC.dll)

shlwapi.dll A: 0x75F20000 - 0x75F64000  (C:\WINDOWS\System32\shlwapi.dll)

GDI32.dll   A: 0x76EB0000 - 0x76ED1000  (C:\WINDOWS\System32\GDI32.dll)

win32u.dll  A: 0x75AC0000 - 0x75ADC000  (C:\WINDOWS\System32\win32u.dll)

gdi32full.dll   A: 0x75170000 - 0x752CD000  (C:\WINDOWS\System32\gdi32full.dll)

USER32.dll  A: 0x77680000 - 0x777F8000  (C:\WINDOWS\System32\USER32.dll)

kernel.appcore.dll  A: 0x75070000 - 0x7507F000  (C:\WINDOWS\System32\kernel.appcore.dll)

cryptsp.dll A: 0x75150000 - 0x75163000  (C:\WINDOWS\System32\cryptsp.dll)

WSOCK32.dll A: 0x71830000 - 0x71838000  (C:\WINDOWS\SYSTEM32\WSOCK32.dll)

WS2_32.dll  A: 0x76EE0000 - 0x76F3E000  (C:\WINDOWS\System32\WS2_32.dll)

WINMM.dll   A: 0x73140000 - 0x73164000  (C:\WINDOWS\SYSTEM32\WINMM.dll)

WINMMBASE.dll   A: 0x73110000 - 0x73133000  (C:\WINDOWS\SYSTEM32\WINMMBASE.dll)

IMM32.DLL   A: 0x76450000 - 0x76476000  (C:\WINDOWS\System32\IMM32.DLL)

detoured.dll    A: 0x6FFB0000 - 0x6FFB6000  (C:\Program Files\Common Files\Crypto Pro\AppCompat\detoured.dll)

MSVCP100.dll    A: 0x63720000 - 0x63789000  (C:\WINDOWS\SYSTEM32\MSVCP100.dll)

MSVCR100.dll    A: 0x60140000 - 0x601FF000  (C:\WINDOWS\SYSTEM32\MSVCR100.dll)

SKY.DLL A: 0x6E2C0000 - 0x6E420000  (F:\Test\plugins\SKY.DLL)

PSAPI.DLL   A: 0x75F70000 - 0x75F76000  (C:\WINDOWS\System32\PSAPI.DLL)

mswsock.dll A: 0x749B0000 - 0x74A07000  (C:\WINDOWS\system32\mswsock.dll)

napinsp.dll A: 0x7AF60000 - 0x7AF71000  (C:\WINDOWS\system32\napinsp.dll)

pnrpnsp.dll A: 0x7AF80000 - 0x7AF96000  (C:\WINDOWS\system32\pnrpnsp.dll)

wshbth.dll  A: 0x508D0000 - 0x508E0000  (C:\WINDOWS\system32\wshbth.dll)

NLAapi.dll  A: 0x721B0000 - 0x721C6000  (C:\WINDOWS\system32\NLAapi.dll)

IPHLPAPI.DLL    A: 0x74740000 - 0x74772000  (C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL)

winrnr.dll  A: 0x51CB0000 - 0x51CBB000  (C:\WINDOWS\System32\winrnr.dll)

DNSAPI.dll  A: 0x74780000 - 0x74811000  (C:\WINDOWS\SYSTEM32\DNSAPI.dll)

NSI.dll A: 0x76340000 - 0x76347000  (C:\WINDOWS\System32\NSI.dll)

bcrypt.dll  A: 0x75AE0000 - 0x75AFB000  (C:\WINDOWS\System32\bcrypt.dll)

rasadhlp.dll    A: 0x6F710000 - 0x6F718000  (C:\Windows\System32\rasadhlp.dll)

uxtheme.dll A: 0x73870000 - 0x738ED000  (C:\WINDOWS\system32\uxtheme.dll)

PROPSYS.dll A: 0x72310000 - 0x723D5000  (C:\WINDOWS\SYSTEM32\PROPSYS.dll)

OLEAUT32.dll    A: 0x775E0000 - 0x77672000  (C:\WINDOWS\System32\OLEAUT32.dll)
NexiusTailer commented 4 years ago

As for the minimal code on which you can reproduce it, ok, wait a minute while I pack some necessary files.

ADRFranklin commented 4 years ago

Also when posting debug information, make sure you compile your script with debug flags.

NexiusTailer commented 4 years ago

Also when posting debug information, make sure you compile your script with debug flags.

This wasn't done in any cases shared... I'll take note of this, thanks.

NexiusTailer commented 4 years ago

If you could send me a MRE, of this so I could reproduce the issue, then I could hopefully solve it. But from that information, it doesn't seem like it's related to SKY

So, here it is: Test.zip

This time a excluded all the previous dependencies and compiled it in -d3 mode, then tested it again. The result keeps the same, but this time you can find more detailed logs (I didn't post them separately again not to clog the comments here).

ADRFranklin commented 4 years ago

What did you do to cause a crash? I am shooting myself, dying in a vehicle, setting my health to 0 and still no crash or issues yet?

ADRFranklin commented 4 years ago

I literally can not get this to crash???

NexiusTailer commented 4 years ago

First of all I have SAMP Addon to be able to double connect to a server from a few game windows (sandbox), but without having AFK in the window minimized with the first launched game while I playing from the second game window. So thus I connect to the server as Player1, jump out from the spawn to the ground having some falling damage like 4 hp which I see in the weapon-config's damage feed. Ok, then I minimize that window and connect to the server again as Player2. Spawn, jump to the ground having the same damage, but it seems just in this moment server crashes as nothing shows in the damage feed anymore. I minimize the Player2 game window and see my server is down. Something like that...

Important note: SAMP Addon works only if you connect to a local server (or Absolute RP for which it was designed), so the ability to have 2 game windows without AFK in any of those requires connection to 127.0.0.1

nutt3r commented 4 years ago

Also crashing on windows on. I tested using two PCs connecting to the server. The first shot on the player is registered and then the server crashes. I will be testing the linux build very shortly.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.DL-R1, (C)2005-2018 SA-MP Team

[18:59:07] 
[18:59:07] Server Plugins
[18:59:07] --------------
[18:59:07]  Loading plugin: crashdetect
[18:59:07]   CrashDetect plugin 4.19.4
[18:59:07]   Loaded.
[18:59:07]  Loading plugin: SKY
[18:59:07]   Loaded.
[18:59:07]  Loading plugin: sscanf
[18:59:07] 

[18:59:07]  ===============================

[18:59:07]       sscanf plugin loaded.     

[18:59:07]          Version:  2.8.2        

[18:59:07]    (c) 2012 Alex "Y_Less" Cole  

[18:59:07]  ===============================

[18:59:07]   Loaded.
[18:59:07]  Loaded 3 plugins.

[18:59:07] 
[18:59:07] Filterscripts
[18:59:07] ---------------
[18:59:07]   Loaded 0 filterscripts.

[18:59:07] AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()
[18:59:07] 
----------------------------------
[18:59:07]   Bare Script

[18:59:07] ----------------------------------

[18:59:07] Number of vehicle models: 0
[18:59:09] [connection] incoming connection: 127.0.0.1:55191 id: 0
[18:59:09] [join] Nutter has joined the server (0:127.0.0.1)
[18:59:09] (wc:0) Requested class: 0
[18:59:09] (wc:0) True death class selection
[18:59:11] [connection] incoming connection: 192.168.0.5:59244 id: 1
[18:59:11] [join] Idiot has joined the server (1:192.168.0.5)
[18:59:11] (wc:1) Requested class: 0
[18:59:11] (wc:1) True death class selection
[18:59:22] (wc:0) OnPlayerWeaponShot(0 shot with 24 at 1972.370117, 1323.215087, 15.467018)
[18:59:23] (wc:0) OnPlayerWeaponShot(0 shot with 24 at 1972.370117, 1323.658325, 15.775728)
[18:59:23] (wc:0) (shot) last: 715 last 3: -1
[18:59:23] (wc:0) OnPlayerWeaponShot(0 shot with 24 at 1972.437866, 1323.819702, 15.446828)
[18:59:23] (wc:0) (shot) last: 834 last 3: 774
[18:59:24] (wc:0) OnPlayerWeaponShot(0 shot with 24 at 1972.370117, 1322.922119, 15.009793)
[18:59:24] (wc:0) (shot) last: 720 last 3: 777
[18:59:25] (wc:0) OnPlayerWeaponShot(0 shot with 24 at 1972.370117, 1322.322265, 15.567679)
[18:59:25] (wc:0) (shot) last: 767 last 3: 743
[18:59:31] (wc:0) OnPlayerWeaponShot(0 shot 1 with 24 at -0.161743, 0.053100, 0.547645)
[18:59:31] (wc:0) (shot) last: 5657 last 3: 3212
[18:59:31] (wc:0) OnPlayerGiveDamage(0 gave 46.200000 to 1 using 24 on bodypart 3)
[18:59:31] (wc) InflictDamage(1, 46.2000, 0, 24, 3) length = 1.911705
[18:59:31] (wc) OnPlayerDamageDone(0 did 46.200000 to 1 with 24 on bodypart 3)
[18:59:31] [debug] Server crashed while executing sky.amx
[18:59:31] [debug] AMX backtrace:
[18:59:31] [debug] #0 native SetPlayerHealth () in samp-server.exe
[18:59:31] [debug] #1 000150c0 in UpdateHealthBar (playerid=1, bool:force=false) at D:\Users\Admin\Desktop\Pursuits.xyz\pursuits-server\pawno\include\weapon-config-latest.inc:4093
[18:59:31] [debug] #2 0001b404 in InflictDamage (playerid=1, Float:amount=46.20000, issuerid=0, weaponid=24, bodypart=3, bool:ignore_armour=false) at D:\Users\Admin\Desktop\Pursuits.xyz\pursuits-server\pawno\include\weapon-config-latest.inc:4852
[18:59:31] [debug] #3 0000df94 in public OnPlayerGiveDamage (playerid=0, damagedid=1, Float:amount=46.20000, weaponid=24, bodypart=3) at D:\Users\Admin\Desktop\Pursuits.xyz\pursuits-server\pawno\include\weapon-config-latest.inc:3265
[18:59:31] [debug] Native backtrace:
[18:59:31] [debug] #0 00493c57 in ?? () in samp-server.exe
[18:59:31] [debug] #1 6a1cdc92 in ?? () in plugins\crashdetect.DLL
[18:59:31] [debug] #2 6a1d5318 in ?? () in plugins\crashdetect.DLL
[18:59:31] [debug] #3 6a1c97cc in ?? () in plugins\crashdetect.DLL
[18:59:31] [debug] #4 6a1cdcf4 in ?? () in plugins\crashdetect.DLL
[18:59:31] [debug] #5 0046f0bc in ?? () in samp-server.exe
[18:59:31] [debug] #6 0049a245 in ?? () in samp-server.exe
[18:59:31] [debug] #7 6a1c92ef in ?? () in plugins\crashdetect.DLL
[18:59:31] [debug] #8 77e01f3e in ?? () in C:\Windows\SYSTEM32\ntdll.dll
[18:59:31] [debug] #9 0049f616 in ?? () in samp-server.exe
[18:59:31] [debug] #10 0049f638 in ?? () in samp-server.exe
[18:59:31] [debug] Registers:
[18:59:31] [debug] EAX: 0019f606 EBX: 00000002 ECX: 0248db40 EDX: ffffffff
[18:59:31] [debug] ESI: 02489c60 EDI: 00000009 EBP: 0049f61b ESP: 0019fa98
[18:59:31] [debug] EIP: 0049f638 EFLAGS: 00010202
[18:59:31] [debug] Stack:
[18:59:31] [debug] ESP+00000000: 0000002b 004a12fc 0000002b 00000001
[18:59:31] [debug] ESP+00000020: 0019fb78 00000000 00453627 0019fb89
[18:59:31] [debug] ESP+00000040: 0500a8c0 0019e76c 0019fb2c 0019fbfc
[18:59:31] [debug] ESP+00000060: 0248db01 0019fc58 004b1c6b 00000000
[18:59:31] [debug] ESP+00000080: 80010000 00000000 029e5c3a 029e5c38
[18:59:31] [debug] ESP+000000a0: 029e5bd8 029e5800 02a2b640 00000002
[18:59:31] [debug] ESP+000000c0: 00485e75 0019fb78 00000000 00485e89
[18:59:31] [debug] ESP+000000e0: 00000158 00000800 00000000 0019fb89
[18:59:31] [debug] ESP+00000100: ca417c29 3644f4cd 8c44a7ea 00417ec1
[18:59:31] [debug] ESP+00000120: 0019fc14 6a1c9805 0019fbec be25a000
[18:59:31] [debug] ESP+00000140: 029d15a0 00000000 00000000 0019fc40
[18:59:31] [debug] ESP+00000160: 00000000 0000001b 6a1fa78c 0019fc18
[18:59:31] [debug] ESP+00000180: 6a1cdcf4 0019fc84 0000001b 02a2b640
[18:59:31] [debug] ESP+000001a0: 0000001b 02a2b640 0019fb10 00000071
[18:59:31] [debug] ESP+000001c0: 0019fdb4 004b0ddb 00000000 0248db48
[18:59:31] [debug] ESP+000001e0: 004cd797 02489c60 0248db40 75fa1ab0
[18:59:31] [debug] ESP+00000200: 00495832 00495846 029e58f8 75fa1ab0
[18:59:31] [debug] ESP+00000220: 5a44f500 c544a80c ca417c29 3644f4cd
[18:59:31] [debug] ESP+00000240: 183f0c32 00000148 00000148 00000148
[18:59:31] [debug] ESP+00000260: 65636e75 00000000 00000000 00000000
[18:59:31] [debug] ESP+00000280: 00000000 00000000 00000000 00000000
[18:59:31] [debug] ESP+000002a0: 00000000 00000000 00000000 00000000
[18:59:31] [debug] ESP+000002c0: 00000000 00000000 00000000 00000000
[18:59:31] [debug] ESP+000002e0: 00000000 00000000 00000000 029e58f8
[18:59:31] [debug] ESP+00000300: 00000064 007e0a88 00000000 75fa3b40
[18:59:31] [debug] ESP+00000320: 004b107b ffffffff 6e2c3bd5 0248db40
[18:59:31] [debug] ESP+00000340: 00000000 0019fe8c 004a3af4 004c03b8
[18:59:31] [debug] ESP+00000360: 02489c60 75fa1ab0 00496979 75fa3b40
[18:59:31] [debug] ESP+00000380: 3b02715f 00492cab 00000000 000023f0
[18:59:31] [debug] ESP+000003a0: 0000000a 00001e61 0000026c 00004600
[18:59:31] [debug] ESP+000003c0: 004ca020 004ca01c 0037d000 004b1e20
[18:59:31] [debug] ESP+000003e0: 004c0558 ffffffff 004a1d61 004a1d71
[18:59:31] [debug] Loaded modules:
[18:59:31] [debug] 00400000 - 0051f000 samp-server.exe
[18:59:31] [debug] 77dc0000 - 77f5c000 ntdll.dll
[18:59:31] [debug] 75f80000 - 76060000 KERNEL32.DLL
[18:59:31] [debug] 77960000 - 77b59000 KERNELBASE.dll
[18:59:31] [debug] 6f810000 - 6f8ac000 apphelp.dll
[18:59:31] [debug] 757a0000 - 75cf3000 SHELL32.dll
[18:59:31] [debug] 754c0000 - 75580000 msvcrt.dll
[18:59:31] [debug] 761f0000 - 7622b000 cfgmgr32.dll
[18:59:31] [debug] 75670000 - 75792000 ucrtbase.dll
[18:59:31] [debug] 76060000 - 760e9000 shcore.dll
[18:59:31] [debug] 762b0000 - 7636f000 RPCRT4.dll
[18:59:31] [debug] 75420000 - 75440000 SspiCli.dll
[18:59:31] [debug] 75410000 - 7541a000 CRYPTBASE.dll
[18:59:31] [debug] 772f0000 - 77352000 bcryptPrimitives.dll
[18:59:31] [debug] 77d30000 - 77da9000 sechost.dll
[18:59:31] [debug] 75d00000 - 75f78000 combase.dll
[18:59:31] [debug] 76af0000 - 770ee000 windows.storage.dll
[18:59:31] [debug] 77bc0000 - 77c40000 msvcp_win.dll
[18:59:31] [debug] 76230000 - 762ae000 advapi32.dll
[18:59:31] [debug] 75440000 - 7545c000 profapi.dll
[18:59:31] [debug] 77260000 - 772b4000 powrprof.dll
[18:59:31] [debug] 77c40000 - 77c84000 shlwapi.dll
[18:59:31] [debug] 772c0000 - 772e3000 GDI32.dll
[18:59:31] [debug] 76920000 - 76a86000 gdi32full.dll
[18:59:31] [debug] 76780000 - 7691a000 USER32.dll
[18:59:31] [debug] 76440000 - 76457000 win32u.dll
[18:59:31] [debug] 765e0000 - 765ef000 kernel.appcore.dll
[18:59:31] [debug] 76420000 - 76432000 cryptsp.dll
[18:59:31] [debug] 70ce0000 - 70d04000 WINMM.dll
[18:59:31] [debug] 6a900000 - 6a908000 WSOCK32.dll
[18:59:31] [debug] 76720000 - 7677f000 WS2_32.dll
[18:59:31] [debug] 70a50000 - 70a73000 winmmbase.dll
[18:59:31] [debug] 766f0000 - 76715000 IMM32.DLL
[18:59:31] [debug] 6a1b0000 - 6a201000 crashdetect.DLL
[18:59:31] [debug] 6a140000 - 6a1a9000 MSVCP100.dll
[18:59:31] [debug] 023b0000 - 0246f000 MSVCR100.dll
[18:59:31] [debug] 6e2c0000 - 6e420000 SKY.DLL
[18:59:31] [debug] 77500000 - 77506000 PSAPI.DLL
[18:59:31] [debug] 10000000 - 1000f000 sscanf.DLL
[18:59:31] [debug] 6f1f0000 - 6f203000 VCRUNTIME140.dll
[18:59:31] [debug] 75200000 - 75252000 mswsock.dll
[18:59:31] [debug] 629c0000 - 629d1000 napinsp.dll
[18:59:31] [debug] 629a0000 - 629b6000 pnrpnsp.dll
[18:59:31] [debug] 73320000 - 733b0000 DNSAPI.dll
[18:59:31] [debug] 76ae0000 - 76ae7000 NSI.dll
[18:59:31] [debug] 732e0000 - 73313000 IPHLPAPI.DLL
[18:59:31] [debug] 641b0000 - 641bb000 winrnr.dll
[18:59:31] [debug] 6f9f0000 - 6fa06000 NLAapi.dll
[18:59:31] [debug] 62990000 - 629a0000 wshbth.dll
[18:59:31] [debug] 73270000 - 732c1000 fwpuclnt.dll
[18:59:31] [debug] 77240000 - 77259000 bcrypt.dll
[18:59:31] [debug] 732d0000 - 732d8000 rasadhlp.dll

--------------------------

SA-MP Server: 0.3.DL-R1

Exception At Address: 0x0049F638 Module: (samp-server.exe)

Registers:

EAX: 0x0019F606 EBX: 0x00000002 ECX: 0x0248DB40 EDX: 0xFFFFFFFF

ESI: 0x02489C60 EDI: 0x00000009 EBP: 0x0049F61B ESP: 0x0019FA98

EFLAGS: 0x00010202

Stack:

+0000: 0x0000002B   0x004A12FC   0x0000002B   0x00000001

+0010: 0x00452193   0x004521F6   0x0019FB78   0x0248DB48

+0020: 0x0019FB78   0x00000000   0x00453627   0x0019FB89

+0030: 0x00000158   0x00000001   0x00000007   0x00000001

+0040: 0x0500A8C0   0x0019E76C   0x0019FB2C   0x0019FBFC

+0050: 0x0019FC44   0x0019FC44   0x029E0108   0x0019FBFC

+0060: 0x0248DB01   0x0019FC58   0x004B1C6B   0x00000000

+0070: 0x00452120   0x0019FC40   0xE6668000   0x000C211C

+0080: 0x80010000   0x00000000   0x029E5C3A   0x029E5C38

+0090: 0x0248DB48   0x00000090   0x00000090   0x0000008D

+00A0: 0x029E5BD8   0x029E5800   0x02A2B640   0x00000002

+00B0: 0x00000001   0x0019FCB4   0xA8C0BA48   0xE76C0500

+00C0: 0x00485E75   0x0019FB78   0x00000000   0x00485E89

+00D0: 0x02489C60   0x0019FCDC   0x000000CE   0x00000000

+00E0: 0x00000158   0x00000800   0x00000000   0x0019FB89

+00F0: 0x0000CE01   0x49000101   0x5A44F500   0xC544A80C

+0100: 0xCA417C29   0x3644F4CD   0x8C44A7EA   0x00417EC1

+0110: 0x00BE25A0   0x803D5980   0x183F0C32   0x00000000

+0120: 0x0019FC14   0x6A1C9805   0x0019FBEC   0xBE25A000

+0130: 0x02A2B640   0x3D598000   0x80C6BFBD   0x00000001

--------------------------

Loaded Modules:

samp-server.exe A: 0x00400000 - 0x0051F000  (D:\Users\Admin\Downloads\skyTest\test\samp-server.exe)

ntdll.dll   A: 0x77DC0000 - 0x77F5C000  (C:\Windows\SYSTEM32\ntdll.dll)

KERNEL32.DLL    A: 0x75F80000 - 0x76060000  (C:\Windows\System32\KERNEL32.DLL)

KERNELBASE.dll  A: 0x77960000 - 0x77B59000  (C:\Windows\System32\KERNELBASE.dll)

apphelp.dll A: 0x6F810000 - 0x6F8AC000  (C:\Windows\SYSTEM32\apphelp.dll)

SHELL32.dll A: 0x757A0000 - 0x75CF3000  (C:\Windows\System32\SHELL32.dll)

msvcrt.dll  A: 0x754C0000 - 0x75580000  (C:\Windows\System32\msvcrt.dll)

cfgmgr32.dll    A: 0x761F0000 - 0x7622B000  (C:\Windows\System32\cfgmgr32.dll)

ucrtbase.dll    A: 0x75670000 - 0x75792000  (C:\Windows\System32\ucrtbase.dll)

shcore.dll  A: 0x76060000 - 0x760E9000  (C:\Windows\System32\shcore.dll)

RPCRT4.dll  A: 0x762B0000 - 0x7636F000  (C:\Windows\System32\RPCRT4.dll)

SspiCli.dll A: 0x75420000 - 0x75440000  (C:\Windows\System32\SspiCli.dll)

CRYPTBASE.dll   A: 0x75410000 - 0x7541A000  (C:\Windows\System32\CRYPTBASE.dll)

bcryptPrimitives.dll    A: 0x772F0000 - 0x77352000  (C:\Windows\System32\bcryptPrimitives.dll)

sechost.dll A: 0x77D30000 - 0x77DA9000  (C:\Windows\System32\sechost.dll)

combase.dll A: 0x75D00000 - 0x75F78000  (C:\Windows\System32\combase.dll)

windows.storage.dll A: 0x76AF0000 - 0x770EE000  (C:\Windows\System32\windows.storage.dll)

msvcp_win.dll   A: 0x77BC0000 - 0x77C40000  (C:\Windows\System32\msvcp_win.dll)

advapi32.dll    A: 0x76230000 - 0x762AE000  (C:\Windows\System32\advapi32.dll)

profapi.dll A: 0x75440000 - 0x7545C000  (C:\Windows\System32\profapi.dll)

powrprof.dll    A: 0x77260000 - 0x772B4000  (C:\Windows\System32\powrprof.dll)

shlwapi.dll A: 0x77C40000 - 0x77C84000  (C:\Windows\System32\shlwapi.dll)

GDI32.dll   A: 0x772C0000 - 0x772E3000  (C:\Windows\System32\GDI32.dll)

gdi32full.dll   A: 0x76920000 - 0x76A86000  (C:\Windows\System32\gdi32full.dll)

USER32.dll  A: 0x76780000 - 0x7691A000  (C:\Windows\System32\USER32.dll)

win32u.dll  A: 0x76440000 - 0x76457000  (C:\Windows\System32\win32u.dll)

kernel.appcore.dll  A: 0x765E0000 - 0x765EF000  (C:\Windows\System32\kernel.appcore.dll)

cryptsp.dll A: 0x76420000 - 0x76432000  (C:\Windows\System32\cryptsp.dll)

WINMM.dll   A: 0x70CE0000 - 0x70D04000  (C:\Windows\SYSTEM32\WINMM.dll)

WSOCK32.dll A: 0x6A900000 - 0x6A908000  (C:\Windows\SYSTEM32\WSOCK32.dll)

WS2_32.dll  A: 0x76720000 - 0x7677F000  (C:\Windows\System32\WS2_32.dll)

winmmbase.dll   A: 0x70A50000 - 0x70A73000  (C:\Windows\SYSTEM32\winmmbase.dll)

IMM32.DLL   A: 0x766F0000 - 0x76715000  (C:\Windows\System32\IMM32.DLL)

MSVCP100.dll    A: 0x6A140000 - 0x6A1A9000  (C:\Windows\SYSTEM32\MSVCP100.dll)

MSVCR100.dll    A: 0x023B0000 - 0x0246F000  (C:\Windows\SYSTEM32\MSVCR100.dll)

SKY.DLL A: 0x6E2C0000 - 0x6E420000  (D:\Users\Admin\Downloads\skyTest\test\plugins\SKY.DLL)

PSAPI.DLL   A: 0x77500000 - 0x77506000  (C:\Windows\System32\PSAPI.DLL)

sscanf.DLL  A: 0x10000000 - 0x1000F000  (D:\Users\Admin\Downloads\skyTest\test\plugins\sscanf.DLL)

VCRUNTIME140.dll    A: 0x6F1F0000 - 0x6F203000  (C:\Windows\SYSTEM32\VCRUNTIME140.dll)

mswsock.dll A: 0x75200000 - 0x75252000  (C:\Windows\system32\mswsock.dll)

napinsp.dll A: 0x629C0000 - 0x629D1000  (C:\Windows\system32\napinsp.dll)

pnrpnsp.dll A: 0x629A0000 - 0x629B6000  (C:\Windows\system32\pnrpnsp.dll)

DNSAPI.dll  A: 0x73320000 - 0x733B0000  (C:\Windows\SYSTEM32\DNSAPI.dll)

NSI.dll A: 0x76AE0000 - 0x76AE7000  (C:\Windows\System32\NSI.dll)

IPHLPAPI.DLL    A: 0x732E0000 - 0x73313000  (C:\Windows\SYSTEM32\IPHLPAPI.DLL)

winrnr.dll  A: 0x641B0000 - 0x641BB000  (C:\Windows\System32\winrnr.dll)

NLAapi.dll  A: 0x6F9F0000 - 0x6FA06000  (C:\Windows\system32\NLAapi.dll)

wshbth.dll  A: 0x62990000 - 0x629A0000  (C:\Windows\system32\wshbth.dll)

bcrypt.dll  A: 0x77240000 - 0x77259000  (C:\Windows\System32\bcrypt.dll)

rasadhlp.dll    A: 0x732D0000 - 0x732D8000  (C:\Windows\System32\rasadhlp.dll)
nutt3r commented 4 years ago

No crashes yet on Linux. I have tested KEY_NO, and damaging other players. I can spawn in the world just fine and vehicles are being created too.

However, a problem we discussed back in September is back in the latest build where players would disappear for a few milliseconds after taking damage.

Moreover, on the windows version, I had to move around after a vehicle was created on the server as it wasn't created for my client. I am not sure if that is the default behaviour or not.

NexiusTailer commented 4 years ago

Can I help with something, thereby giving a better understanding of the reasons for this behavior on windows server? I can assume that the main problem is that you still doesn't have the ability to reproduce it locally so any debug version provided me for testing or other help from my side won't bother me.

ADRFranklin commented 4 years ago

I found another issue, but I was away on Business the last few days, so haven't been able to work on it. I got back tonight and I will take a look at the issue again tomorrow.

ADRFranklin commented 4 years ago

I am trying to fix this, I have a rough idea of the problem, but all my attempts to solve it have failed so far. It's definitely related to memory corruption, but since the output gives random output which makes it very hard to narrow down the exact issue.

I am working on it, and hope to get it fixed by the end of the week.

ADRFranklin commented 4 years ago

Could you guys try these? Hopefully this has fixed the issue I found on Windows.

release-linux.tar.gz release-windows.zip

nutt3r commented 4 years ago

Both archives only have the version for linux.

I have briefly tested the linux version on 0.3.DL and found that keys Y & N are now being detected as a passenger in a vehicle. The issue where players would 'disappear' for half a second appears to have been resolved too.

I look forward into testing this on my live server this weekend.

ADRFranklin commented 4 years ago

lol, stupid me. :D

Here you go, the windows version. release-windows.zip

ADRFranklin commented 4 years ago

This has now been solved with the latest release.