Closed eveferon closed 8 months ago
From the conversation in discord, it appears to be a call of GetDamageDealtByType() in a script where OBJECT_SELF is not valid
https://discord.com/channels/382306806866771978/1053621028078755851/1213616095164891166
To Reproduce
Crash Dump
Our logs gets corrupted during this crash for whatever reason. I can only see the backtrace in the terminal with the process running.
nwserver_1 | ============================================================== nwserver_1 | NWNX 8193.36-12 (89028d9) has crashed. Fatal error: Segmentation fault (11). nwserver_1 | Please file a bug at https://github.com/nwnxee/unified/issues nwserver_1 | ============================================================== nwserver_1 | nwserver_1 | Backtrace: nwserver_1 | /nwn/nwnx/NWNX_Core.so(_ZN7NWNXLib8Platform13GetStackTraceB5cxx11Eh+0x3b) [0x7f223e8e74db] nwserver_1 | /nwn/nwnx/NWNX_Core.so(nwnx_signal_handler+0xac) [0x7f223e894abc] nwserver_1 | /lib/x86_64-linux-gnu/libc.so.6(+0x37970) [0x7f223e383970] nwserver_1 | ./nwserver(_ZN26CNWSVirtualMachineCommands34ExecuteCommandGetDamageDealtByTypeEii+0xbe) [0x55cb295138ee] nwserver_1 | ./nwserver(_ZN15CVirtualMachine11ExecuteCodeEPiSt10shared_ptrI9DataBlockEP31CVirtualMachineDebuggingContext+0x800) [0x55cb298ae790] nwserver_1 | ./nwserver(_ZN15CVirtualMachine13RunScriptFileEi+0x9d) [0x55cb298b00cd] nwserver_1 | ./nwserver(_ZN15CVirtualMachine9RunScriptEP10CExoStringjii+0x1fe) [0x55cb298b04ce] nwserver_1 | /nwn/nwnx//NWNX_Profiler.so(+0x1f7df) [0x7f223c0cf7df] nwserver_1 | ./nwserver(_ZN26CNWSVirtualMachineCommands27ExecuteCommandExecuteScriptEii+0xb0) [0x55cb294f28f0] nwserver_1 | ./nwserver(_ZN15CVirtualMachine11ExecuteCodeEPiSt10shared_ptrI9DataBlockEP31CVirtualMachineDebuggingContext+0x800) [0x55cb298ae790] nwserver_1 | ./nwserver(_ZN15CVirtualMachine13RunScriptFileEi+0x9d) [0x55cb298b00cd] nwserver_1 | ./nwserver(_ZN15CVirtualMachine18RunScriptSituationEPvji+0xd5) [0x55cb298b0a35] nwserver_1 | ./nwserver(_ZN12CNWSCreature12EventHandlerEjjPvjj+0xb7b) [0x55cb2934d60b] nwserver_1 | ./nwserver(_ZN15CServerAIMaster11UpdateStateEv+0x53a) [0x55cb294615aa] nwserver_1 | /nwn/nwnx//NWNX_Profiler.so(_ZN8Profiler15AIMasterUpdates14AIMasterUpdateEP15CServerAIMaster+0x716) [0x7f223c0c8986] nwserver_1 | /nwn/nwnx//NWNX_Profiler.so(+0x17683) [0x7f223c0c7683] nwserver_1 | ./nwserver(_ZN21CServerExoAppInternal8MainLoopEv+0x8ac) [0x55cb2947641c] nwserver_1 | /nwn/nwnx//NWNX_Profiler.so(+0x18ed3) [0x7f223c0c8ed3] nwserver_1 | /nwn/nwnx//NWNX_Profiler.so(_ZN8Profiler8Profiler14MainLoopUpdateEP21CServerExoAppInternal+0x3d) [0x7f223c0c26ed] nwserver_1 | ./nwserver(main+0x13f5) [0x55cb291338f5]
Specifics
From the conversation in discord, it appears to be a call of GetDamageDealtByType() in a script where OBJECT_SELF is not valid
https://discord.com/channels/382306806866771978/1053621028078755851/1213616095164891166
To Reproduce
Crash Dump
Our logs gets corrupted during this crash for whatever reason. I can only see the backtrace in the terminal with the process running.
Specifics