[12:41:31] [debug] Server crashed due to an unknown error [12:41:31] [debug] Native backtrace: [12:41:31] [debug] #0 f7406e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [12:41:31] [debug] #1 f73ffbcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [12:41:31] [debug] #2 f7400dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [12:41:31] [debug] #3 f7401226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [12:41:31] [debug] #4 f7406adc in ?? () from plugins/crashdetect.so [12:41:31] [debug] #5 f76e6410 in ?? () [12:41:31] [debug] #6 f76e6430 in ?? () [12:41:31] [debug] #7 f7455661 in gsignal () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 [12:41:31] [debug] #8 f7458a92 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 [12:41:31] [debug] #9 f7490dc5 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 [12:41:31] [debug] #10 f749aeb1 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 [12:41:31] [debug] #11 f749b30a in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 [12:41:31] [debug] #12 f749d425 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 [12:41:31] [debug] #13 f749f92c in __libc_malloc () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 [12:41:31] [debug] #14 f76217b5 in _Znwj () from /usr/lib/i386-linux-gnu/libstdc++.so.6 [12:41:31] [debug] #15 0807db7c in ?? () from ./samp03svr [12:41:31] [debug] #16 080705bf in ?? () from ./samp03svr [12:41:31] [debug] #17 08074928 in ?? () from ./samp03svr [12:41:31] [debug] #18 080763fe in ?? () from ./samp03svr [12:41:31] [debug] #19 f76c4c39 in ?? () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 [12:41:31] [debug] #20 f7501c6e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
Try monitoring your RAM usage, could be that your server process is running out of it.
|
post ur server.cfg here, also did u update crashdetect plugin? if no, try it
|
echo Executing Server Config... lanmode 0 rcon_password rcon 0 maxplayers 102 port 7777 hostname gamemode0 vrp filterscripts sunglasses savemods announce 1 query 1 weburl Comming Soon maxnpc 2 ackslimit 5500 messageholelimit 5000 onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 250.0 stream_rate 300 plugins crashdetect.so streamer.so sscanf.so irc.so
what about using a sample GM like bar.amx, barron.amx, grandlarc.amx or... with CURRENT server.cfg and check the output?
Also: remove streamer.so sscanf.so irc.so plugins when using one of those GMs ? |
[13:43:20] [debug] AMX backtrace: [13:43:20] [debug] #0 000a6514 in public TempData () from vrp.amx [13:44:24] [debug] Run time error 4: "Array index out of bounds" [13:44:24] [debug] Accessing element at index 952 past array upper bound 951 [13:44:24] [debug] AMX backtrace: [13:44:24] [debug] #0 000a6514 in public TempData () from vrp.amx [13:45:15] [connection] 5.44.168.102:59881 requests connection cookie. [13:45:16] [connection] incoming connection: 5.44.168.102:59881 id: 2 [13:45:16] [join] Nikita_Proxorov has joined the server (2:5.44.168.102) [13:45:28] [debug] Run time error 4: "Array index out of bounds" [13:45:28] [debug] Accessing element at index 952 past array upper bound 951 [13:45:28] [debug] AMX backtrace: [13:45:28] [debug] #0 000a6514 in public TempData () from vrp.amx [13:45:47] [part] Nikita_Proxorov has left the server (2:2) [13:46:15] [connection] 5.44.168.102:59889 requests connection cookie. [13:46:16] [connection] incoming connection: 5.44.168.102:59889 id: 2 [13:46:16] [join] Nikita_Proxorov has joined the server (2:5.44.168.102) [13:46:20] [part] Nikita_Proxorov has left the server (2:2) [13:46:32] [debug] Run time error 4: "Array index out of bounds" [13:46:32] [debug] Accessing element at index 952 past array upper bound 951 [13:46:32] [debug] AMX backtrace: [13:46:32] [debug] #0 000a6514 in public TempData () from vrp.amx [13:47:36] [debug] Run time error 4: "Array index out of bounds" [13:47:36] [debug] Accessing element at index 952 past array upper bound 951 [13:47:36] [debug] AMX backtrace: [13:47:36] [debug] #0 000a6514 in public TempData () from vrp.amx [13:48:40] [debug] Run time error 4: "Array index out of bounds" [13:48:40] [debug] Accessing element at index 952 past array upper bound 951 [13:48:40] [debug] AMX backtrace: [13:48:40] [debug] #0 000a6514 in public TempData () from vrp.amx [13:49:44] [debug] Run time error 4: "Array index out of bounds" [13:49:44] [debug] Accessing element at index 952 past array upper bound 951 [13:49:44] [debug] AMX backtrace: [13:49:44] [debug] #0 000a6514 in public TempData () from vrp.amx [13:50:48] [debug] Run time error 4: "Array index out of bounds" [13:50:48] [debug] Accessing element at index 952 past array upper bound 951 [13:50:48] [debug] AMX backtrace: [13:50:48] [debug] #0 000a6514 in public TempData () from vrp.amx [13:51:24] [connection] 42.112.228.136:38910 requests connection cookie. [13:51:25] [connection] incoming connection: 42.112.228.136:38910 id: 2 [13:51:27] [join] Vu_Pham has joined the server (2:42.112.228.136) [13:51:52] [debug] Run time error 4: "Array index out of bounds" [13:51:52] [debug] Accessing element at index 952 past array upper bound 951 [13:51:52] [debug] AMX backtrace: [13:51:52] [debug] #0 000a6514 in public TempData () from vrp.amx [13:52:13] Vu_Pham's account created. [13:52:56] [debug] Run time error 4: "Array index out of bounds" [13:52:56] [debug] Accessing element at index 952 past array upper bound 951 [13:52:56] [debug] AMX backtrace: [13:52:56] [debug] #0 000a6514 in public TempData () from vrp.amx [13:53:29] [connection] 86.126.57.185:1126 requests connection cookie. [13:53:30] [connection] incoming connection: 86.126.57.185:1126 id: 3 [13:53:31] [join] HappyMario has joined the server (3:86.126.57.185) [13:53:31] [debug] Run time error 4: "Array index out of bounds" [13:53:31] [debug] Accessing element at index 255 past array upper bound 99 [13:53:31] [debug] AMX backtrace: [13:53:31] [debug] #0 0007f12c in public FIXES_OnPlayerDisconnect (3, 2) from vrp.amx [13:53:31] [debug] #1 00000e58 in public OnPlayerDisconnect (3, 2) from vrp.amx [13:53:31] [debug] #2 native Kick () from samp03svr [13:53:31] [debug] #3 00004854 in ?? (3) from vrp.amx [13:53:31] [debug] #4 00026328 in public ToKick (3) from vrp.amx [13:53:31] [part] HappyMario has left the server (3:2) [13:54:00] [debug] Run time error 4: "Array index out of bounds" [13:54:00] [debug] Accessing element at index 952 past array upper bound 951 [13:54:00] [debug] AMX backtrace: [13:54:00] [debug] #0 000a6514 in public TempData () from vrp.amx [13:55:04] [debug] Run time error 4: "Array index out of bounds" [13:55:04] [debug] Accessing element at index 952 past array upper bound 951 [13:55:04] [debug] AMX backtrace: [13:55:04] [debug] #0 000a6514 in public TempData () from vrp.amx [13:55:39] [debug] Run time error 4: "Array index out of bounds" [13:55:39] [debug] Accessing element at index 255 past array upper bound 99 [13:55:39] [debug] AMX backtrace: [13:55:39] [debug] #0 0007f12c in public FIXES_OnPlayerDisconnect (2, 1) from vrp.amx [13:55:39] [debug] #1 00000e58 in public OnPlayerDisconnect (2, 1) from vrp.amx
[23:19:06] [debug] #0 000d1f60 in public TempData () at C:\Users\Admin\Desktop\samp03\gamemodes\vrp.pwn:17382 [23:20:10] [debug] Run time error 4: "Array index out of bounds" [23:20:10] [debug] Accessing element at index 952 past array upper bound 951
if(Vehicles[i][carprice] >= 0 || Vehicles[i][cartype]==4 || Vehicles[i][cartype]==5 || Vehicles[i][cartype]==6 || Vehicles[i][cartype]==7 || Vehicles[i][cartype]==8)
Now its a programming mistake, not about incs/plugins...
That warning means Somewhere you are using index 952 of a array, while you just have 951 indexes in that array -1 look which define/variable is 951 (by default) -2 find where you used that define/variable -3 use printf("%i", YOUR-VARIABLE); around of that place, to see where the index increases to 952. and commenting part of codes(in those functions) may helps Also, check the database... maybe 1 additional row was inserted into the table. (952/951 max rows) |
for(new i=0;i<MAX_VEHICLES;i++) { if(Vehicles[i][respawncar]==1 && !IsVehicleOccupied(i)) { SetVehicleToRespawn(i); } }
if(Vehicles[i][respawncar]==1 && !IsVehicleOccupied(i))
1- What is value of MAX_VEHICLES ?
2- Show me your IsVehicleOccupied function 3- What type of database you are using? MySQL/SQLite/Flatfile... and is there a recorde with ID 0 ? in that database NOTE: Always put GetVehicleModel(i) in if(Vehicles[i][respawncar]==1 && !IsVehicleOccupied(i)), to make sure that vehicle is a valid vehicle. |
#undef MAX_VEHICLES #define MAX_VEHICLES 1000
2- The problem is not in IsVehicleOccupied function, becuase it's being used on much other situations and it doesn't give a erro |
man, just post it... and dont trust that crashinfo/nativechecker plugins. sometimes they cant trace the correct location of error/warning
also u didnt answer me, is there a recorde with ID 0? in that database also replace for(new i=1 instead of for(new i=0 then recompile and try it |
for(new i=1;i<MAX_VEHICLES;i++) { if(IsVehicleOccupied(i)) continue; if(Vehicles[i][respawncar]!=1) continue; SetVehicleToRespawn(i); }
if(Vehicles[i][respawncar]!=1)
for(new i = 1; i < sizeof(Vehicles); i++) { if(!IsVehicleConnected(i)) continue; if(IsVehicleOccupied(i)) continue; if(Vehicles[i][respawncar]!=1) continue; SetVehicleToRespawn(i); }