logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
DM Possess crash possibly caused by nwnx_areas

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux development
View previous topic :: View next topic  
Author Message
farhorizon



Joined: 07 Dec 2012
Posts: 12

PostPosted: Sun Mar 01, 2015 2:48    Post subject: DM Possess crash possibly caused by nwnx_areas Reply with quote

Once every few days I see a crash due to a DM possessing a creature.

Does anyone else still see this crash while using nwnx_areas?

Code:

#0  0x0810e7d9 in CNWSCreature::PossessCreature(unsigned long) ()
#1  0x081133ca in CNWSCreature::PossessCreatureDM(unsigned long, unsigned char) ()
#2  0x08165e3e in CNWSDungeonMaster::PossessCreature(unsigned long, unsigned char) ()
#3  0x0818893a in CNWSMessage::HandlePlayerToServerDungeonMasterMessage(CNWSPlayer *, unsigned char, int) ()
#4  0x08196905 in CNWSMessage::HandlePlayerToServerMessage(unsigned long, unsigned char *, unsigned long) ()



This is pretty similar to a stack trace reported in the nwnx_areas thread, though it is unpossess, rather than possess.

axs wrote:
I'm wondering if only I have a problem.
Most likely minimap tiles data are not reallocated properly in some circumstances on large server, there is no way to crash server localy while testing, but when there is lot of players and action it's happen often.

It's related mostly to PlayerUpdateObject, DMs Un/Possession.

Code:
#0  0xb7d9b9f6 in memcpy () from /lib/libc.so.6
#1  0x0000019f in ?? ()
#2  0x080606e9 in CNWSPlayerTURD::CopyAutomapData(int, CExoArrayList<unsigned long> *, unsigned char **) ()
#3  0x0805434c in CNWSPlayer::DropTURD(void) ()
#4  0x080a4ead in CServerExoAppInternal::RemovePCFromWorld(CNWSPlayer *) ()
#5  0x080a24f4 in CServerExoAppInternal::PlayerListChange(unsigned long, int, int) ()
#6  0x082aa08c in CNetLayerInternal::DisconnectPlayer(unsigned long, unsigned long, int, int) ()


Code:
#0  0x0810e8d8 in CNWSCreature::UnpossessCreature(void) ()
#1  0x08113430 in CNWSCreature::UnpossessCreatureDM(void) ()
#2  0x08165fd0 in CNWSDungeonMaster::PossessCreature(unsigned long, unsigned char) ()
#3  0x08188762 in CNWSMessage::HandlePlayerToServerDungeonMasterMessage(CNWSPlayer *, unsigned char, int) ()
#4  0x08196905 in CNWSMessage::HandlePlayerToServerMessage(unsigned long, unsigned char *, unsigned long) ()
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux development All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group