Page 1 of 1

LoadRuleSets() CRASH?

Posted: Mon Mar 26, 2012 6:34 am
by John Adams
Probably another LogWrite() issue.

Code: Select all

 	ntdll.dll!7c81a251() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]	
 	ntdll.dll!7c87b539() 	
 	ntdll.dll!7c854fc4() 	
 	ntdll.dll!7c83e438() 	
 	ntdll.dll!7c829de9() 	
 	ntdll.dll!7c83e65d() 	
 	ntdll.dll!7c83e438() 	
 	ntdll.dll!7c829de9() 	
>	EQ2World.exe!ZoneServer::ClientProcess()  Line 2019 + 0x74 bytes	C++
 	EQ2World.exe!WorldDatabase::LoadRuleSets()  + 0x8d0b bytes	C++
 	EQ2World.exe!WorldDatabase::LoadRuleSets()  + 0x8fbf bytes	C++
 	EQ2World.exe!WorldDatabase::LoadRuleSets()  + 0x8fd9 bytes	C++
 	EQ2World.exe!_fpclass(double x)  + 0x9c bytes	C
 	kernel32.dll!77e61a60() 	
Last few log lines:
19:42:09 I Player: Player 'Zenthrose (127) data saved.
19:42:16 D Command: Handler: 34, COMMAND: 'useability'
19:42:16 D Command: Player 'Zenthrose' (6118), Command: useability
19:42:24 D Command: Handler: 34, COMMAND: 'useability'
19:42:24 D Command: Player 'Zenthrose' (6118), Command: useability
19:42:25 D Player: Player: Zenthrose earned 10 experience.
19:42:27 D Command: Player 'Zenthrose' (6118), Command: clearallqueuedabilities
19:42:27 D Command: Handler: 37, COMMAND: 'autoattack'
19:42:27 D Command: Player 'Zenthrose' (6118), Command: autoattack
19:42:29 D Command: Player 'Zenthrose' (6118), Command: clearallqueuedabilities
19:42:29 D Command: Handler: 34, COMMAND: 'useability'
19:42:29 D Command: Player 'Zenthrose' (6118), Command: useability
19:42:41 D Command: Handler: 34, COMMAND: 'useability'
19:42:41 D Command: Player 'Zenthrose' (6118), Command: useability
19:42:44 D Command: Handler: 34, COMMAND: 'useability'
19:42:44 D Command: Player 'Zenthrose' (6118), Command: useability
19:42:56 D Player: Player: Zenthrose earned 32 experience.
19:42:57 D Command: Player 'Zenthrose' (6118), Command: clearallqueuedabilities
19:42:57 D Command: Handler: 37, COMMAND: 'autoattack'
19:42:57 D Command: Player 'Zenthrose' (6118), Command: autoattack
19:43:02 D Command: Player 'Zenthrose' (6118), Command: loot
19:43:02 D Command: Player 'Zenthrose' (6118), Command: clearallqueuedabilities
19:43:04 D Command: Player 'Zenthrose' (6118), Command: loot
19:43:04 D Command: Player 'Zenthrose' (6118), Command: clearallqueuedabilities
19:43:08 D Command: Player 'Zenthrose' (6118), Command: loot
19:43:08 D Command: Player 'Zenthrose' (6118), Command: clearallqueuedabilities
19:43:09 I Player: Player 'Zenthrose (127) data saved.
19:43:11 D Command: Player 'Zenthrose' (6118), Command: loot
19:43:11 D Command: Player 'Zenthrose' (6118), Command: clearallqueuedabilities
19:43:44 D Command: Handler: 37, COMMAND: 'autoattack'
19:43:44 D Command: Player 'Zenthrose' (6118), Command: autoattack
19:43:46 D Command: Player 'Zenthrose' (6118), Command: clearallqueuedabilities
19:43:46 D Command: Handler: 37, COMMAND: 'autoattack'
19:43:46 D Command: Player 'Zenthrose' (6118), Command: autoattack
19:43:51 D Command: Player 'Zenthrose' (6118), Command: clearallqueuedabilities
19:43:56 D Command: Handler: 37, COMMAND: 'autoattack'
19:43:56 D Command: Player 'Zenthrose' (6118), Command: autoattack
19:44:05 D Player: Player: Zenthrose earned 32 experience.
19:44:07 D Command: Player 'Zenthrose' (6118), Command: clearallqueuedabilities
19:44:07 D Command: Handler: 37, COMMAND: 'autoattack'
19:44:07 D Command: Player 'Zenthrose' (6118), Command: autoattack
19:44:09 I Player: Player 'Zenthrose (127) data saved.
19:44:21 D Command: Player 'Zenthrose' (6118), Command: loot
19:44:21 D Command: Player 'Zenthrose' (6118), Command: clearallqueuedabilities
19:44:32 D Command: Player 'Zenthrose' (6118), Command: loot
19:44:32 D Command: Player 'Zenthrose' (6118), Command: clearallqueuedabilities
19:44:57 D Player: Zenthrose left grid 1246288135 and entered grid 771354606
19:45:09 I Player: Player 'Zenthrose (127) data saved.
*** Processing Future packet: Seq=596

19:45:34 D Command: Player 'Zenthrose' (6118), Command: clearallqueuedabilities
19:45:34 D Command: Handler: 37, COMMAND: 'autoattack'
19:45:34 D Command: Player 'Zenthrose' (6118), Command: autoattack
19:45:41 D Command: Player 'Zenthrose' (6118), Command: hail
19:45:41 D Command: Player 'Zenthrose' (6118), Command: clearallqueuedabilities
19:46:09 I Player: Player 'Zenthrose (127) data saved.
19:46:10 D Client: Client::Process, ProcessQuestUpdates
At least it's not Chat related :)

Re: LoadRuleSets() CRASH?

Posted: Mon Mar 26, 2012 3:17 pm
by Scatman
Hmm I'm not so sure that's a LoadRuleSets bug. LoadRuleSets is ONLY called when the server starts. I think that might be a problem with a combination of "Future" packets and ClientProcessQuests

Re: LoadRuleSets() CRASH?

Posted: Mon Mar 26, 2012 3:55 pm
by John Adams
Odd. Why would the stack say LoadRuleSets() then if it wasn't even being called? I'll keep an eye on it again, and try to step into it in Client::Process() to see what is up. I am in Hell Week, so I had no time earlier for anything but to report the crashed server.

Edit: Scat, when I just looked again, my VS2010 was in zoneserver.cpp, stopped on this line:

Code: Select all

	while(iterator.Next()){
		client = iterator->value;
		try{
			if(zoneShuttingDown || !client->Process(true)){
the IF. That seems to be where it crashed.

Code: Select all

EQ2World.exe!ZoneServer::ClientProcess()  Line 2019 + 0x74 bytes   C++

Re: LoadRuleSets() CRASH?

Posted: Mon Mar 26, 2012 4:00 pm
by Scatman
Time to get rid of that MutexList >)

Re: LoadRuleSets() CRASH?

Posted: Mon Mar 26, 2012 4:16 pm
by John Adams
God, please, anything to be able to see a fkn error message again. You got any ideas for a "better way"? Do I need to go code diving in 10 other emus to see how they do it? :D