View Single Post
  #74  
Old 05-11-2008, 05:03 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I am not 100% sure that this is related to the MQ code that I added in, but every since I added it I have been getting random crashes and my terminal window reports something like this:

*** glibc detected *** double free or corruption (!prev):

This causes all of my players to be disconnected and I think it crashes the world. It may be coincidence that this started after I added in the MQ code though. I have had a couple issues with my ISP connection and one of these glibc errors kicked out yesterday about the same time my internet went out. I have also had a bard problem where the bard crashes any zone it logs into and it just so happened that I was trying to log the bard in at the exact same time my internet and this error kicked out lol. So, it could be any of those 3 issues. But, I have had this a few times over the past few days that I have had the MQ code in and I don't think the others were during any ISP issues or issues with this bard.

After doing a bit of googling, I think this is a memory error and I believe it can be disabled by turning off that memory allocation check. Here is the command I issued to disable it:

export MALLOC_CHECK_=0

I am sorry if this is completely unrelated to the MQ code. I considered posting this in the Linux Support section, but it started almost right after I loaded the MQ source in and I never had it 1 time before that. Either way, I think this fix should resolve the problem for anyone who has it. I will post back here if the problem starts up again. Also, I don't know if I need to do that export each time I restart the server PC or if that changes the setting permanently.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote