SA-MP Forums Archive
Server Crash Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Server Crash Problem (/showthread.php?tid=663529)



Server Crash Problem - PoniStar - 03.02.2019

Hi guys i just got home and see my server is turned off , so i checked the log and see this:

Код:
[23:20:35] [debug] Server crashed while executing WorldWarV1.amx
[23:20:35] [debug] AMX backtrace:
[23:20:35] [debug] #0 00000034 in ?? (55, 56, 49, 0, 0, 0, 0, 0, 0, 38707512, ... <1 more argument>) in WorldWarV1.amx
[23:20:35] [debug] #1 00000034 in public OnPlayerCommandText () in WorldWarV1.amx
[23:20:35] [debug] Native backtrace:
[23:20:35] [debug] #0 74d1462f in ?? () in plugins\crashdetect.DLL
[23:20:35] [debug] #1 74d097cc in ?? () in plugins\crashdetect.DLL
[23:20:35] [debug] #2 74d0dcf4 in ?? () in plugins\crashdetect.DLL
[23:20:35] [debug] #3 74a43484 in ?? () in plugins\streamer.DLL
[23:20:35] [debug] #4 0046dd10 in ?? () in samp-server.exe
[23:20:35] [debug] #5 00452270 in ?? () in samp-server.exe
[23:20:35] [debug] #6 7782e0e3 in ?? () in C:\Windows\SysWOW64\ntdll.dll
[23:20:35] [debug] #7 0049eef9 in ?? () in samp-server.exe
[23:20:35] [debug] #8 0045ad2a in ?? () in samp-server.exe
[23:20:35] [debug] #9 76b515ce in ?? () in C:\Windows\syswow64\KERNELBASE.dll
[23:20:35] [debug] #10 76b51601 in ?? () in C:\Windows\syswow64\KERNELBASE.dll
[23:20:35] [debug] Registers:
[23:20:35] [debug] EAX: 045b8c44 EBX: 00000000 ECX: 0000002c EDX: 047f96d8
[23:20:35] [debug] ESI: 002a2c00 EDI: 04584ad4 EBP: 00000000 ESP: 0018fda4
[23:20:35] [debug] EIP: 76b51601 EFLAGS: 00010293
[23:20:35] [debug] Stack:
[23:20:35] [debug] ESP+00000000: e2ba7e58 769c1136 000000a8 00000000
[23:20:35] [debug] ESP+00000020: e2ba7db8 769c1136 769c1695 00000000
[23:20:35] [debug] ESP+00000040: 00000000 00000000 00000000 7781fd75
[23:20:35] [debug] ESP+00000060: a49008b8 000a15e0 0018fea4 004aa78b
[23:20:35] [debug] ESP+00000080: 0049125c 769c1695 00000000 3ba36607
[23:20:35] [debug] ESP+000000a0: 7efde000 0100e000 00010101 000000c8
[23:20:35] [debug] ESP+000000c0: 656d6167 65646f6d 00003531 004c4020
[23:20:35] [debug] ESP+000000e0: 0018ff78 0018ff78 0049d208 004ba2f8
[23:20:35] [debug] ESP+00000100: 0018ff78 004ab0e1 ffffffff 0049cca6
[23:20:35] [debug] ESP+00000120: 00000006 00000001 00001db1 00000002
[23:20:35] [debug] ESP+00000140: 00000000 00000000 00000000 00000000
[23:20:35] [debug] ESP+00000160: 00000000 00000000 00000000 00000000
[23:20:35] [debug] ESP+00000180: 00000000 00000000 00000000 00000000
[23:20:35] [debug] ESP+000001a0: ffffff01 00000000 00000003 0049cb52
[23:20:35] [debug] ESP+000001c0: 00000000 c0000005 00000000 0018fec0
[23:20:35] [debug] ESP+000001e0: 00000000 0018ff94 769c343d 7efde000
[23:20:35] [debug] ESP+00000200: 00000000 00000000 7efde000 00000000
[23:20:35] [debug] ESP+00000220: 0018ffe4 77874dcd 0b8c2869 00000000
[23:20:35] [debug] ESP+00000240: ffffffff 778c76c7 00000000 00000000
[23:20:35] [debug] ESP+00000260: 00000020 00000001 0000330c 000000dc
[23:20:35] [debug] ESP+00000280: 00000001 00000007 00000034 0000017c
[23:20:35] [debug] ESP+000002a0: 00000000 00000000 00000002 1a26ef4e
[23:20:35] [debug] ESP+000002c0: 00000000 f33271ba 00000540 0000004a
[23:20:35] [debug] ESP+000002e0: 000008ac 00000032 000008e0 00000300
[23:20:35] [debug] ESP+00000300: 00000c24 00000336 00000000 38505fc8
[23:20:35] [debug] ESP+00000320: 00000000 b1280544 00001324 00000056
[23:20:35] [debug] ESP+00000340: 000000ec 00000002 00000001 0000017c
[23:20:35] [debug] ESP+00000360: 000007a0 00000001 00000003 00001eec
[23:20:35] [debug] ESP+00000380: 00000314 00000002 00000005 0000308c
[23:20:35] [debug] ESP+000003a0: 000000cc 00000002 00000007 000031f0
[23:20:35] [debug] ESP+000003c0: 00000028 00000002 0000000b 00003308
[23:20:35] [debug] ESP+000003e0: 00000001 00000001 00000001 00000006
[23:20:35] [debug] Loaded modules:
[23:20:35] [debug] 00400000 - 00519000 samp-server.exe
[23:20:35] [debug] 77800000 - 77980000 ntdll.dll
[23:20:35] [debug] 769b0000 - 76ac0000 kernel32.dll
[23:20:35] [debug] 76b40000 - 76b87000 KERNELBASE.dll
[23:20:35] [debug] 75390000 - 75fdc000 SHELL32.dll
[23:20:35] [debug] 752d0000 - 7537c000 msvcrt.dll
[23:20:35] [debug] 76f50000 - 76fa7000 SHLWAPI.dll
[23:20:35] [debug] 76c70000 - 76d00000 GDI32.dll
[23:20:35] [debug] 766c0000 - 767c0000 USER32.dll
[23:20:35] [debug] 771e0000 - 77281000 ADVAPI32.dll
[23:20:35] [debug] 75210000 - 75229000 sechost.dll
[23:20:35] [debug] 75120000 - 75210000 RPCRT4.dll
[23:20:35] [debug] 750b0000 - 75110000 SspiCli.dll
[23:20:35] [debug] 750a0000 - 750ac000 CRYPTBASE.dll
[23:20:35] [debug] 76b20000 - 76b2a000 LPK.dll
[23:20:35] [debug] 76890000 - 7692d000 USP10.dll
[23:20:35] [debug] 74ec0000 - 74ec7000 WSOCK32.dll
[23:20:35] [debug] 76070000 - 760a5000 WS2_32.dll
[23:20:35] [debug] 75380000 - 75386000 NSI.dll
[23:20:35] [debug] 74e10000 - 74e42000 WINMM.dll
[23:20:35] [debug] 76be0000 - 76c40000 IMM32.DLL
[23:20:35] [debug] 767c0000 - 7688d000 MSCTF.dll
[23:20:35] [debug] 74cf0000 - 74d41000 crashdetect.DLL
[23:20:35] [debug] 74b50000 - 74bb9000 MSVCP100.dll
[23:20:35] [debug] 74c30000 - 74cef000 MSVCR100.dll
[23:20:35] [debug] 10000000 - 1000c000 Whirlpool.DLL
[23:20:35] [debug] 74ab0000 - 74b4b000 MSVCR80.dll
[23:20:35] [debug] 74a40000 - 74aa7000 streamer.DLL
[23:20:35] [debug] 749d0000 - 74a3d000 MSVCP140.dll
[23:20:35] [debug] 74ea0000 - 74eb5000 VCRUNTIME140.dll
[23:20:35] [debug] 74ef0000 - 74ef4000 api-ms-win-crt-runtime-l1-1-0.dll
[23:20:35] [debug] 748e0000 - 749c1000 ucrtbase.DLL
[23:20:35] [debug] 74e90000 - 74e93000 api-ms-win-core-timezone-l1-1-0.dll
[23:20:35] [debug] 74e00000 - 74e03000 api-ms-win-core-file-l2-1-0.dll
[23:20:35] [debug] 74df0000 - 74df3000 api-ms-win-core-localization-l1-2-0.dll
[23:20:35] [debug] 74d60000 - 74d63000 api-ms-win-core-synch-l1-2-0.dll
[23:20:35] [debug] 74de0000 - 74de3000 api-ms-win-core-processthreads-l1-1-1.dll
[23:20:35] [debug] 74dd0000 - 74dd3000 api-ms-win-core-file-l1-2-0.dll
[23:20:35] [debug] 74c20000 - 74c24000 api-ms-win-crt-string-l1-1-0.dll
[23:20:35] [debug] 748d0000 - 748d3000 api-ms-win-crt-heap-l1-1-0.dll
[23:20:35] [debug] 748c0000 - 748c4000 api-ms-win-crt-stdio-l1-1-0.dll
[23:20:35] [debug] 748b0000 - 748b4000 api-ms-win-crt-convert-l1-1-0.dll
[23:20:35] [debug] 748a0000 - 748a3000 api-ms-win-crt-locale-l1-1-0.dll
[23:20:35] [debug] 74890000 - 74895000 api-ms-win-crt-math-l1-1-0.dll
[23:20:35] [debug] 74880000 - 74885000 api-ms-win-crt-multibyte-l1-1-0.dll
[23:20:35] [debug] 74870000 - 74873000 api-ms-win-crt-time-l1-1-0.dll
[23:20:35] [debug] 74860000 - 74863000 api-ms-win-crt-filesystem-l1-1-0.dll
[23:20:35] [debug] 74850000 - 74853000 api-ms-win-crt-environment-l1-1-0.dll
[23:20:35] [debug] 74840000 - 74843000 api-ms-win-crt-utility-l1-1-0.dll
[23:20:35] [debug] 00660000 - 0066c000 sscanf.DLL
[23:20:35] [debug] 747f0000 - 7483c000 irc.DLL
[23:20:35] [debug] 747d0000 - 747eb000 TDE.DLL
[23:20:35] [debug] 74320000 - 74493000 MSVCR100D.dll
[23:20:35] [debug] 74790000 - 747cc000 mswsock.dll
[23:20:35] [debug] 74780000 - 74785000 wshtcpip.dll
[23:20:35] [debug] 74700000 - 74710000 NLAapi.dll
[23:20:35] [debug] 746f0000 - 74700000 napinsp.dll
[23:20:35] [debug] 746a0000 - 746e4000 DNSAPI.dll
[23:20:35] [debug] 74690000 - 74698000 winrnr.dll
[23:20:35] [debug] 74670000 - 7468c000 IPHLPAPI.DLL
[23:20:35] [debug] 74660000 - 74667000 WINNSI.DLL
[23:20:35] [debug] 74620000 - 74658000 fwpuclnt.dll
[23:20:35] [debug] 74610000 - 74616000 rasadhlp.dll
what is this guys? what should i do!!!? i was not in server so i dont know what happend , and players not know whats happend too!! can i get what is the problem from this log?


Re: Server Crash Problem - Bolex_ - 03.02.2019

Код:
[23:20:35] [debug] #0 00000034 in ?? (55, 56, 49, 0, 0, 0, 0, 0, 0, 38707512, ... <1 more argument>) [23:20:35] [debug] #1 00000034 in public OnPlayerCommandText ()
Post OnPlayerCommandText


Re: Server Crash Problem - PoniStar - 04.02.2019

you mean i should send all of the onplayercommandtext public codes here!!? its a little huge ! and i dont want to some of them be on public , is there any way to get what line gives this error? or give me a email address to send you the codes priviatly


Re: Server Crash Problem - raydx - 04.02.2019

Compile with -d3 flag to see specific lines.


Re: Server Crash Problem - PoniStar - 04.02.2019

um, what you mean ? can you help me a little more with that ?


Re: Server Crash Problem - Markski - 04.02.2019

Quote:
Originally Posted by PoniStar
Посмотреть сообщение
um, what you mean ? can you help me a little more with that ?
Surely, on your pawn code editor, add the flag -d3 to the compile/build settings.

If you use pawno, go to Build -> Run options and add "-d3" to the "with these parameters" textbox.

If you use any other code editor, add -d3 to wherever the build file is.

For example, if you use sublime text, you probably have something that looks like this:

PHP код:
"cmd": [
        
"pawncc.exe",
        
"$file",
        
"-d2",
        
"-i includes",
        
"-Z+"
    
], 
In which case, you change -d2 by -d3. If you don't have any -dX parameter, then add it.

Whichever the case, it looks like the problem causing your crash is something in your OnPlayerCommandText callback.