[FIXED?]World Crash - Delayed Spawn removal

Old bugs stored here for reference.
Locked
User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

[FIXED?]World Crash - Delayed Spawn removal

Post by John Adams » Sun Aug 11, 2013 9:17 pm

Stack
> EQ2World.exe!ZoneServer::DelayedSpawnRemoval(bool force_delete_all) Line 1038 + 0x2 bytes C++
EQ2World.exe!ZoneServer::Process() Line 1144 C++
EQ2World.exe!ZoneLoop(void * tmp) Line 5052 + 0xa bytes C++
EQ2World.exe!_callthreadstart() Line 259 + 0x6 bytes C
EQ2World.exe!_threadstart(void * ptd) Line 241 + 0x5 bytes C
kernel32.dll!_BaseThreadStart@8() + 0x34 bytes
Code:

Code: Select all

				if (spawn) {
					if (spawn->IsEntity()) {
At the spawn->IsEntity()


Console:
18:39:24 D Spell : Rage is casting Mining on scattered ore.
18:39:28 D World : Timeout up!, state=
18:39:29 D Zone : Client is disconnecting in ZoneServer::ClientProcess (camping = false)
18:39:29 D Zone : Sending login equipment appearance updates...
18:39:29 D Login : Looking for Login Appearance Updates for char_id: 408
18:39:29 D Zone : Calling clients.Remove(client)...
18:39:29 D Guilds : Guild Member logged out.
18:39:29 D Zone : Removing client 'Ariern' (408) due to LD/Exit...
18:39:29 I Zone : Scheduling client 'Ariern' for removal.
18:39:29 D Player : Toggling Character OFFLINE!
18:39:29 D CClient : Client Disconnect...
18:39:30 D GSpawn : Process harvesting for player 'Rage' (21485)
18:39:31 D GSpawn : Process harvest complete for player 'Rage' (21485)

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: World Crash - Delayed Spawn removal

Post by Jabantiz » Fri Aug 16, 2013 7:48 pm

This looks like a bad pointer, probably another spot where smart pointers would be helpful. I committed some code that should hopefully fix this but as I have been unable to get this crash myself I am not sure so let me know if this crash happens again.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests