SA-MP Forums Archive
Server Closing / Crashing - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Server Closing / Crashing (/showthread.php?tid=633576)



Server Closing / Crashing - ManIsHere - 03.05.2017

Hello. i downloaded a script from Forums and Compiled. it compiled with no errors but idk, when a player does any command, the server crashes.

Here is the latest log.
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[22:42:58] filterscripts = ""  (string)
[22:42:58] 
[22:42:58] Server Plugins
[22:42:58] --------------
[22:42:58]  Loading plugin: sscanf
[22:42:58] 

[22:42:58]  ===============================

[22:42:58]       sscanf plugin loaded.     

[22:42:58]    © 2009 Alex "******" Cole

[22:42:58]    0.3d-R2 500 Players "dnee"

[22:42:58]  ===============================

[22:42:58]   Loaded.
[22:42:58]  Loading plugin: streamer
[22:42:58] 

*** Streamer Plugin v2.5.2 by Incognito loaded ***

[22:42:58]   Loaded.
[22:42:58]  Loading plugin: nativechecker
[22:42:58]   Loaded.
[22:42:58]  Loaded 3 plugins.

[22:42:58] 
[22:42:58] Filterscripts
[22:42:58] ---------------
[22:42:58]   Loaded 0 filterscripts.

[22:42:58]  
[22:42:58]  ======================================= 
[22:42:58]  |                                     | 
[22:42:58]  |        YSI version 1.04.0000        | 
[22:42:58]  |        By Alex "******" Cole        | 
[22:42:58]  |                                     | 
[22:42:58]  ======================================= 
[22:42:58]  
[22:42:58] Iter_OnGameModeInit start: 500
[22:42:58] Iter_OnGameModeInit: first
[22:42:58] 
----------------------------------
[22:42:58]  <SHOCK> Roleplay by Alex Shock
[22:42:58] ----------------------------------

[22:42:58] Number of vehicle models: 71
[22:43:28] [connection] 127.0.0.1:52526 requests connection cookie.
[22:43:29] Incoming connection: 127.0.0.1:52526 id: 0
[22:43:29] [join] Jimmy_Kudo has joined the server (0:127.0.0.1)
[22:43:29] Iter_OnPlayerConnect: 0
[22:43:29] Iter_OnPlayerConnect end
BTW: if you want the link to the GM, its here: https://sampforum.blast.hk/showthread.php?tid=403553
idk what is wrong. please help me. i have not editied a single line of code.

EDIT:
i downloaded latest Streamer and sscanf plugins and re-compiled the server. Now, Crashinfo.txt has some information.

Код:

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

SA-MP Server: 0.3.7



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



Registers:

EAX: 0x00000024	EBX: 0x0000005B	ECX: 0x00000020	EDX: 0x00272000

ESI: 0x00000000	EDI: 0x03B8D040	EBP: 0x00000000	ESP: 0x0019F778

EFLAGS: 0x00010202



Stack:

+0000: 0x0000005B   0x00000000   0x03B8D010   0x0019F7A0

+0010: 0x0000001A   0x0040578F   0x00000001   0x00BF9440

+0020: 0x029276C0   0x0000002B   0x0019F800   0x004010B6

+0030: 0x029276C0   0x03B8D040   0x00000001   0x5016BF13

+0040: 0x029276C0   0x0000001A   0x0019F874   0x03B8D010

+0050: 0x50184588   0x00BF61D0   0x0019F7E0   0x037D2D2C

+0060: 0x029276C0   0x00000001   0x00000000   0x029276C0

+0070: 0x003AE18C   0x0007CE78   0x0000001A   0x5017AE4B

+0080: 0xFFFFFFFF   0x0019F814   0x0019F814   0x50173C32

+0090: 0x0000001A   0x0019F874   0x03B8D010   0x0019F86C

+00A0: 0x50176076   0x029276C0   0x0000001A   0x0019F874

+00B0: 0x03B8D010   0x00000036   0x00BF9440   0x00000000

+00C0: 0x00089270   0x03753020   0x00000000   0x00000000

+00D0: 0x00000000   0x03755EB4   0x003AA5BC   0x003AE5AC

+00E0: 0x037DF124   0x003AA5BC   0x003AE18C   0x003ADECC

+00F0: 0x003ADEEC   0x0019F8B8   0x5016C05A   0x00000001

+0100: 0x0019F90C   0x00000036   0x50184588   0x00BF5FB0

+0110: 0x0019F898   0x0019F938   0x029276C0   0x00000002

+0120: 0x00000001   0x029276C0   0x00000000   0x00000008

+0130: 0x00000036   0x5017AE4B   0xFFFFFFFF   0x0019F8C8



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



Loaded Modules:

samp-server.exe	A: 0x00400000 - 0x004FA000	(E:\Samp servers\Scratch Roleplay\RP by Shock\samp-server.exe)

ntdll.dll	A: 0x77770000 - 0x778FE000	(C:\WINDOWS\SYSTEM32\ntdll.dll)

KERNEL32.DLL	A: 0x77410000 - 0x774E0000	(C:\WINDOWS\System32\KERNEL32.DLL)

KERNELBASE.dll	A: 0x74CA0000 - 0x74E62000	(C:\WINDOWS\System32\KERNELBASE.dll)

SHELL32.dll	A: 0x75430000 - 0x76778000	(C:\WINDOWS\System32\SHELL32.dll)

msvcrt.dll	A: 0x775A0000 - 0x7765D000	(C:\WINDOWS\System32\msvcrt.dll)

cfgmgr32.dll	A: 0x76D40000 - 0x76D79000	(C:\WINDOWS\System32\cfgmgr32.dll)

ucrtbase.dll	A: 0x743D0000 - 0x744E8000	(C:\WINDOWS\System32\ucrtbase.dll)

shcore.dll	A: 0x77330000 - 0x773BC000	(C:\WINDOWS\System32\shcore.dll)

RPCRT4.dll	A: 0x774E0000 - 0x775A0000	(C:\WINDOWS\System32\RPCRT4.dll)

SspiCli.dll	A: 0x74240000 - 0x74260000	(C:\WINDOWS\System32\SspiCli.dll)

CRYPTBASE.dll	A: 0x74230000 - 0x7423A000	(C:\WINDOWS\System32\CRYPTBASE.dll)

bcryptPrimitives.dll	A: 0x74910000 - 0x74967000	(C:\WINDOWS\System32\bcryptPrimitives.dll)

sechost.dll	A: 0x74FB0000 - 0x74FF1000	(C:\WINDOWS\System32\sechost.dll)

combase.dll	A: 0x76990000 - 0x76BC8000	(C:\WINDOWS\System32\combase.dll)

windows.storage.dll	A: 0x76D80000 - 0x77304000	(C:\WINDOWS\System32\windows.storage.dll)

advapi32.dll	A: 0x77690000 - 0x77707000	(C:\WINDOWS\System32\advapi32.dll)

shlwapi.dll	A: 0x76780000 - 0x767C5000	(C:\WINDOWS\System32\shlwapi.dll)

GDI32.dll	A: 0x77660000 - 0x77681000	(C:\WINDOWS\System32\GDI32.dll)

gdi32full.dll	A: 0x74970000 - 0x74AC9000	(C:\WINDOWS\System32\gdi32full.dll)

msvcp_win.dll	A: 0x74B30000 - 0x74BA9000	(C:\WINDOWS\System32\msvcp_win.dll)

USER32.dll	A: 0x74E70000 - 0x74FAC000	(C:\WINDOWS\System32\USER32.dll)

win32u.dll	A: 0x76800000 - 0x76816000	(C:\WINDOWS\System32\win32u.dll)

kernel.appcore.dll	A: 0x74AD0000 - 0x74ADE000	(C:\WINDOWS\System32\kernel.appcore.dll)

powrprof.dll	A: 0x773C0000 - 0x77405000	(C:\WINDOWS\System32\powrprof.dll)

profapi.dll	A: 0x77320000 - 0x77330000	(C:\WINDOWS\System32\profapi.dll)

WSOCK32.dll	A: 0x741E0000 - 0x741E8000	(C:\WINDOWS\SYSTEM32\WSOCK32.dll)

WS2_32.dll	A: 0x742C0000 - 0x74327000	(C:\WINDOWS\System32\WS2_32.dll)

WINMM.dll	A: 0x73ED0000 - 0x73EF4000	(C:\WINDOWS\SYSTEM32\WINMM.dll)

WINMMBASE.dll	A: 0x73E70000 - 0x73E93000	(C:\WINDOWS\SYSTEM32\WINMMBASE.dll)

IMM32.DLL	A: 0x767D0000 - 0x767F5000	(C:\WINDOWS\System32\IMM32.DLL)

sscanf.DLL	A: 0x10000000 - 0x1000D000	(E:\Samp servers\Scratch Roleplay\RP by Shock\plugins\sscanf.DLL)

MSVCR100.dll	A: 0x5F8D0000 - 0x5F98F000	(C:\WINDOWS\SYSTEM32\MSVCR100.dll)

streamer.DLL	A: 0x50190000 - 0x501CF000	(E:\Samp servers\Scratch Roleplay\RP by Shock\plugins\streamer.DLL)

MSVCP100.dll	A: 0x5F990000 - 0x5F9F9000	(C:\WINDOWS\SYSTEM32\MSVCP100.dll)

mswsock.dll	A: 0x6B900000 - 0x6B94E000	(C:\WINDOWS\system32\mswsock.dll)

napinsp.dll	A: 0x6B8E0000 - 0x6B8F1000	(C:\WINDOWS\system32\napinsp.dll)

pnrpnsp.dll	A: 0x6B890000 - 0x6B8A6000	(C:\WINDOWS\system32\pnrpnsp.dll)

NLAapi.dll	A: 0x73950000 - 0x73963000	(C:\WINDOWS\system32\NLAapi.dll)

DNSAPI.dll	A: 0x69990000 - 0x69A0F000	(C:\WINDOWS\SYSTEM32\DNSAPI.dll)

NSI.dll	A: 0x76D30000 - 0x76D37000	(C:\WINDOWS\System32\NSI.dll)

IPHLPAPI.DLL	A: 0x72690000 - 0x726BF000	(C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL)

winrnr.dll	A: 0x70960000 - 0x7096B000	(C:\WINDOWS\System32\winrnr.dll)

bcrypt.dll	A: 0x73DE0000 - 0x73DF8000	(C:\WINDOWS\SYSTEM32\bcrypt.dll)

rasadhlp.dll	A: 0x68B70000 - 0x68B78000	(C:\Windows\System32\rasadhlp.dll)



Re: Server Closing / Crashing - Astralis - 03.05.2017

Use crashdetect with -d3


Re: Server Closing / Crashing - ManIsHere - 03.05.2017

Quote:
Originally Posted by Astralis
Посмотреть сообщение
Use crashdetect with -d3
i edited my first post. also, how to use it with -d3?

Thank you so much for replying to me.


Re: Server Closing / Crashing - Astralis - 03.05.2017

Create a pawn.cfg file in pawn folder. In that file write -d3 and save.

Use the plugin and #include crashdetect on your script to get more info about crashes.


Re: Server Closing / Crashing - ShihabSoft - 05.05.2017

Just download the crashdetect.DLL or crashdetect.so from the respective site and place it in your plugins folder.

After than just add plugins crashdetect.so(Linux) or just crashdetect(windows) in the server.cfg file.

This would provide more debug info, that you could easily back trace the source of the problem.