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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 08-04-2013, 10:21 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Zone is shutting down and a string in NPCType is getting deleted in the NPCType destructor, but the memory it points to is bogus. I'd look for someone using memset on NPCType which is a no no since it's not a POD type. Anywhere you're tempted to use memset, use a default constructor instead, so much safer.

Did you compile for Debug specifically or RelWithDebInfo? Asserts and debug memory validation should be turned off in a release build which would keep the error message from popping up. It might still crash on shutdown, but it would do so silently and not wedge the server with a bunch of stuck processes.
Reply With Quote
  #2  
Old 08-04-2013, 11:21 PM
fwaits
Fire Beetle
 
Join Date: Jul 2010
Location: Folsom, CA
Posts: 28
Default

Thanks for replying. I actually don't remember compiling with debug active to be honest, but I'm pretty new at this. At what step of building/compiling would that be defined and I'll go back through my steps and check for it? And for the record, this is a stock build of the emulator, not doing anything custom.
Reply With Quote
  #3  
Old 08-05-2013, 01:00 AM
fwaits
Fire Beetle
 
Join Date: Jul 2010
Location: Folsom, CA
Posts: 28
Default

I guess I mean is that defined during the CMake portion or the Visual Studio compile? Perhaps both? Any help is appreciated, thanks.
Reply With Quote
  #4  
Old 08-05-2013, 01:35 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Thought this bug was fixed on the 18th.
Reply With Quote
  #5  
Old 08-05-2013, 02:42 AM
fwaits
Fire Beetle
 
Join Date: Jul 2010
Location: Folsom, CA
Posts: 28
Default

I think I built this a little before July 18th if that's the date you are referring to.
Reply With Quote
  #6  
Old 08-05-2013, 03:29 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Aye that makes sense, this was a bug caused by the aforementioned memsets. I pushed a workaround to the bug to the source on the 18th that fixes the crash.
Reply With Quote
Reply

Thread Tools
Display Modes

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 08:15 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3