Server Crash +REP
#1

Server crashes as soon as 2 players join the server and gives segmentation fault,
works perfectly fine with one player. I have a xeon 4 core and 1 gb ram and 50mb/s upload speed...

Plugins : streamer sscanf Whirlpool and sql r33 (blueg)

Help needed asap

Код:
SA-MP Dedicated Server
----------------------
v0.3z-R4, ©2005-2014 SA-MP Team

[03:25:57] 
[03:25:57] Server Plugins
[03:25:57] --------------
[03:25:57]  Loading plugin: streamer.so
[03:25:57] 

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

[03:25:57]   Loaded.
[03:25:57]  Loading plugin: mysql.so
[03:25:57]  >> plugin.mysql: R33 successfully loaded.
[03:25:57]   Loaded.
[03:25:57]  Loading plugin: sscanf.so
[03:25:57] 

[03:25:57]  ===============================

[03:25:57]       sscanf plugin loaded.     

[03:25:57]          Version:  2.8.1        

[03:25:57]    © 2012 Alex "******" Cole  

[03:25:57]  ===============================

[03:25:57]   Loaded.
[03:25:57]  Loading plugin: Whirlpool.so
[03:25:57]  
[03:25:57]  ==================
[03:25:57]  
[03:25:57]   Whirlpool loaded
[03:25:57]  
[03:25:57]  ==================
[03:25:57]  
[03:25:57]   Loaded.
[03:25:57]  Loaded 4 plugins.

[03:25:58]  
[03:25:58]  
[03:25:58]  
[03:25:58]  ======================================= 
[03:25:58]  |                                     | 
[03:25:58]  |        YSI version 3.09.0684        | 
[03:25:58]  |        By Alex "******" Cole        | 
[03:25:58]  |                                     | 
[03:25:58]  ======================================= 
[03:25:58]  
[03:25:58]  
[03:25:58]  
[03:25:58] Preparing the gamemode, please wait...
[03:25:58] [MySQL] (Main Pipelines) Connecting to 127.0.0.1...
[03:25:58] [MySQL] (MainPipeline) Connection successful toward MySQL Database Server!

-------------------------------------------
[03:25:58] RHA Roleplay

[03:25:58] Copyright © Wild Gaming, LLC (2012-2015)
[03:25:58] All Rights Reserved
[03:25:58] -------------------------------------------

[03:25:58] Successfully initiated the gamemode...
[03:25:58] Number of vehicle models: 29
[03:25:58] [Dynamic Giftbox] Successfully loaded the dynamic giftbox.
[03:25:58] [LoadHouses] Failed to load any houses.
[03:25:58] [LoadDynamicDoors] 438 doors rehashed/loaded.
[03:25:58] [LoadDynamicMapIcons] 400 map icons rehashed/loaded.
[03:25:58] [LoadMailboxes] 50 mailboxes rehashed/loaded.
[03:25:58] [LoadBusinesses] 200 businesses rehashed/loaded.
[03:25:58] [LoadPlants] Error: Failed to load any plants!
[03:25:58] [SpeedCameras] Loaded 15 Speed Cameras.
[03:25:58] [LoadRelayForLifeTeams] Failed to load any teams.
[03:25:58] TotalSold0: 0 | AmountMade0: 0
[03:25:58] TotalSold1: 0 | AmountMade1: 0
[03:25:58] TotalSold2: 0 | AmountMade2: 0
[03:25:58] TotalSold3: 0 | AmountMade3: 0
[03:25:58] TotalSold4: 0 | AmountMade4: 0
[03:25:58] TotalSold5: 0 | AmountMade5: 0
[03:25:58] TotalSold6: 0 | AmountMade6: 0
[03:25:58] TotalSold7: 0 | AmountMade7: 0
[03:25:58] TotalSold8: 0 | AmountMade8: 0
[03:25:58] TotalSold9: 0 | AmountMade9: 0
[03:25:58] TotalSold10: 0 | AmountMade10: 0
[03:25:58] TotalSold11: 0 | AmountMade11: 0
[03:25:58] TotalSold12: 0 | AmountMade12: 0
[03:25:58] TotalSold13: 0 | AmountMade13: 0
[03:25:58] TotalSold14: 0 | AmountMade14: 0
[03:25:58] TotalSold15: 0 | AmountMade15: 0
[03:25:58] TotalSold16: 0 | AmountMade16: 0
[03:25:58] TotalSold17: 0 | AmountMade17: 0
[03:25:58] TotalSold18: 0 | AmountMade18: 0
[03:25:58] TotalSold19: 0 | AmountMade19: 0
[03:25:58] TotalSold20: 0 | AmountMade20: 0
[03:25:58] TotalSold21: 0 | AmountMade21: 0
[03:25:58] TotalSold22: 0 | AmountMade22: 0
[03:25:58] TotalSold23: 0 | AmountMade23: 0
[03:25:58] TotalSold24: 0 | AmountMade24: 0
[03:25:58] TotalSold25: 0 | AmountMade25: 0
[03:25:58] TotalSold26: 0 | AmountMade26: 0
[03:25:58] TotalSold27: 0 | AmountMade27: 0
[03:25:58] TotalSold28: 0 | AmountMade28: 0
[03:25:58] TotalSold29: 0 | AmountMade29: 0
[03:25:58] Price0: 1000
[03:25:58] Price1: 199
[03:25:58] Price2: 180
[03:25:58] Price3: 80
[03:25:58] Price4: 100
[03:25:58] Price5: 100
[03:25:58] Price6: 250
[03:25:58] Price7: 90
[03:25:58] Price8: 25
[03:25:58] Price9: 80
[03:25:58] Price10: 25
[03:25:58] Price11: 150
[03:25:58] Price12: 200
[03:25:58] Price13: 300
[03:25:58] Price14: 299
[03:25:58] Price15: 100
[03:25:58] Price16: 60
[03:25:58] Price17: 1
[03:25:58] Price18: 1
[03:25:58] Price19: 2
[03:25:58] Price20: 11
[03:25:58] Price21: 10000
[03:25:58] Price22: 50
[03:25:58] Price23: 149
[03:25:58] Price24: 2
[03:25:58] Price25: 300
[03:25:58] Price26: 400
[03:25:58] Price27: 500
[03:25:58] Price28: 100
[03:25:58] Price29: 29
[03:25:58] [Family Points] 8 family points has been loaded.
[03:26:30] Incoming connection: 150.129.6.250:1856
[03:26:31] [join] Hamza_Javed has joined the server (0:150.129.6.250)
[03:26:32] [part] Hamza_Javed has left the server (0:2)
[03:28:27] Incoming connection: 150.129.6.250:1861
[03:28:28] [join] Ali_Javed has joined the server (0:150.129.6.250)
[03:28:38] Ali Javed has logged in.
[03:30:13] [zcmd] [Ali Javed]: /enter
[03:30:32] [zcmd] [Ali Javed]: /gate
Reply
#2

no one will help you have NGRP GM!!
Reply
#3

Maybe try updating your includes
Reply
#4

every include is updated , i think the crash is somewhat related to mysql
and btw i am using debian 6 x86
Reply
#5

Код:
Started server on port: 7777, with maxplayers: 200 lanmode is

[New Thread 0xad7b7b70 (LWP 16960)]
[New Thread 0xacdaab70 (LWP 16961)]
[Thread 0xad7b7b70 (LWP 16960) exited]
[New Thread 0xad7b7b70 (LWP 17044)]
[Thread 0xad7b7b70 (LWP 17044) exited]

Program received signal SIGSEGV, Segmentation fault.
0xb7d4e686 in fclose@@GLIBC_2.1 () from /lib/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.16 libgcc-4.4.7-11.el6.i686 libgcc-4.4.7-4.el6.i686 libstdc++-
(gdb) ^C(gdb) Quit
(gdb) debuginfo-install glibc-2.12-1.149.el6_6.5.i686 libgcc-ibgcc-4.4.7-4.el6.i686 libstdc++-4.4.7-11.el6.i686
Reply
#6

You're missing some libraries from the vps, try to install it or contact the host.
Reply
#7

Getting new error

Код:
in _IO_un_link_internal () from /lib/libc.so.6
Reply
#8

Upgrading to include files.. To Contact on your host/vps company.. Damn off.
Reply
#9

pawno includes
Reply
#10

Output from crashdetect
Код:
[13:10:55] [debug] Server crashed while executing RHARP.amx
[13:10:56] [debug] AMX backtrace:
[13:10:57] [debug] #0 native fclose () [0809acc0] from samp03svr
[13:10:57] [debug] #1 000d57b8 in ?? (0x076a3ba4, 0x088acf60) from RHARP.amx
[13:10:57] [debug] #2 00410080 in ?? (0x00000000, 0x00000001) from RHARP.amx
[13:10:57] [debug] #3 0000cd24 in public Itter_OnPlayerDisconnect (0x00000000, 0x00000001) from RHARP.amx
[13:10:57] [debug] #4 00007e9c in public SSCANF_OnPlayerDisconnect (0x00000000, 0x00000001) from RHARP.amx
[13:10:57] [debug] #5 native CallLocalFunction () [080dce40] from samp03svr
[13:10:57] [debug] #6 00000e4c in public OnPlayerDisconnect (0x00000000, 0x00000001) from RHARP.amx
[13:10:57] [debug] Native backtrace:
[13:10:58] [debug] #0 b74d0a4b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[13:10:58] [debug] #1 b74cbc92 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[13:10:58] [debug] #2 b74cc87c in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[13:10:58] [debug] #3 b74ccd26 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[13:10:58] [debug] #4 b74d069c in ?? () from plugins/crashdetect.so
[13:10:58] [debug] #5 b77ce600 in ?? ()
[13:10:58] [debug] #6 b7602481 in fclose () from /lib/libc.so.6
[13:10:58] [debug] #7 b753d760 in fclose () from /lib/libc.so.6
[13:10:58] [debug] #8 0809acd4 in ?? () from ./samp03svr
[13:10:58] [debug] #9 08094054 in ?? () from ./samp03svr
[13:10:58] [debug] #10 b74286e4 in ?? () from plugins/streamer.so
[13:10:58] [debug] #11 b74c956c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[13:10:58] [debug] #12 b74cf6d8 in ?? () from plugins/crashdetect.so
[13:10:58] [debug] #13 b74d2dce in amx_Exec () from plugins/crashdetect.so
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)