SA:MP 0.3.7 R2 server problem.
#1

Hello, so yea, i'm trying to run a server in a CentOS 7 vps.

So after i start the server using nohup or simply ./samp03svr, after 5-10 minutes the server crash giving me this log
Код:
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Код:
[18:25:44] [debug] Server crashed due to an unknown error
[18:25:44] [debug] Native backtrace:
[18:25:44] [debug] #0 f72be180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[18:25:44] [debug] #1 f72b6064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[18:25:44] [debug] #2 f72b6d64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[18:25:44] [debug] #3 f72b8cdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[18:25:44] [debug] #4 f72bd4d5 in ?? () from plugins/crashdetect.so
[18:25:44] [debug] #5 f771d410 in ?? ()
[18:25:44] [debug] #6 f771d430 in ?? ()
[18:25:44] [debug] #7 f73fa2d7 in gsignal () from /lib/libc.so.6
[18:25:44] [debug] #8 f73fbb13 in abort () from /lib/libc.so.6
[18:25:44] [debug] #9 f763688d in _ZN9__gnu_cxx27__verbose_terminate_handlerEv () from /lib/libstdc++.so.6
[18:25:44] [debug] #10 f7634353 in ?? () from /lib/libstdc++.so.6
[18:25:44] [debug] #11 f763438f in ?? () from /lib/libstdc++.so.6
[18:25:44] [debug] #12 f763465a in __cxa_rethrow () from /lib/libstdc++.so.6
[18:25:44] [debug] #13 f5f093ff in _ZNSt8__detail9_Map_baseIhSt4pairIKhNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS9_ENS_10_Select1stESt8equal_toIhESt4hashIhENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb0ELb0ELb1EEELb1EEixEOh () from plugins/YSF.so
[18:25:44] [debug] #14 f5f0775c in ?? () from plugins/YSF.so
[18:25:44] [debug] #15 f720cc22 in sampgdk_SetPlayerObjectMaterialText () from plugins/streamer.so
[18:25:44] [debug] #16 f726319f in _ZN8Streamer13streamObjectsER6Playerb () from plugins/streamer.so
[18:25:44] [debug] #17 f72683e9 in _ZN8Streamer24performPlayerChunkUpdateER6Playerb () from plugins/streamer.so
[18:25:44] [debug] #18 f726a7fa in _ZN8Streamer20startAutomaticUpdateEv () from plugins/streamer.so
[18:25:44] [debug] #19 f7227c15 in ProcessTick () from plugins/streamer.so
[18:25:44] [debug] #20 080d1ce2 in ?? () from ./samp03svr
[18:25:44] [debug] #21 080aef6c in ?? () from ./samp03svr
[18:25:44] [debug] #22 080aa13a in ?? () from ./samp03svr
[18:25:44] [debug] #23 f73e5a43 in __libc_start_main () from /lib/libc.so.6
[18:25:44] [debug] Registers:
[18:25:44] [debug] EAX: 00000000 EBX: 00004e19 ECX: 00004e19 EDX: 00000006
[18:25:44] [debug] ESI: 081a18ec EDI: f7588000 EBP: f1506fc8 ESP: ff95db74
[18:25:44] [debug] EIP: f771d430 EFLAGS: 00000246
[18:25:44] [debug] Stack:
[18:25:44] [debug] ESP+00000000: f1506fc8 00000006 00004e19 f73fa2d7
[18:25:44] [debug] ESP+00000020: ff95dba4 00000000 f75efa9c ff95dc08
[18:25:44] [debug] ESP+00000040: 00000000 00000000 00000000 00000000
[18:25:44] [debug] ESP+00000060: 00000000 00000000 00000000 00000000
[18:25:44] [debug] ESP+00000080: 00000000 00000000 00000000 00000000
[18:25:44] [debug] ESP+000000a0: 00000000 00000000 00000000 00000000
[18:25:44] [debug] ESP+000000c0: f75889c7 0000000a f743c810 f7588980
[18:25:44] [debug] ESP+000000e0: f770afed f76fbad0 f75a7bd0 00000001
[18:25:44] [debug] ESP+00000100: 00000005 00000001 f7588000 f7588980
[18:25:44] [debug] ESP+00000120: f76cd000 081a18ec f769fd22 f1506fc8
[18:25:44] [debug] ESP+00000140: 081a18ec f769fd22 f763688d 0000000a
[18:25:44] [debug] ESP+00000160: f770afed 00000000 98bb9f00 00000001
[18:25:44] [debug] ESP+00000180: 474e5543 f1506fa0 f7634353 0c5ae960
[18:25:44] [debug] ESP+000001a0: f7634346 f76cd000 f763438f f76366f0
[18:25:44] [debug] ESP+000001c0: f7634376 f76cd000 f763465a f1506fa0
[18:25:44] [debug] ESP+000001e0: 0c5ae96d f7634609 f6025658 0c5ae960
[18:25:44] [debug] ESP+00000200: 00000000 f6025658 f5f083ff 000002c2
[18:25:44] [debug] ESP+00000220: f6025658 09525ff4 f6025658 00000001
[18:25:44] [debug] ESP+00000240: ff95ddfd ff95de48 f5f076a8 0c37c748
[18:25:44] [debug] ESP+00000260: 005a3801 ff95de08 000002c2 00000000
[18:25:44] [debug] ESP+00000280: 00000006 00004b7f 02c200f1 ff95de08
[18:25:44] [debug] ESP+000002a0: 00000007 ff95de20 00000006 61706d49
[18:25:44] [debug] ESP+000002c0: 099ebbb4 f5f0754e f728d6e0 f5f07540
[18:25:44] [debug] ESP+000002e0: ff95de94 ff95dec4 099ebb94 00000000
[18:25:44] [debug] ESP+00000300: ffc70039 00000000 00000001 00000000
[18:25:44] [debug] ESP+00000320: 0000002c 00000006 000002c2 00000000
[18:25:44] [debug] ESP+00000340: 00000001 ffc70039 00000000 00000001
[18:25:44] [debug] ESP+00000360: 0c5ae6c8 ff95e018 f726319f 00000006
[18:25:44] [debug] ESP+00000380: 099ebbb4 00000038 00000001 ffc70039
[18:25:44] [debug] ESP+000003a0: 095201c8 f76cd000 f7699e0b 0c5ae628
[18:25:44] [debug] ESP+000003c0: f727e34f f727e334 f727e35a f7275c7d
[18:25:44] [debug] ESP+000003e0: 098f3ff0 ff95df98 015201c8 00000228
[18:25:44] [debug] Loaded modules:
[18:25:44] [debug] 00000000 - 00187dc3 samp03svr
[18:25:44] [debug] f771f000 - f771f530
[18:25:44] [debug] f76f0000 - f76f26ec /lib/libdl.so.2
[18:25:44] [debug] f76d5000 - f76eeb47 /lib/libpthread.so.0
[18:25:44] [debug] f75ea000 - f76dbc10 /lib/libstdc++.so.6
[18:25:44] [debug] f75a8000 - f75e9138 /lib/libm.so.6
[18:25:44] [debug] f758c000 - f75a5718 /lib/libgcc_s.so.1
[18:25:44] [debug] f73cc000 - f75935f7 /lib/libc.so.6
[18:25:44] [debug] f76fc000 - f771e720 /lib/ld-linux.so.2
[18:25:44] [debug] f72e4000 - f73cc3e9 plugins/pawncmd.so
[18:25:44] [debug] f72a0000 - f72e2ac4 plugins/crashdetect.so
[18:25:44] [debug] f7290000 - f729f1d4 plugins/sscanf.so
[18:25:44] [debug] f71d5000 - f728f681 plugins/streamer.so
[18:25:44] [debug] f71c6000 - f71ccc0c /lib/librt.so.1
[18:25:44] [debug] f6e23000 - f71cb257 plugins/mysql_static.so
[18:25:44] [debug] f6410000 - f6421680 /lib/libnss_files.so.2
[18:25:44] [debug] f6406000 - f640ed1c plugins/Whirlpool.so
[18:25:44] [debug] f60dd000 - f610004f plugins/SKY.so
[18:25:44] [debug] f6078000 - f60dce6e plugins/regex.so
[18:25:44] [debug] f5e41000 - f607e854 plugins/YSF.so
[18:25:44] [debug] f76f6000 - f76f7f70 plugins/nativechecker.so
[18:25:44] [debug] f32c4000 - f32c8cb8 /lib/libnss_dns.so.2
[18:25:44] [debug] f32aa000 - f32c2704 /lib/libresolv.so.2
VPS:
Код:
CPU:
2 vCore
RAM:
4096 MB
Storage:
60 GB SSD
Already contact support for the issue and he said that's a plugin issue, tried to g00gle the issue and it was on streamer(issues/github) and YSF. I changed the plugin version for both and still the same issue.
If anybody here, had or know the issue please help me regarding this.
Reply
#2

Make sure when you change the plugin version to recompile the script with the same versions otherwise you'll be using conflicting versions. That could very well be your problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)