Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-23-2021, 10:11 AM
Baltros101
Fire Beetle
 
Join Date: Oct 2021
Location: UK
Posts: 19
Default Corrupt Player Crashing Zone

Hi All,

I have a character on my test server that seems to be corrupted, and each time he tries to enter the world the zone crashes. This is on my test server and the binaries were updated and re-compiled updated yesterday with bots enabled. I created a new character, spawned some bots, and killed a few things. Then, suddenly after camping and repopping a bot, the client became unresponsive and the lag meter descended to 0%. Now, every time I log the character in the zone crashes. If anyone is in the zone when this character tries to enter, their lagmeter counts down from 100% to 0% and they're kicked. Players in other zones are fine, so this is purely this one zone (Feerrott).

I can create new characters, which can successfully spawn bots, so the server seems OK. Only this one character has become corrupt.

I have looked at the logs and there don't seem to be any errors, but the moment that the character logs in, the server terminal shows '[sudo] password for eqemu: ', but I can't type anything in, it's purely a terminal output. So, it seems like the server is trying to access something or do something that it can't.

This is only a test server with a test character, so I'm not concerned about deleting him, but I am concerned what's happened here and whether this could happen to a character I've invested a lot of time in. Has anyone seen this before please? And, can anyone suggest how to either fix this character or debug what's going on?
Reply With Quote
  #2  
Old 10-23-2021, 10:15 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

It’s probably trying to create the crash log. May want to check folder permissions.
Reply With Quote
  #3  
Old 10-23-2021, 12:55 PM
Baltros101
Fire Beetle
 
Join Date: Oct 2021
Location: UK
Posts: 19
Default

Thanks. The logs directory and the zone directory within it are 755 owned by eqemu:eqemu. Is this where the crashlog goes, or should I provide access to a different folder. Somewhere in /var/log?
Reply With Quote
  #4  
Old 10-23-2021, 04:09 PM
Baltros101
Fire Beetle
 
Join Date: Oct 2021
Location: UK
Posts: 19
Default

After some more testing, I have a reliable reproducible case here:
  • Create a human monk in Freeport
  • Create a human cleric bot
  • Spawn the bot and invite it to group
  • Wait for bot to finish buffing and stand still
  • Zone into East Freeport (should work with any zone)
  • As soon as you zone the zone crashes

This is with yesterday's server code and Titanium client, and expansion limited to PoP via the following method:

Code:
UPDATE variables SET value=15 WHERE varname='Expansions';
UPDATE rule_values SET rule_value=4 WHERE rule_name = 'Expansion:CurrentExpansion';
UPDATE rule_values SET rule_value=15 WHERE rule_name='World:ExpansionSettings';
UPDATE rule_values SET rule_value=15 WHERE rule_name='Bots:BotExpansionSettings';
Reply With Quote
  #5  
Old 10-25-2021, 06:29 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

Quote:
Originally Posted by Baltros101 View Post
Thanks. The logs directory and the zone directory within it are 755 owned by eqemu:eqemu. Is this where the crashlog goes, or should I provide access to a different folder. Somewhere in /var/log?
Also possible it was trying to run gdb for you.
Reply With Quote
  #6  
Old 10-26-2021, 01:04 PM
Nukerella's Avatar
Nukerella
Fire Beetle
 
Join Date: Jun 2015
Location: Canada
Posts: 28
Default

Quote:
Originally Posted by Baltros101 View Post
After some more testing, I have a reliable reproducible case here:
  • Create a human monk in Freeport
  • Create a human cleric bot
  • Spawn the bot and invite it to group
  • Wait for bot to finish buffing and stand still
  • Zone into East Freeport (should work with any zone)
  • As soon as you zone the zone crashes

This is with yesterday's server code and Titanium client, and expansion limited to PoP via the following method:

Code:
UPDATE variables SET value=15 WHERE varname='Expansions';
UPDATE rule_values SET rule_value=4 WHERE rule_name = 'Expansion:CurrentExpansion';
UPDATE rule_values SET rule_value=15 WHERE rule_name='World:ExpansionSettings';
UPDATE rule_values SET rule_value=15 WHERE rule_name='Bots:BotExpansionSettings';
Try using a rof2 client.
Reply With Quote
  #7  
Old 10-26-2021, 08:19 PM
Dhaymion
Fire Beetle
 
Join Date: Apr 2018
Location: NC
Posts: 13
Default

If it was earlier in the day on 10/22, there was a bug introduced that caused issues similar to what you're describing. Have you updated your server since then?
Reply With Quote
  #8  
Old 10-29-2021, 03:17 PM
Baltros101
Fire Beetle
 
Join Date: Oct 2021
Location: UK
Posts: 19
Default

Thanks for the replies all. Sorry for my late reply, it's been a busy week and I forgot to check this thread.

Quote:
Also possible it was trying to run gdb for you.
Thanks. I haven't ever done much with C++, so I don't really know how to configure gdb to collect any logs or errors. If anyone is interested in the output of it then I can look into it, but I might need some advice on how to get it working.

Quote:
Try using a rof2 client.
I'd be interested to know the result, but I don't have a copy of the client. My server is currently set to PoP expansion so I don't really have much need to try it out, other than maybe chasing down bugs.

Quote:
If it was earlier in the day on 10/22, there was a bug introduced that caused issues similar to what you're describing. Have you updated your server since then?
I suspect this is probably the cause, I did indeed update my test server on Sat 23rd.

I think there were two things happening here: I had a DB issue of some kind, and also the code bug mentioned above. On Sunday after starting this thread I did a full reinstall of the server (dropped eqemu db from mysql, and rm'd the eqemu/server directory). After doing a full reinstall and enabling bots via the script, the crashing stopped.

What I noticed was that instead of crashing, the cleric was kicked from the group during zone. Also, even if the bot was camped, he would re-appear each zone. Sometimes he would act like he was kicked from the group, but was still showing in the group window and couldn't be removed.

So, at least this left the server in a playable state and meant that my characters weren't actually being corrupted. Based on Dhaymion's suggestion I will update my test server over the weekend and see if it's still happening.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:10 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3