Crashing problem
#1

Well, i have big problem with server crashing, i mean, testing server, not hosted one... The problem is with every single command ... When i type command and press enter server just crash ... And it's not just 1 command, its every cmd in gamemode ... There is no warnings or errors in it , so i dont know what should i fix ... Help :P
Reply
#2

Get crashdetect plugin from here and run it with your server. Whenever the server crashes, it will generate some meaningful information, which you could post here in order for us to understand your problem.
Reply
#3

Already did that but i dont understand those informations :P

Code:
SA-MP Server: 0.3.7



Exception At Address: 0x7C90100B Module: (ntdll.dll)



Registers:

EAX: 0x00000020	EBX: 0x0000005B	ECX: 0x7FFDD000	EDX: 0x00000020

ESI: 0x00000000	EDI: 0x03B62094	EBP: 0x0012F37C	ESP: 0x0012F344

EFLAGS: 0x00010202



Stack:

+0000: 0x004972E0   0x00000020   0x0049793E   0x00000000

+0010: 0x03B62094   0x00000000   0x0000005B   0x00000FFF

+0020: 0x0012F354   0x0012EF68   0x0012FB84   0x0049B938

+0030: 0x004B6528   0xFFFFFFFF   0x00000000   0x0040534E

+0040: 0x0000005B   0x00000000   0x03B62084   0x0012F3AC

+0050: 0x01D38578   0x0040578F   0x00000001   0x00FF2CD8

+0060: 0x00FF2CD8   0x0000002C   0x01E91C70   0x004010B6

+0070: 0x00FF2CD8   0x03B62094   0x021BB1B4   0x00402B63

+0080: 0x00FF2CD8   0x0000007F   0x0012F3E4   0x03B62084

+0090: 0x0012F89C   0x00FF2CD8   0x00FF2CD8   0x0012F460

+00A0: 0x00000000   0x019A6ED0   0x019A6ED0   0x019A7248

+00B0: 0x01967330   0x019A70E0   0x01967330   0x01D38578

+00C0: 0x021BB1B4   0x00000000   0x01D30020   0x00482C3C

+00D0: 0x004740C7   0x00FF2CD8   0x0012F878   0x00000418

+00E0: 0x6D7A752F   0x656A7369   0x6B6E656D   0x00470065

+00F0: 0x00697369   0x6C506E4F   0x72657961   0x6D6D6F43

+0100: 0x52646E61   0x69656365   0x00646576   0x00FF2CD8

+0110: 0x00FF2CD8   0x01D38578   0x019672F8   0x00000000

+0120: 0x00000000   0x00000000   0x00000000   0x00000000

+0130: 0x00000000   0x00000000   0x00000000   0x00000000



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



Loaded Modules:

samp-server.exe	A: 0x00400000 - 0x004FA000	(D:\SRW\samp-server.exe)

ntdll.dll	A: 0x7C900000 - 0x7C9B2000	(C:\WINDOWS\system32\ntdll.dll)

kernel32.dll	A: 0x7C800000 - 0x7C8F6000	(C:\WINDOWS\system32\kernel32.dll)

SHELL32.dll	A: 0x7C9C0000 - 0x7D1D8000	(C:\WINDOWS\system32\SHELL32.dll)

ADVAPI32.dll	A: 0x77DD0000 - 0x77E6B000	(C:\WINDOWS\system32\ADVAPI32.dll)

RPCRT4.dll	A: 0x77E70000 - 0x77F02000	(C:\WINDOWS\system32\RPCRT4.dll)

Secur32.dll	A: 0x77FE0000 - 0x77FF1000	(C:\WINDOWS\system32\Secur32.dll)

GDI32.dll	A: 0x77F10000 - 0x77F59000	(C:\WINDOWS\system32\GDI32.dll)

USER32.dll	A: 0x7E410000 - 0x7E4A1000	(C:\WINDOWS\system32\USER32.dll)

msvcrt.dll	A: 0x77C10000 - 0x77C68000	(C:\WINDOWS\system32\msvcrt.dll)

SHLWAPI.dll	A: 0x77F60000 - 0x77FD6000	(C:\WINDOWS\system32\SHLWAPI.dll)

WSOCK32.dll	A: 0x71AD0000 - 0x71AD9000	(C:\WINDOWS\system32\WSOCK32.dll)

WS2_32.dll	A: 0x71AB0000 - 0x71AC7000	(C:\WINDOWS\system32\WS2_32.dll)

WS2HELP.dll	A: 0x71AA0000 - 0x71AA8000	(C:\WINDOWS\system32\WS2HELP.dll)

WINMM.dll	A: 0x76B40000 - 0x76B6D000	(C:\WINDOWS\system32\WINMM.dll)

IMM32.DLL	A: 0x76390000 - 0x763AD000	(C:\WINDOWS\system32\IMM32.DLL)

comctl32.dll	A: 0x773D0000 - 0x774D3000	(C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll)

comctl32.dll	A: 0x5D090000 - 0x5D12A000	(C:\WINDOWS\system32\comctl32.dll)

serwvdrv.dll	A: 0x5CD70000 - 0x5CD77000	(C:\WINDOWS\system32\serwvdrv.dll)

umdmxfrm.dll	A: 0x5B0A0000 - 0x5B0A7000	(C:\WINDOWS\system32\umdmxfrm.dll)

streamer.dll	A: 0x10000000 - 0x1003E000	(D:\SRW\plugins\streamer.dll)

MSVCP100.dll	A: 0x78050000 - 0x780B9000	(C:\WINDOWS\system32\MSVCP100.dll)

MSVCR100.dll	A: 0x78AA0000 - 0x78B5F000	(C:\WINDOWS\system32\MSVCR100.dll)

sscanf.dll	A: 0x00B30000 - 0x00B3C000	(D:\SRW\plugins\sscanf.dll)

mysql.dll	A: 0x00B50000 - 0x00B65000	(D:\SRW\plugins\mysql.dll)

LIBMYSQL.dll	A: 0x00B80000 - 0x00CC1000	(D:\SRW\LIBMYSQL.dll)

MSVCR90.dll	A: 0x78520000 - 0x785C3000	(C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_d495ac4e\MSVCR90.dll)

MSVCP90.dll	A: 0x78480000 - 0x7850E000	(C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_d495ac4e\MSVCP90.dll)

mswsock.dll	A: 0x71A50000 - 0x71A8F000	(C:\WINDOWS\System32\mswsock.dll)

DNSAPI.dll	A: 0x76F20000 - 0x76F47000	(C:\WINDOWS\system32\DNSAPI.dll)

winrnr.dll	A: 0x76FB0000 - 0x76FB8000	(C:\WINDOWS\System32\winrnr.dll)

WLDAP32.dll	A: 0x76F60000 - 0x76F8C000	(C:\WINDOWS\system32\WLDAP32.dll)

rasadhlp.dll	A: 0x76FC0000 - 0x76FC6000	(C:\WINDOWS\system32\rasadhlp.dll)

hnetcfg.dll	A: 0x662B0000 - 0x66308000	(C:\WINDOWS\system32\hnetcfg.dll)

wshtcpip.dll	A: 0x71A90000 - 0x71A98000	(C:\WINDOWS\System32\wshtcpip.dll)
Reply
#4

That is the default crash report which is utterly meaningless to anyone but Kalcor. Check the server log for the output of crashdetect.
Reply
#5

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

[18:54:15] filterscripts = ""  (string)
[18:54:15] 
[18:54:15] Server Plugins
[18:54:15] --------------
[18:54:15]  Loading plugin: streamer
[18:54:15] 

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

[18:54:15]   Loaded.
[18:54:15]  Loading plugin: sscanf
[18:54:15] 

[18:54:15]  ===============================

[18:54:15]       sscanf plugin loaded.     

[18:54:15]    © 2009 Alex "******" Cole

[18:54:15]    0.3d-R2 500 Players "dnee"

[18:54:15]  ===============================

[18:54:15]   Loaded.
[18:54:15]  Loading plugin: mysql
[18:54:16] 

  > MySQL plugin R7 successfully loaded.

[18:54:16]   Loaded.
[18:54:16]  Loaded 3 plugins.

[18:54:16] 
[18:54:16] Filterscripts
[18:54:16] ---------------
[18:54:16]   Loaded 0 filterscripts.

[18:54:17]  
[18:54:17]  
[18:54:17]  
[18:54:17]  ======================================= 
[18:54:17]  |                                     | 
[18:54:17]  |        YSI version 4.00.0001        | 
[18:54:17]  |        By Alex "******" Cole        | 
[18:54:17]  |                                     | 
[18:54:17]  ======================================= 
[18:54:17]  
[18:54:18] 15765 objects loaded
[18:54:18] ** ==========[ Server started at 156 ms! ]============ **
[18:54:18] Number of vehicle models: 48
[18:54:48] [connection] xxx.xxx.xxx.x:xxxx requests connection cookie.
[18:54:49] Incoming connection: xxx.xxx.xxx.x:xxxx id: 0
[18:54:50] [join] test has joined the server (0:xxx.xxx.xxx.x)
[18:55:19] RCON (In-Game): Player #0 (test) has logged in.
And thats it, after i type some command - crash ...
Reply
#6

Where is the crashdetect plugin? You should load it too.
If your script is running with the crashdetect plugin it will create a code in the console (server.log).
Reply
#7

Don't forget to compile your script with d3 flag.

Create a file called pawn.cfg in pawno folder. Add this line
Quote:

-d3

Reply
#8

Code:
[21:21:23] [debug] Server crashed while executing gm.amx
[21:21:23] [debug] AMX backtrace:
[21:21:23] [debug] #0 native fwrite () [00405710] from samp-server.exe
[21:21:23] [debug] #1 001596f8 in ?? () from gm.amx
[21:21:23] [debug] #2 000a4dd4 in public OnPlayerCommandReceived () from gm.amx
[21:21:23] [debug] #3 native CallRemoteFunction () [00473d60] from samp-server.exe
[21:21:23] [debug] #4 00042684 in ?? () from gm.amx
[21:21:23] [debug] #5 00044944 in ?? () from gm.amx
[21:21:23] [debug] #6 00015270 in ?? () from gm.amx
[21:21:23] [debug] #7 00004154 in public OnPlayerCommandText () from gm.amx
[21:21:23] [debug] System backtrace:
[21:21:24] [debug] #0 0040534e in ?? () from D:\test\samp-server.exe
After command ..
Reply
#9

BUMP, i need a answer ..
Reply
#10

Can you send us your callback OnPlayerCommandReceived and OnPlayerCommandText?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)