SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 03/12/2019, 02:36 PM   #1
Nedda
Big Clucker
 
Join Date: Oct 2011
Posts: 58
Reputation: 0
Default Server Shuting Down

Hello, after upload my SAMP files in my server hosting my server turning off. My game mode work very good in my Home host.

This is server errors :

Code:
[15:31:37] [debug] Server crashed while executing S4LRP.amx
[15:31:37] [debug] AMX backtrace:
[15:31:37] [debug] #0 native fwrite () in sampsvr-port_3331
[15:31:37] [debug] #1 0000df14 in ?? (13198572, 13428568) in S4LRP.amx
[15:31:37] [debug] #2 00585adc in public OnDialogResponse (0, 181, 1, -1, 13412836) in S4LRP.amx
[15:31:37] [debug] Native backtrace:
[15:31:37] [debug] #0 f72f98b6 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () in plugins/crashdetect.so
[15:31:37] [debug] #1 f72f1120 in _ZN18CrashDetectHandler20PrintNativeBacktraceERSoRKN2os7ContextE () in plugins/crashdetect.so
[15:31:37] [debug] #2 f72f1886 in _ZN18CrashDetectHandler20PrintNativeBacktraceERKN2os7ContextE () in plugins/crashdetect.so
[15:31:37] [debug] #3 f72f1f96 in _ZN18CrashDetectHandler7OnCrashERKN2os7ContextE () in plugins/crashdetect.so
[15:31:37] [debug] #4 f72f8f82 in ?? () in plugins/crashdetect.so
[15:31:37] [debug] #5 f76e1b20 in __kernel_rt_sigreturn () in linux-gate.so.1
[15:31:37] [debug] #6 f76e1af9 in __kernel_vsyscall () in linux-gate.so.1
[15:31:37] [debug] #7 f7350367 in gsignal () in /lib/i386-linux-gnu/i686/cmov/libc.so.6
[15:31:37] [debug] #8 f7351a23 in abort () in /lib/i386-linux-gnu/i686/cmov/libc.so.6
[15:31:37] [debug] #9 f73496c7 in ?? () in /lib/i386-linux-gnu/i686/cmov/libc.so.6
[15:31:37] [debug] #10 f7349777 in ?? () in /lib/i386-linux-gnu/i686/cmov/libc.so.6
[15:31:37] [debug] #11 0809b99c in ?? () in ./sampsvr-port_3331
[15:31:37] [debug] #12 0809bdff in ?? () in ./sampsvr-port_3331
[15:31:37] [debug] #13 080950e4 in ?? () in ./sampsvr-port_3331
[15:31:37] [debug] #14 f72f2b9b in _ZN18CrashDetectHandler15ProcessCallbackEiPiS0_ () in plugins/crashdetect.so
[15:31:37] [debug] #15 f72f6fc2 in ?? () in plugins/crashdetect.so
[15:31:37] [debug] #16 f72fbbc7 in amx_Exec () in plugins/crashdetect.so
[15:31:37] [debug] Registers:
[15:31:37] [debug] EAX: 00000000 EBX: 000071aa ECX: 000071aa EDX: 00000006
[15:31:37] [debug] ESI: f7246000 EDI: f74cb000 EBP: ffc9d528 ESP: ffc9d334
[15:31:37] [debug] EIP: f76e1af9 EFLAGS: 00000206
[15:31:37] [debug] Stack:
[15:31:37] [debug] ESP+00000000: ffc9d528 00000006 000071aa f7350367
[15:31:37] [debug] ESP+00000020: ffc9d364 00000000 32323250 ffc9d3a0
[15:31:37] [debug] ESP+00000040: 00000000 00000000 00000000 00000000
[15:31:37] [debug] ESP+00000060: 00000000 00000000 00000000 00000000
[15:31:37] [debug] ESP+00000080: 00000000 00000000 00000000 00000000
[15:31:37] [debug] ESP+000000a0: 00000000 00000000 00000000 00000000
[15:31:37] [debug] ESP+000000c0: f74cc144 ffffffff 00000000 00000043
[15:31:37] [debug] ESP+000000e0: ffc9d438 ffc9d430 08049bfb 00000004
[15:31:37] [debug] ESP+00000100: 08158c26 f74cb420 f738f0fe f74cb960
[15:31:37] [debug] ESP+00000120: f74cb000 f74cb960 00000000 00000003
[15:31:37] [debug] ESP+00000140: f74cb000 08158c26 f73496c7 00000000
[15:31:37] [debug] ESP+00000160: 00000000 08158c84 f7481592 08158c26
[15:31:37] [debug] ESP+00000180: 00000005 0919cb08 00001000 f74cb000
[15:31:37] [debug] ESP+000001a0: 08158c26 08158c18 000000de 08158c84
[15:31:37] [debug] ESP+000001c0: f7349726 08158c84 0809b99c 08158c26
[15:31:37] [debug] ESP+000001e0: ffc9d538 00000000 f594cf18 00000000
[15:31:37] [debug] ESP+00000200: ffc9d548 ffc9d54c f72e8d39 00000100
[15:31:37] [debug] ESP+00000220: 00001bc0 ffc9d588 080950e4 083716d0
[15:31:37] [debug] ESP+00000240: 00000000 0809bd70 f731e000 08237b60
[15:31:37] [debug] ESP+00000260: 00000041 ffc9d79c f594cf18 0000df14
[15:31:37] [debug] ESP+00000280: f76ad000 f76f514b f74cb000 f7702d20
[15:31:37] [debug] ESP+000002a0: 00000000 00000000 00000002 00000000
[15:31:37] [debug] ESP+000002c0: 00000000 00cce684 0000dee0 0000002a
[15:31:37] [debug] ESP+000002e0: ffc9d701 000001f4 00000000 00000009
[15:31:37] [debug] ESP+00000300: 00000000 0200000a 00000000 ffc9d6f0
[15:31:37] [debug] ESP+00000320: f7702d20 ffc9d678 f7444e6a 00000000
[15:31:37] [debug] ESP+00000340: 00000001 ffc9d798 f72f68ae ffc9d6f0
[15:31:37] [debug] ESP+00000360: 00000000 ffc9eef5 f731e000 08237b60
[15:31:37] [debug] ESP+00000380: 081d44ac 081d44b0 081d44a8 ffc9d6b0
[15:31:37] [debug] ESP+000003a0: ffc9d690 083716d0 00000000 00cce684
[15:31:37] [debug] ESP+000003c0: 00000800 00000000 f7394e85 da711401
[15:31:37] [debug] ESP+000003e0: f731e630 ffc9d748 f72f6fc2 08237b60
[15:31:37] [debug] Loaded modules:
[15:31:37] [debug] 00000000 - 00187f43 sampsvr-port_3331
[15:31:37] [debug] f76e1000 - f76e1c5a linux-gate.so.1
[15:31:37] [debug] f76ce000 - f76d081b /lib/i386-linux-gnu/i686/cmov/libdl.so.2
[15:31:37] [debug] f76b1000 - f76cbd2b /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
[15:31:37] [debug] f7532000 - f76bb4e8 /usr/lib/i386-linux-gnu/libstdc++.so.6
[15:31:37] [debug] f74ec000 - f7530b43 /lib/i386-linux-gnu/i686/cmov/libm.so.6
[15:31:37] [debug] f74cf000 - f74eb3c4 /lib/i386-linux-gnu/libgcc_s.so.1
[15:31:37] [debug] f7322000 - f74d722f /lib/i386-linux-gnu/i686/cmov/libc.so.6
[15:31:37] [debug] f76e2000 - f77034e0 /lib/ld-linux.so.2
[15:31:37] [debug] f72da000 - f731e3ac plugins/crashdetect.so
[15:31:37] [debug] f72cf000 - f72d82c0 plugins/Whirlpool.so
[15:31:37] [debug] f7249000 - f72ceb12 plugins/mysql.so
[15:31:37] [debug] f703d000 - f723e208 /usr/lib/libmysqlclient_r.so.16
[15:31:37] [debug] f76d3000 - f76da09f /lib/i386-linux-gnu/i686/cmov/librt.so.1
[15:31:37] [debug] f6e31000 - f6e3c3ef /lib/i386-linux-gnu/i686/cmov/libnss_files.so.2
[15:31:37] [debug] f6c21000 - f6c30290 plugins/sscanf.so
[15:31:37] [debug] f6b66000 - f6c20681 plugins/streamer.so
[15:31:37] [debug] f6b38000 - f6b3c97b /lib/i386-linux-gnu/i686/cmov/libnss_dns.so.2
[15:31:37] [debug] f6b20000 - f6b382fb /lib/i386-linux-gnu/i686/cmov/libresolv.so.2
can you help me please ?
Nedda is offline   Reply With Quote
Old 03/12/2019, 02:48 PM   #2
Calisthenics
Gangsta
 
Join Date: May 2018
Posts: 754
Reputation: 147
Default Re: Server Shuting Down

`fwrite` crashes the server.

https://wiki.sa-mp.com/wiki/Fwrite

Read the warning and the example usage for the correct way (how to check if file is opened).

Compile with -d3 flag (https://github.com/Zeex/samp-plugin-...ith-debug-info) to get more information.
Calisthenics is offline   Reply With Quote
Old 03/12/2019, 02:56 PM   #3
Nedda
Big Clucker
 
Join Date: Oct 2011
Posts: 58
Reputation: 0
Default Re: Server Shuting Down

I set -d3 in my pawn.cfg but not show this message after compile.

Nedda is offline   Reply With Quote
Old 03/12/2019, 03:00 PM   #4
Calisthenics
Gangsta
 
Join Date: May 2018
Posts: 754
Reputation: 147
Default Re: Server Shuting Down

If you get this box when compiling:
pawn Code:
Pawn compiler 3.x.x         Copyright (c) 1997-2006, ITB CompuPhase

Header size:           x bytes
Code size:             x bytes
Data size:             x bytes
Stack/heap size:       x bytes; estimated max. usage=x cells (x bytes)
Total requirements:    x bytes
It is OK. But you have to upload the new .amx and restart the server.
Calisthenics is offline   Reply With Quote
Old 03/12/2019, 03:05 PM   #5
Nedda
Big Clucker
 
Join Date: Oct 2011
Posts: 58
Reputation: 0
Default Re: Server Shuting Down



I get this
Nedda is offline   Reply With Quote
Old 03/12/2019, 03:19 PM   #6
Calisthenics
Gangsta
 
Join Date: May 2018
Posts: 754
Reputation: 147
Default Re: Server Shuting Down

I downloaded a new server package and double-clicked on grandlarc.pwn file. When I compiled it, it was compiled with -d3 flag. This happens with multiple editors, they are mixed up.

Run pawno.exe -> File -> Open -> S4LRP.pwn and try to compile it again.

It is also recommended to fix those two warnings.
Calisthenics is offline   Reply With Quote
Old 03/12/2019, 03:44 PM   #7
Nedda
Big Clucker
 
Join Date: Oct 2011
Posts: 58
Reputation: 0
Default Re: Server Shuting Down

I fixed crash. The problem was in /logovi/file.txt . I must rename my folder /logovi/ to /Logovi/, small letter is problem. Thanks for helping Calisthenics.
Nedda is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server shuting down --" VenomMancer Server Support 1 21/06/2014 12:20 PM
Samp-server shuting down Lisaax Scripting Help 4 22/03/2013 04:42 PM
Server shuting down , ajuda D: MatheusNunes Português/Portuguese 5 07/03/2012 12:43 PM
Server Randomly Shuting down :( seanny Server Support 5 26/09/2011 02:01 AM
Shuting down server graetz Server Support 3 30/04/2010 12:07 PM


All times are GMT. The time now is 05:51 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.