Bug #192

CConfigFile is causing a RtlValidateHeap error

Added by kervala almost 10 years ago. Updated almost 8 years ago.

Status:Closed Start date:11/22/2008
Priority:Normal Due date:
Assignee:kervala % Done:

100%

Category:Build
Target version:Version 0.7.0

Description

It crashs when it tries to free cf_CurrentFile in config_file.cpp line 437 when we are compiling nlmisc with a Debug DLL C++ Runtime on debug mode. cf_CurrentFile was previously allocated by a strdup().

You can try the attached project which reproduces the crash. If you uncomment "COXml output;", it won't crash.

I don't really understand why this is happening.

runtime_bug.7z - Minimum project (1.7 kB) kervala, 11/22/2008 03:18 pm

History

#1 Updated by kervala over 9 years ago

  • Status changed from New to Closed

msvcrtd.lib is conflicting with msvcrt.lib when using libxml2 so we must ignore msvcrt.lib in link settings

#2 Updated by kervala over 9 years ago

  • % Done changed from 0 to 100

#3 Updated by kervala almost 8 years ago

  • Project changed from NeL to Ryzom
  • Category deleted (Misc)
  • Target version deleted (Version 0.7.0)

#4 Updated by kervala almost 8 years ago

  • Category set to Build
  • Assignee set to kervala
  • Target version set to Version 0.7.0

Also available in: Atom PDF