Clients crash randomly -
andrejc999 - 02.06.2018
Hello everyone,
So I've been making a Roleplay server for past 2 years (I said this 100 times) and recently I've discovered a small issue. While people play on my server, from time to time their SAMP crashes randomly without any reasons. I tried to look for the CRASH code and I can't find it anywhere. I tried literally everything I could to optimize my script and to make the crashes to stop. I think I made it better in some ways but there are still some random crashes happening.
I'm using the following plugins:
streamer, sscanf, TDE, MapAndreas, pawncmd,
and they are positioned just like this in my server.cfg file. Is there anything I can do to fix this or should I just reconcile myself with the fact that it's gonna continue to happen?
Any help is appreciated,
Thanks in advanced
EDIT:
There following are my includes:
#include <a_samp>
#include <a_players>
#include <crashdetect>
#include <YSI\y_iterate>
#include <YSI\y_timers>
#include <sscanf2>
#include <OnPlayerUseVending>
#include <fly>
#include <mapandreas>
#include <strlib>
#include <Dini2>
#include <streamer>
#include <PawnCMD>
#include <DialogCenter>
Should I maybe try to merge some of them into my GM?
Re: Clients crash randomly -
HoNEYKISS - 02.06.2018
Has this ever happened to you?
Re: Clients crash randomly -
andrejc999 - 02.06.2018
Yep, but not as many times as it has happened to others. And I'm using a home-network (I forwarded a port) for testing purposes.
Re: Clients crash randomly -
HoNEYKISS - 02.06.2018
Next time it happens copy the error code and give it to us.Also try adding this plugin to see if you have any errors
https://sampforum.blast.hk/showthread.php?tid=262796
Re: Clients crash randomly -
andrejc999 - 02.06.2018
I already have crashdetect, this is what it wrote some time ago:
Code:
Loaded Modules:
samp-server.exe A: 0x00400000 - 0x00519000 (F:\Games\Samp server\samp-server.exe)
ntdll.dll A: 0x77C70000 - 0x77DF0000 (C:\Windows\SysWOW64\ntdll.dll)
kernel32.dll A: 0x75D20000 - 0x75E30000 (C:\Windows\syswow64\kernel32.dll)
KERNELBASE.dll A: 0x773F0000 - 0x77437000 (C:\Windows\syswow64\KERNELBASE.dll)
SHELL32.dll A: 0x763A0000 - 0x76FEC000 (C:\Windows\syswow64\SHELL32.dll)
msvcrt.dll A: 0x75920000 - 0x759CC000 (C:\Windows\syswow64\msvcrt.dll)
SHLWAPI.dll A: 0x76070000 - 0x760C7000 (C:\Windows\syswow64\SHLWAPI.dll)
GDI32.dll A: 0x75ED0000 - 0x75F60000 (C:\Windows\syswow64\GDI32.dll)
USER32.dll A: 0x77700000 - 0x77800000 (C:\Windows\syswow64\USER32.dll)
ADVAPI32.dll A: 0x77330000 - 0x773D1000 (C:\Windows\syswow64\ADVAPI32.dll)
sechost.dll A: 0x755F0000 - 0x75609000 (C:\Windows\SysWOW64\sechost.dll)
RPCRT4.dll A: 0x759D0000 - 0x75AC0000 (C:\Windows\syswow64\RPCRT4.dll)
SspiCli.dll A: 0x75520000 - 0x75580000 (C:\Windows\syswow64\SspiCli.dll)
CRYPTBASE.dll A: 0x75510000 - 0x7551C000 (C:\Windows\syswow64\CRYPTBASE.dll)
LPK.dll A: 0x75F90000 - 0x75F9A000 (C:\Windows\syswow64\LPK.dll)
USP10.dll A: 0x75C30000 - 0x75CCD000 (C:\Windows\syswow64\USP10.dll)
WSOCK32.dll A: 0x728F0000 - 0x728F7000 (C:\Windows\system32\WSOCK32.dll)
WS2_32.dll A: 0x758E0000 - 0x75915000 (C:\Windows\syswow64\WS2_32.dll)
NSI.dll A: 0x77440000 - 0x77446000 (C:\Windows\syswow64\NSI.dll)
WINMM.dll A: 0x72700000 - 0x72732000 (C:\Windows\system32\WINMM.dll)
IMM32.DLL A: 0x75580000 - 0x755E0000 (C:\Windows\system32\IMM32.DLL)
MSCTF.dll A: 0x75FA0000 - 0x7606D000 (C:\Windows\syswow64\MSCTF.dll)
streamer.DLL A: 0x60730000 - 0x60787000 (F:\Games\Samp server\plugins\streamer.DLL)
MSVCP140.dll A: 0x5F210000 - 0x5F27C000 (C:\Windows\system32\MSVCP140.dll)
VCRUNTIME140.dll A: 0x60710000 - 0x60724000 (C:\Windows\system32\VCRUNTIME140.dll)
api-ms-win-crt-runtime-l1-1-0.dll A: 0x60DD0000 - 0x60DD4000 (C:\Windows\system32\api-ms-win-crt-runtime-l1-1-0.dll)
ucrtbase.DLL A: 0x5DCF0000 - 0x5DDD1000 (C:\Windows\system32\ucrtbase.DLL)
api-ms-win-core-timezone-l1-1-0.dll A: 0x731B0000 - 0x731B3000 (C:\Windows\system32\api-ms-win-core-timezone-l1-1-0.dll)
api-ms-win-core-file-l2-1-0.dll A: 0x60DC0000 - 0x60DC3000 (C:\Windows\system32\api-ms-win-core-file-l2-1-0.dll)
api-ms-win-core-localization-l1-2-0.dll A: 0x60DB0000 - 0x60DB3000 (C:\Windows\system32\api-ms-win-core-localization-l1-2-0.dll)
api-ms-win-core-synch-l1-2-0.dll A: 0x739A0000 - 0x739A3000 (C:\Windows\system32\api-ms-win-core-synch-l1-2-0.dll)
api-ms-win-core-processthreads-l1-1-1.dll A: 0x60700000 - 0x60703000 (C:\Windows\system32\api-ms-win-core-processthreads-l1-1-1.dll)
api-ms-win-core-file-l1-2-0.dll A: 0x60560000 - 0x60563000 (C:\Windows\system32\api-ms-win-core-file-l1-2-0.dll)
api-ms-win-crt-string-l1-1-0.dll A: 0x60550000 - 0x60554000 (C:\Windows\system32\api-ms-win-crt-string-l1-1-0.dll)
api-ms-win-crt-heap-l1-1-0.dll A: 0x5FD10000 - 0x5FD13000 (C:\Windows\system32\api-ms-win-crt-heap-l1-1-0.dll)
api-ms-win-crt-stdio-l1-1-0.dll A: 0x5FD00000 - 0x5FD04000 (C:\Windows\system32\api-ms-win-crt-stdio-l1-1-0.dll)
api-ms-win-crt-convert-l1-1-0.dll A: 0x5F1F0000 - 0x5F1F4000 (C:\Windows\system32\api-ms-win-crt-convert-l1-1-0.dll)
api-ms-win-crt-locale-l1-1-0.dll A: 0x5F200000 - 0x5F203000 (C:\Windows\system32\api-ms-win-crt-locale-l1-1-0.dll)
api-ms-win-crt-math-l1-1-0.dll A: 0x5F1D0000 - 0x5F1D5000 (C:\Windows\system32\api-ms-win-crt-math-l1-1-0.dll)
api-ms-win-crt-multibyte-l1-1-0.dll A: 0x5F1E0000 - 0x5F1E5000 (C:\Windows\system32\api-ms-win-crt-multibyte-l1-1-0.dll)
api-ms-win-crt-time-l1-1-0.dll A: 0x5F1B0000 - 0x5F1B3000 (C:\Windows\system32\api-ms-win-crt-time-l1-1-0.dll)
api-ms-win-crt-filesystem-l1-1-0.dll A: 0x5F1C0000 - 0x5F1C3000 (C:\Windows\system32\api-ms-win-crt-filesystem-l1-1-0.dll)
api-ms-win-crt-environment-l1-1-0.dll A: 0x5F190000 - 0x5F193000 (C:\Windows\system32\api-ms-win-crt-environment-l1-1-0.dll)
api-ms-win-crt-utility-l1-1-0.dll A: 0x5F1A0000 - 0x5F1A3000 (C:\Windows\system32\api-ms-win-crt-utility-l1-1-0.dll)
sscanf.DLL A: 0x003F0000 - 0x003FF000 (F:\Games\Samp server\plugins\sscanf.DLL)
TDE.DLL A: 0x5F150000 - 0x5F16B000 (F:\Games\Samp server\plugins\TDE.DLL)
MSVCR100D.dll A: 0x5DB70000 - 0x5DCE2000 (F:\Games\Samp server\MSVCR100D.dll)
TBR.DLL A: 0x5DEA0000 - 0x5DEC3000 (F:\Games\Samp server\plugins\TBR.DLL)
MSVCR120D.dll A: 0x5D9B0000 - 0x5DB6F000 (F:\Games\Samp server\MSVCR120D.dll)
MSVCP120D.dll A: 0x5D8E0000 - 0x5D9A9000 (F:\Games\Samp server\MSVCP120D.dll)
MapAndreas.DLL A: 0x01DC0000 - 0x01DD0000 (F:\Games\Samp server\plugins\MapAndreas.DLL)
mswsock.dll A: 0x73730000 - 0x7376C000 (C:\Windows\system32\mswsock.dll)
wshtcpip.dll A: 0x73710000 - 0x73715000 (C:\Windows\System32\wshtcpip.dll)
NLAapi.dll A: 0x72FF0000 - 0x73000000 (C:\Windows\system32\NLAapi.dll)
napinsp.dll A: 0x6CD70000 - 0x6CD80000 (C:\Windows\system32\napinsp.dll)
pnrpnsp.dll A: 0x6CD50000 - 0x6CD62000 (C:\Windows\system32\pnrpnsp.dll)
DNSAPI.dll A: 0x73920000 - 0x73964000 (C:\Windows\system32\DNSAPI.dll)
winrnr.dll A: 0x6CD40000 - 0x6CD48000 (C:\Windows\System32\winrnr.dll)
IPHLPAPI.DLL A: 0x73A80000 - 0x73A9C000 (C:\Windows\system32\IPHLPAPI.DLL)
WINNSI.DLL A: 0x73A70000 - 0x73A77000 (C:\Windows\system32\WINNSI.DLL)
rasadhlp.dll A: 0x73910000 - 0x73916000 (C:\Windows\system32\rasadhlp.dll)
--------------------------
SA-MP Server: 0.3.7-R2
Exception At Address: 0x10001080 Module: (Unknown)
Registers:
EAX: 0x0018F9E0 EBX: 0x00BA9100 ECX: 0xF0725360 EDX: 0x00000400
ESI: 0x0085ECC0 EDI: 0x00BA95E4 EBP: 0x0018FDE0 ESP: 0x0018F9B8
EFLAGS: 0x00010202
Stack:
+0000: 0x5F2A8A74 0x5F2D551C 0x0018F9E0 0x00000004
+0010: 0x00000000 0x0018F9E0 0x00000400 0x5F2D759C
+0020: 0x00000000 0x0018FDEC 0x2A2A0A0A 0x7453202A
+0030: 0x6D616572 0x50207265 0x6967756C 0x3276206E
+0040: 0x302E392E 0x20796220 0x6F636E49 0x74696E67
+0050: 0x6E75206F 0x64616F6C 0x2A206465 0x000A2A2A
+0060: 0x023E0000 0x0240FBD0 0x000002C4 0x00000244
+0070: 0x02410000 0x023E00C4 0x0240FBD8 0x023E2EE0
+0080: 0x0240FBD0 0x00001000 0x0018FA84 0x77CC63A3
+0090: 0x023E0000 0x00041538 0x023E012C 0x77CBEF64
+00A0: 0x023E0000 0x00000000 0x024133D0 0x00000000
+00B0: 0x81000889 0x00000000 0x02413BD8 0x02431680
+00C0: 0x02467660 0x00003B00 0x023E0000 0x00000000
+00D0: 0x024133D0 0x0018FB7C 0x77CA3071 0x023E0138
+00E0: 0x77CA304D 0x77B3799C 0x00000000 0x023E0000
+00F0: 0x024133D8 0x0018FAF0 0x0018FB04 0x00004000
+0100: 0x00BA0000 0x008D92B0 0x77C8FB9A 0x023E0000
+0110: 0x023E2E98 0x00000000 0x06000006 0x023E2EE0
+0120: 0x023E2EB0 0x023E11F8 0x023E00C4 0x00000030
+0130: 0x023E0000 0x023E0000 0x023E0000 0x023E2D80
//Another one
Exception At Address: 0x10001080 Module: (Unknown)
Registers:
EAX: 0x0018F9E0 EBX: 0x003F9100 ECX: 0x55868405 EDX: 0x00000400
ESI: 0x020CECC0 EDI: 0x003F95E4 EBP: 0x0018FDE0 ESP: 0x0018F9B8
EFLAGS: 0x00010202
Stack:
+0000: 0x5F2A8A74 0x5F2D551C 0x0018F9E0 0x00000004
+0010: 0x00000000 0x0018F9E0 0x00000400 0x5F2D759C
+0020: 0x00000000 0x0018FDEC 0x2A2A0A0A 0x7453202A
+0030: 0x6D616572 0x50207265 0x6967756C 0x3276206E
+0040: 0x302E392E 0x20796220 0x6F636E49 0x74696E67
+0050: 0x6E75206F 0x64616F6C 0x2A206465 0x000A2A2A
+0060: 0x00000000 0x00800002 0x00000008 0x0213C948
+0070: 0x0213C948 0x0213C943 0x00000000 0x00000000
+0080: 0x003F0000 0x09000000 0x0018F988 0x00000000
+0090: 0x0018FB18 0x77CE4DCD 0x007F93E3 0xFFFFFFFE
+00A0: 0x77CA3476 0x77CA34A1 0x000001F8 0x00000200
+00B0: 0x0213C942 0x0213C940 0x00078000 0x020B00B8
+00C0: 0x00000009 0x00000000 0x00000000 0x00000000
+00D0: 0x00000000 0x00000000 0x00000000 0x00000000
+00E0: 0x00000000 0x00000000 0x77C8FB9A 0x77CA41F2
+00F0: 0xFFFFFFFF 0x0018FAF0 0x0018FB04 0x00004000
+0100: 0x003F0000 0x02124CC8 0x00100000 0x023C0000
+0110: 0x023C2E98 0x00000000 0x06000006 0x003F0000
+0120: 0x023C2EB0 0x023C11F8 0x023C00C4 0x00000030
+0130: 0x023C0000 0x023C0000 0x023C0000 0x023C2D80
There is an exception at address (I think every time we play on the server), but idk what it means, I should probably go and read some posts about it (if there are any). Try to figure out what's going on

.
EDIT:
Just to mention, I added over 8.000 objects to my server but I don't think that's the problem tho, because I'm using an object streamer.
Re: Clients crash randomly -
andrejc999 - 03.06.2018
Sorry for bumping before 24 hours have past but I need help.
Re: Clients crash randomly -
andrejc999 - 04.06.2018
Last crash report:
Code:
SA-MP 0.3.7
Exception At Address: 0x004AA4FA
Base: 0x03E70000
Registers:
EAX: 0x00000000 EBX: 0x3D4CCCCD ECX: 0x0000001E EDX: 0x0B8BC600
ESI: 0xBF800000 EDI: 0x0028F968 EBP: 0x0028F944 ESP: 0x0028F8D4
EFLAGS: 0x00010206
Stack:
+0000: 0x00000000 0x31400000 0x0028F9C0 0x0028FA08
+0010: 0x3F800000 0x0B8BC600 0x0049F2D8 0x0028F950
+0020: 0x0028F944 0x3D4CCCCD 0x0028F968 0xBF800000
+0030: 0x3F99999A 0x00000000 0x00000000 0x00000008
+0040: 0x31400000 0x00B73710 0xBD470585 0x0000379E
+0050: 0x3F800000 0x3E4CCCCD 0xBF5133E5 0xBF11F462
+0060: 0x3DCCCCD1 0xBD1E3F31 0xBCDAEC79 0x30D33334
+0070: 0xC05F5AF1 0xC01BD414 0x3EBE0557 0x44B56BAF
+0080: 0xC4C89CE5 0x4145C01A 0xBF16BD83 0xBACA2300
+0090: 0x30D33334 0x3F800000 0x3F800000 0x3F800000
+00A0: 0x3F800000 0x3F800000 0x00000000 0x3F4CCCCD
+00B0: 0x00545958 0xBDCCCCCD 0xBDCCCCCD 0x4088A8C0
+00C0: 0x00000001 0xBDCCCCCD 0xBD470585 0x31400000
+00D0: 0x3F800000 0x3DCCCCCD 0xBDCCCCCD 0x0B5A31E8
+00E0: 0x0B2B46C8 0x00B73710 0x00000000 0xBF528A1B
+00F0: 0xBF11A22E 0x3DCCCCD1 0xBF528A1B 0xBF11A22E
+0100: 0x330C7ED9 0x3F10EDE4 0xBF530661 0xB2D491BE
+0110: 0xBDB165ED 0xBD71CC73 0x3D96AA28 0x0B5A31E8
+0120: 0x3D6F3E92 0x30F0FECE 0xBD8FDC5B 0xBD470585
+0130: 0x31400000 0x44B56A73 0xC4C89DC0 0x4145C01A
+0140: 0x0054CCEA 0x4088A8C0 0x00002953 0x00000059
+0150: 0x0B2B46C8 0x0000001B 0x00000059 0x0000FA38
+0160: 0x413BF713 0x40000000 0xBF800000 0x01000000
+0170: 0x3FEFFC11 0x0000002F 0x44B58133 0x00000001
+0180: 0x3F9FBA05 0x00000001 0x00B99B6C 0x413BF713
+0190: 0xBC685CDE 0x3CA87BA0 0x302A678D 0x30B07121
+01A0: 0x00000000 0x3CF0986A 0x3F7FE08C 0x0028FA94
+01B0: 0x1C7F4268 0x0A3ABD48 0x12F993C8 0x3F800000
+01C0: 0x3C9A0000 0xBCD20000 0x007EB862 0x0028FABC
+01D0: 0x3F800000 0x12F993C8 0x03FC3910 0x3D37E3DD
+01E0: 0xBEEDB3B1 0x3F6238BF 0x00000000 0x3F800000
+01F0: 0x00000000 0x00000001 0x006B7F57 0x12F993C8
+0200: 0x008D2338 0xBB324C44 0x00000002 0x0A47F6C8
+0210: 0x3FB81605 0x00000002 0x00B73458 0x01288A26
+0220: 0x3F800000 0x00000000 0xBFFB05A7 0x00B99B64
+0230: 0x0A37DA44 0x000035D3 0x00000000 0x3FFB05A7
+0240: 0x00000000 0x0B2B46C8 0x00000003 0x0042D084
+0250: 0x00B99C28 0x0B2B46C8 0x44B57DEE 0xC4C89304
+0260: 0x414F13D2 0x00542B01 0x0028FB4C 0x0028FB58
+0270: 0x0028FB68 0x0B2B46C8 0x3D1A12C5 0x3CD49F50
SCM Op: 0x248, lDbg: 0 LastRendObj: 983
Game Version: US 1.0
State Information: Ped Context: 0
P1 (0,0) P2 (0,0) P3 (19,302)