Came across this crash when i was using the local.player.inventory command
Code:
Got signal 11 - Segmentation fault, faulty address is 0x23ca8
Crash Recover Attempt will take place!
Execution path:
--> ./fgameded.so(PL_Inventory+0x1c5) [0xf6402581]
--> ./fgamededmohaa.so(_ZN8ScriptVM7ExecuteEP14ScriptVariablei9const_str+0x242b) [0xf606be9b]
--> ./fgamededmohaa.so(_ZN12ScriptMaster14ExecuteRunningEv+0xd9) [0xf604f7c9]
--> ./fgamededmohaa.so(G_RunFrame+0x258) [0xf6102078]
--> ./fgameded.so(G_RunFrame+0x7d8) [0xf64063bc]
--> ./mohaa_lnxded [0x808d7ab]
--> ./mohaa_lnxded [0x8067486]
--> ./mohaa_lnxded [0x809726e]
--> /lib/libc.so.6(__libc_start_main+0xdc) [0xb06ebc]
--> ./mohaa_lnxded(_Znwj+0x71) [0x8049c41]
[OVERLORD] ERROR Server has died, return code 0
[OVERLORD] INFO Starting server
Only happens on a linux server , windows works fine.
Using the command like
Code:
for(local.i = 0; local.i <= local.player.inventory.size; local.i++)
{
if(local.player.inventory[local.i] != NIL)
level.inv[local.player.entnum][local.i] = local.player.inventory[local.i].model
waitframe
}
Which works fine on a windows server, but causes a crash on linux.