Server Crash on Disconnect
#1

A friend is asking for help with a server crash on disconnect.

The output log:
Код:
Loaded Modules:

samp-server.exe	A: 0x00400000 - 0x004F5000	(C:\Users\PC FEB 2014\Desktop\CNR Script\samp-server.exe)

ntdll.dll	A: 0x77070000 - 0x771F0000	(C:\Windows\SysWOW64\ntdll.dll)

kernel32.dll	A: 0x74D40000 - 0x74E50000	(C:\Windows\syswow64\kernel32.dll)

KERNELBASE.dll	A: 0x76C20000 - 0x76C67000	(C:\Windows\syswow64\KERNELBASE.dll)

SHELL32.dll	A: 0x75FD0000 - 0x76C1A000	(C:\Windows\syswow64\SHELL32.dll)

msvcrt.dll	A: 0x75F10000 - 0x75FBC000	(C:\Windows\syswow64\msvcrt.dll)

SHLWAPI.dll	A: 0x75C10000 - 0x75C67000	(C:\Windows\syswow64\SHLWAPI.dll)

GDI32.dll	A: 0x751A0000 - 0x75230000	(C:\Windows\syswow64\GDI32.dll)

USER32.dll	A: 0x75AD0000 - 0x75BD0000	(C:\Windows\syswow64\USER32.dll)

ADVAPI32.dll	A: 0x756E0000 - 0x75780000	(C:\Windows\syswow64\ADVAPI32.dll)

sechost.dll	A: 0x75790000 - 0x757A9000	(C:\Windows\SysWOW64\sechost.dll)

RPCRT4.dll	A: 0x75E20000 - 0x75F10000	(C:\Windows\syswow64\RPCRT4.dll)

SspiCli.dll	A: 0x74AC0000 - 0x74B20000	(C:\Windows\syswow64\SspiCli.dll)

CRYPTBASE.dll	A: 0x74AB0000 - 0x74ABC000	(C:\Windows\syswow64\CRYPTBASE.dll)

LPK.dll	A: 0x74C90000 - 0x74C9A000	(C:\Windows\syswow64\LPK.dll)

USP10.dll	A: 0x75A20000 - 0x75ABD000	(C:\Windows\syswow64\USP10.dll)

WSOCK32.dll	A: 0x69530000 - 0x69537000	(C:\Windows\system32\WSOCK32.dll)

WS2_32.dll	A: 0x75C70000 - 0x75CA5000	(C:\Windows\syswow64\WS2_32.dll)

NSI.dll	A: 0x75FC0000 - 0x75FC6000	(C:\Windows\syswow64\NSI.dll)

WINMM.dll	A: 0x72AA0000 - 0x72AD2000	(C:\Windows\system32\WINMM.dll)

IMM32.DLL	A: 0x753E0000 - 0x75440000	(C:\Windows\system32\IMM32.DLL)

MSCTF.dll	A: 0x75D40000 - 0x75E0C000	(C:\Windows\syswow64\MSCTF.dll)

sscanf.DLL	A: 0x10000000 - 0x1000D000	(C:\Users\PC FEB 2014\Desktop\CNR Script\plugins\sscanf.DLL)

MSVCR100.dll	A: 0x63B90000 - 0x63C4F000	(C:\Windows\system32\MSVCR100.dll)

Whirlpool.DLL	A: 0x002B0000 - 0x002BC000	(C:\Users\PC FEB 2014\Desktop\CNR Script\plugins\Whirlpool.DLL)

MSVCR80.dll	A: 0x72380000 - 0x7241B000	(C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6229_none_d089f796442de10e\MSVCR80.dll)

mysql.DLL	A: 0x63CC0000 - 0x63D04000	(C:\Users\PC FEB 2014\Desktop\CNR Script\plugins\mysql.DLL)

LIBMYSQL.dll	A: 0x53240000 - 0x5350A000	(C:\Users\PC FEB 2014\Desktop\CNR Script\LIBMYSQL.dll)

MSVCR110.dll	A: 0x59E80000 - 0x59F56000	(C:\Windows\system32\MSVCR110.dll)

MSVCP110.dll	A: 0x57340000 - 0x573C5000	(C:\Windows\system32\MSVCP110.dll)

NLAapi.dll	A: 0x73A70000 - 0x73A80000	(C:\Windows\system32\NLAapi.dll)

napinsp.dll	A: 0x695F0000 - 0x69600000	(C:\Windows\system32\napinsp.dll)

pnrpnsp.dll	A: 0x695D0000 - 0x695E2000	(C:\Windows\system32\pnrpnsp.dll)

mswsock.dll	A: 0x74460000 - 0x7449C000	(C:\Windows\System32\mswsock.dll)

DNSAPI.dll	A: 0x6F530000 - 0x6F574000	(C:\Windows\system32\DNSAPI.dll)

winrnr.dll	A: 0x695C0000 - 0x695C8000	(C:\Windows\System32\winrnr.dll)

WLIDNSP.DLL	A: 0x73AE0000 - 0x73B04000	(C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL)

PSAPI.DLL	A: 0x75BD0000 - 0x75BD5000	(C:\Windows\syswow64\PSAPI.DLL)

rasadhlp.dll	A: 0x739F0000 - 0x739F6000	(C:\Windows\system32\rasadhlp.dll)

streamer.DLL	A: 0x63C80000 - 0x63CBD000	(C:\Users\PC FEB 2014\Desktop\CNR Script\plugins\streamer.DLL)

MSVCP100.dll	A: 0x63B20000 - 0x63B89000	(C:\Windows\system32\MSVCP100.dll)

nativechecker.DLL	A: 0x69150000 - 0x69155000	(C:\Users\PC FEB 2014\Desktop\CNR Script\plugins\nativechecker.DLL)

wshtcpip.dll	A: 0x74450000 - 0x74455000	(C:\Windows\System32\wshtcpip.dll)

IPHLPAPI.DLL	A: 0x6F590000 - 0x6F5AC000	(C:\Windows\system32\IPHLPAPI.DLL)

WINNSI.DLL	A: 0x6F580000 - 0x6F587000	(C:\Windows\system32\WINNSI.DLL)

uxtheme.dll	A: 0x70F30000 - 0x70FB0000	(C:\Windows\system32\uxtheme.dll)

PROPSYS.dll	A: 0x73D20000 - 0x73E15000	(C:\Windows\system32\PROPSYS.dll)

OLEAUT32.dll	A: 0x74CA0000 - 0x74D2F000	(C:\Windows\syswow64\OLEAUT32.dll)

comctl32.dll	A: 0x70770000 - 0x7090E000	(C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\comctl32.dll)

apphelp.dll	A: 0x712E0000 - 0x7132C000	(C:\Windows\system32\apphelp.dll)

CLBCatQ.DLL	A: 0x74FF0000 - 0x75073000	(C:\Windows\syswow64\CLBCatQ.DLL)

api-ms-win-downlevel-shlwapi-l1-1-0.dll	A: 0x77040000 - 0x77044000	(C:\Windows\syswow64\api-ms-win-downlevel-shlwapi-l1-1-0.dll)

api-ms-win-downlevel-advapi32-l2-1-0.dll	A: 0x73D10000 - 0x73D14000	(C:\Windows\SysWOW64\api-ms-win-downlevel-advapi32-l2-1-0.dll)

SETUPAPI.dll	A: 0x74E50000 - 0x74FED000	(C:\Windows\syswow64\SETUPAPI.dll)

CFGMGR32.dll	A: 0x757D0000 - 0x757F7000	(C:\Windows\syswow64\CFGMGR32.dll)

DEVOBJ.dll	A: 0x757B0000 - 0x757C2000	(C:\Windows\syswow64\DEVOBJ.dll)

ntmarta.dll	A: 0x744A0000 - 0x744C1000	(C:\Windows\system32\ntmarta.dll)

WLDAP32.dll	A: 0x75390000 - 0x753D5000	(C:\Windows\syswow64\WLDAP32.dll)

Secur32.dll	A: 0x749E0000 - 0x749E8000	(C:\Windows\system32\Secur32.dll)
I am posting for the user so they don't have to feel ashamed by trolling or lesser skill or asking for help. If you are reading this and would also prefer if I posted on your behalf anonymously, contact me on skype: aero-revolution. Rep in return would be appreciated.

Nobody should be afraid of asking for help.
Reply
#2

It's most likely unreadable for a human being.

Tell him (or do it by yourself) to install the crashdetect plugin and to re-compile his mode using the debug 3 info.
See here to know how to compile on D3 : https://github.com/Zeex/samp-plugin-...ith-debug-info
Reply
#3

Response:
Quote:

Just did what you said and this is what came up in Pawno:
Pawn compiler 3.2.3664 Copyright 1997-2006, ITB CompuPhase

Header size: 8264 bytes
Code size: 198828 bytes
Data size: 17338356 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:17561832 bytes

EDIT:
Response:
Quote:

WAIT IM AN IDIOT
i dont have crashdetect lol

Reply
#4

Re-launch the server, crash it and send the server log please.
It should display a native backtrace (if the crash occurs because of a native in a plugin) or an AMX backtrace (if the crash occurs because of something you have coded in pawn).

Just send the whole backtrace (so from the bottom to the end, including the [debug] AMX : 0xFFFFFFFFF or stuff like that).
Reply
#5

Response:
Quote:

[19:34:20] [debug] Server crashed while executing CNR.amx
[19:34:20] [debug] AMX backtrace:
[19:34:20] [debug] #0 native SendClientMessage () [004703a0] from samp-server.exe
[19:34:20] [debug] #1 000253dc in public PayTicketTimer (0x00000001) from CNR.amx
[19:34:20] [debug] Native backtrace:
[19:34:20] [debug] #0 004989ec in ?? () from samp-server.exe

Reply
#6

I think now it's pretty obvious.

There's a problem with a SendClientMessage in "PayTicketTimer".
Couple that with what you already know, so that it's located in OnPlayerDisconnect, and you should arrive to a logical conclusion.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)