World crash, IsPrivateSpawn?

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:

World crash, IsPrivateSpawn?

Post by John Adams » Fri Mar 08, 2013 5:00 pm

I was sitting here glazed-eyes watching EQ2TC's console scroll by, and saw a crash happen right in front of me :) A player was online doing their thing when this crash happened -

Code: Select all

 	EQ2World.exe!std::_Tree<std::_Tmap_traits<Spawn *,unsigned short,std::less<Spawn *>,std::allocator<std::pair<Spawn * const,unsigned short> >,0> >::_Eqrange(Spawn * const & _Keyval)  Line 1541 + 0x3 bytes	C++
 	EQ2World.exe!Spawn::AllowedAccess(Spawn * spawn)  Line 646 + 0x19 bytes	C++
>	EQ2World.exe!Player::ShouldSendSpawn(Spawn * spawn)  Line 2930 + 0x63 bytes	C++
 	EQ2World.exe!ZoneServer::CheckSendSpawnToClient(Client * client, bool initial_login)  Line 894 + 0x17 bytes	C++
 	EQ2World.exe!ZoneServer::SendZoneSpawns(Client * client)  Line 3704	C++
 	EQ2World.exe!SendInitialSpawns(void * tmp)  Line 4647	C++
 	EQ2World.exe!_callthreadstart()  Line 259 + 0x6 bytes	C
 	EQ2World.exe!_threadstart(void * ptd)  Line 241 + 0x5 bytes	C
 	kernel32.dll!77e6481f() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]	

Code: Select all

bool Player::ShouldSendSpawn(Spawn* spawn){
	if((WasSentSpawn(spawn->GetID()) == false || NeedsSpawnResent(spawn)) && (!spawn->IsPrivateSpawn() || spawn->AllowedAccess(this)))
		return true;
	return false;
}
If this is a known crash that was recently fixed, ignore this (but let me know regardless) as I have yet to apply new code. Doing that now, and restarting Test Center.

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

Re: World crash, IsPrivateSpawn?

Post by Jabantiz » Sat Mar 09, 2013 3:47 pm

I was not aware of any bug with private spawn or any recent work done on it. Do we know what quest the player was doing that caused the private spawn to appear? might help to reproduce it.

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:

Re: World crash, IsPrivateSpawn?

Post by John Adams » Sat Mar 09, 2013 4:02 pm

Jab, thanks for responding. I thought you just mentioned something about spawns and private/quest, etc... it was ironic as soon as I saw you and Scat talking about it, World has a crash with "IsPrivateSpawn" in it from before any changes were even committed. I'm certain this is nothing new, just quirky how the universe works.

I saw the player doing nothing but zoning at the time -
16:55:47 D Net: AddAuth: 6473 Key: 1362786947
16:55:48 I World: OP_ReadyToZone: Player Zkar zoning to QueensColony
16:55:48 D CClient: Client Disconnect...
16:55:48 D Zone: Sending login equipment appearance updates...
16:55:48 D Login: Looking for Login Appearance Updates for char_id: 295
16:55:48 D Zone: Calling clients.Remove(client)...
16:55:48 D Zone: Removing client 'Zkar' (295) due to some client zoning...
16:55:48 I Zone: Scheduling client 'Zkar' for removal.
16:55:48 D Player: Toggling Character OFFLINE!
16:55:48 D CClient: Client Disconnect...
16:55:48 D Zone: Starting zone shutdown timers...
16:55:48 D Net: New client from ip: 24.192.92.245 port: 65097
16:55:48 D Net: Adding new client...
16:55:48 D Client: Client::Process, ProcessQuestUpdates
16:55:49 I ZoneAuth: Access Key: 1362786947, Character Name: Zkar, Account ID: 6473
16:55:49 D Player: Loading character for 'Zkar' (char_id: 295)
16:55:49 D Recipes: Loaded 0 recipes for player: Zkar (295)
16:55:49 D Achievements: Loaded 0 player achievement updates
16:55:49 D Player: Loading character_details for 'Zkar' (char_id: 295)
16:55:50 D Client: SendLoginInfo to new client...
16:55:50 D Client: Toggle Character Online...
16:55:50 D Player: Toggling Character ONLINE!
16:55:50 D Client: Loading Character Skills for player 'Zkar'...
16:55:50 D World: Loading Titles for player 'Zkar'...
16:55:50 D World: Loading Languages for player 'Zkar'...
16:55:50 D Client: No character languages loaded!
16:55:50 D Spells: Loading Character Spells for player Zkar...
16:55:50 D Recipes: Loading Character Recipe Books for player 'Zkar' ...
16:55:50 D Client: No character recipe books found!
16:55:50 D Packet: Sending Login Accepted packet (LS_LoginResponse, 1199)
16:55:50 D Player: Loading Player Factions...
16:55:50 D Player: Loading Character Quests...
16:55:50 D Player: Loading Player Mail...
16:55:50 D Client: Send Quest Journal...
16:55:50 D Client: Loading Faction Updates...
16:55:50 D Client: Send Command List...
16:55:50 D Client: Send Language Updates...
16:55:50 D Player: Getting current language for player 'Zkar'...
16:55:50 D Client: SendFriendList
16:55:50 D Client: SendIgnoreList
16:55:52 D Command: Player 'Zkar' (6473), Command: smp
Pretty sure that's the log that goes with the crash because that's where it ends for that world PID.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests