Crash on EntityList::AIYellForHelp?
I'm seeing a lot of this in core dumps. Whenever this function is called, it occasionally puts this out with this:
Code:
0x081d080a in EntityList::AIYellForHelp (this=0x8373ec0, sender=0x8bf3738, attacker=0x8c265b0) at aggro.cpp:437 Code:
if ( Anyone have an idea on how to fix this? |
Is this crash occurrng with the current stock source ?
It would appear that none of the pointers can be NULL at that point, so the only reason for a crash would be a pointer to a mob instance that has been destroyed and not been removed from the entity list. I made some fixes a while ago, so that shouldn't be able to happen. Without knowing how to reproduce it, it will difficult to track down. |
Quote:
I'll look into the entity list and see if anything is screwed up there. I might have missed something when I merged in SVN, but I doubt it. |
Ok, looked in source, didn't see any of the changes related to the entity list that I made nor aggro.cpp or hate_list.cpp. Kind of lost still. :/
|
The fixes I made that were meant to stop that where in the mob destructor:
mob.cpp Code:
Mob::~Mob() client.cpp Code:
Client::~Client() { |
I have both of the code in green. I'm not sure what could be causing it, still. Is there any way to use gdb to figure out the issue otherwise?
|
I've seen a few core dumps from PEQ in the past that have this. The stack trace was really odd too, I couldn't figure out where it was crashing at all.
|
All times are GMT -4. The time now is 05:51 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.