Ravine
Joined: 26 Jul 2006 Posts: 105
|
Posted: Tue Feb 03, 2015 21:29 Post subject: Crashing nwn server |
|
|
Hi,
i'm just logging my new crash-log here for future reference. Getting segfaults on a VPS server with this gdb infos:
Random crash about 2-4 times per day, with 6-9 players:
Code: |
#0 0x082c9c30 in CExoLinkedListInternal::RemoveHead(void) ()
#1 0x082d1009 in CExoLocStringInternal::ClearLocString(void) ()
#2 0x082d0fcc in CExoLocStringInternal::~CExoLocStringInternal(void) ()
#3 0x082c9f7c in CExoLocString::~CExoLocString(void) ()
#4 0x081c91bd in CNWSObject::~CNWSObject(void) ()
#5 0x0819f212 in CNWSItem::~CNWSItem(void) ()
#6 0x0819fe30 in CNWSItem::EventHandler(unsigned long, unsigned long, void *, unsigned long, unsigned long) ()
#7 0x08095f96 in CServerAIMaster::UpdateState(void) ()
#8 0x080a0530 in CServerExoAppInternal::MainLoop(void) ()
#9 0x0804bbe7 in main ()
|
Code: |
#0 0x082c9c30 in CExoLinkedListInternal::RemoveHead(void) ()
#1 0x080e518e in CNWSCombatRound::RemoveAllActions(void) ()
#2 0x0813c575 in CNWSCreature::SetCombatState(int) ()
#3 0x081fe143 in CNWVirtualMachineCommands::ExecuteCommandClearAllActions(int, int) ()
#4 0x08231a7e in CNWVirtualMachineCommands::ExecuteCommand(int, int) ()
#5 0x0826042e in CVirtualMachine::ExecuteCode(int *, char *, int, CVirtualMachineDebuggingContext *) ()
#6 0x082627d7 in CVirtualMachine::RunScriptFile(int) ()
#7 0x082621d3 in CVirtualMachine::RunScript(CExoString *, unsigned long, int) ()
#8 0x081fdf1f in CNWVirtualMachineCommands::ExecuteCommandExecuteScript(int, int) ()
#9 0x08231a7e in CNWVirtualMachineCommands::ExecuteCommand(int, int) ()
#10 0x0826042e in CVirtualMachine::ExecuteCode(int *, char *, int, CVirtualMachineDebuggingContext *) ()
#11 0x082627d7 in CVirtualMachine::RunScriptFile(int) ()
#12 0x082621d3 in CVirtualMachine::RunScript(CExoString *, unsigned long, int) ()
#13 0x081fdf1f in CNWVirtualMachineCommands::ExecuteCommandExecuteScript(int, int) ()
#14 0x08231a7e in CNWVirtualMachineCommands::ExecuteCommand(int, int) ()
#15 0x0826042e in CVirtualMachine::ExecuteCode(int *, char *, int, CVirtualMachineDebuggingContext *) ()
#16 0x082627d7 in CVirtualMachine::RunScriptFile(int) ()
#17 0x082621d3 in CVirtualMachine::RunScript(CExoString *, unsigned long, int) ()
#18 0x081fdf1f in CNWVirtualMachineCommands::ExecuteCommandExecuteScript(int, int) ()
#19 0x08231a7e in CNWVirtualMachineCommands::ExecuteCommand(int, int) ()
#20 0x0826042e in CVirtualMachine::ExecuteCode(int *, char *, int, CVirtualMachineDebuggingContext *) ()
#21 0x082627d7 in CVirtualMachine::RunScriptFile(int) ()
#22 0x082621d3 in CVirtualMachine::RunScript(CExoString *, unsigned long, int) ()
#23 0x0811d4e3 in CNWSCreature::EventHandler(unsigned long, unsigned long, void *, unsigned long, unsigned long) ()
#24 0x08095f96 in CServerAIMaster::UpdateState(void) ()
#25 0x080a0530 in CServerExoAppInternal::MainLoop(void) ()
#26 0x0804bbe7 in main ()
|
Code: |
#0 0x082d123c in CExoLinkedList<ExoLocString_st>::GetHead(void) ()
#1 0x082d0d96 in CExoLocStringInternal::Assign(CExoLocStringInternal *) ()
#2 0x082ca02d in CExoLocString::operator=(CExoLocString const &) ()
#3 0x081a4fea in CNWSItem::CopyItem(CNWSItem *, int) ()
#4 0x0821fd84 in CNWVirtualMachineCommands::ExecuteCommandCopyItem(int, int) ()
#5 0x08231a7e in CNWVirtualMachineCommands::ExecuteCommand(int, int) ()
#6 0x0826042e in CVirtualMachine::ExecuteCode(int *, char *, int, CVirtualMachineDebuggingContext *) ()
#7 0x082627d7 in CVirtualMachine::RunScriptFile(int) ()
#8 0x08262629 in CVirtualMachine::RunScriptSituation(void *, unsigned long, int) ()
#9 0x080cc625 in CNWSArea::EventHandler(unsigned long, unsigned long, void *, unsigned long, unsigned long) ()
#10 0x08095fd0 in CServerAIMaster::UpdateState(void) ()
#11 0x080a0530 in CServerExoAppInternal::MainLoop(void) ()
#12 0x0804bbe7 in main ()
|
Code: |
#0 0x082d123c in CExoLinkedList<ExoLocString_st>::GetHead(void) ()
#1 0x082d0d96 in CExoLocStringInternal::Assign(CExoLocStringInternal *) ()
#2 0x082ca02d in CExoLocString::operator=(CExoLocString const &) ()
#3 0x082069f1 in CNWVirtualMachineCommands::ExecuteCommandGetName(int, int) ()
#4 0x08231a7e in CNWVirtualMachineCommands::ExecuteCommand(int, int) ()
#5 0x0826042e in CVirtualMachine::ExecuteCode(int *, char *, int, CVirtualMachineDebuggingContext *) ()
#6 0x082627d7 in CVirtualMachine::RunScriptFile(int) ()
#7 0x082621d3 in CVirtualMachine::RunScript(CExoString *, unsigned long, int) ()
#8 0x081fdf1f in CNWVirtualMachineCommands::ExecuteCommandExecuteScript(int, int) ()
#9 0x08231a7e in CNWVirtualMachineCommands::ExecuteCommand(int, int) ()
#10 0x0826042e in CVirtualMachine::ExecuteCode(int *, char *, int, CVirtualMachineDebuggingContext *) ()
#11 0x082627d7 in CVirtualMachine::RunScriptFile(int) ()
#12 0x082621d3 in CVirtualMachine::RunScript(CExoString *, unsigned long, int) ()
#13 0x0811d4e3 in CNWSCreature::EventHandler(unsigned long, unsigned long, void *, unsigned long, unsigned long) ()
#14 0x08095f96 in CServerAIMaster::UpdateState(void) ()
#15 0x080a0530 in CServerExoAppInternal::MainLoop(void) ()
#16 0x0804bbe7 in main ()
|
Getting this when a dm joins, but i can overcome this by running libdiehard (malloc problem, double free or something):
Code: |
#0 0xb7507387 in raise () from /lib/i386-linux-gnu/libc.so.6
#1 0xb750a772 in abort () from /lib/i386-linux-gnu/libc.so.6
#2 0xb754373d in ?? () from /lib/i386-linux-gnu/libc.so.6
#3 0xb754d83a in ?? () from /lib/i386-linux-gnu/libc.so.6
#4 0xb754f098 in ?? () from /lib/i386-linux-gnu/libc.so.6
#5 0xb755221d in free () from /lib/i386-linux-gnu/libc.so.6
#6 0x0830cdd6 in __builtin_delete (ptr=0x17bf79b0)
#7 0x08076c7c in CNWSMessage::SendServerToPlayerDungeonMasterCreatorLists(CNWSPlayer *) ()
#8 0x080a1aa7 in CServerExoAppInternal::InitiateModuleForPlayer(void *) ()
#9 0x08196ef8 in CNWSMessage::HandlePlayerToServerModuleMessage(CNWSPlayer *, unsigned char) ()
#10 0x081966be in CNWSMessage::HandlePlayerToServerMessage(unsigned long, unsigned char *, unsigned long) ()
#11 0x0809e01a in CServerExoAppInternal::HandleMessage(unsigned long, unsigned char *, unsigned long, int) ()
#12 0x082a0888 in CNetLayerInternal::UncompressMessage(unsigned long, unsigned char *, unsigned long) ()
#13 0x0829f2d5 in CNetLayerWindow::UnpacketizeFullMessages(int) ()
#14 0x082a07c3 in CNetLayerInternal::ProcessReceivedFrames(int) ()
#15 0x080a04f4 in CServerExoAppInternal::MainLoop(void) ()
#16 0x0804bbe7 in main ()
|
|
|