# REPRODUCTION: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/xsscx/PatchIccMAX/refs/heads/development/contrib/UnitTest/pcs_refactor_build_createprofiles_check.sh)" # Written by David Hoyt from DemoIccMAX Project # Reproduction of Unit Tests for PCS_Refactor ../Build/Tools/IccFromXml/iccFromXml + ../../Build/Tools/IccFromXml/iccFromXml CameraModel.xml CameraModel.icc ================================================================= ==2531==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60d000000110 #0 0x7f028a19de57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f028855d4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f0289c8e086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f0289c8e0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f02883ee8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f02883ed918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5600bb32ad89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5600bb329f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f0286574d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f0286574e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5600bb3288c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60d000000110 is located 0 bytes inside of 144-byte region [0x60d000000110,0x60d0000001a0) allocated by thread T0 here: #0 0x7f028a19b887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f0289c2185b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f0289bde28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f0289be26d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f0289be2b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5600bb3295c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f0286574d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2531==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2531==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml ElevenChanKubelkaMunk.xml ElevenChanKubelkaMunk.icc ================================================================= ==2532==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60d0000002b0 #0 0x7fb0f9857e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fb0f7c174d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fb0f9348086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fb0f93480b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fb0f7aa88d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fb0f7aa7918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x563b94ad2d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x563b94ad1f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fb0f5c2ed8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fb0f5c2ee3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x563b94ad08c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60d0000002b0 is located 0 bytes inside of 144-byte region [0x60d0000002b0,0x60d000000340) allocated by thread T0 here: #0 0x7fb0f9855887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fb0f92db85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fb0f929828e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fb0f929c6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fb0f929cb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x563b94ad15c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fb0f5c2ed8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2532==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2532==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml RGBWProjector.xml RGBWProjector.icc Profile parsed and saved correctly + ../../Build/Tools/IccFromXml/iccFromXml argbCalc.xml argbCalc.icc ================================================================= ==2535==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f30052e1e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f30036a14d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f3004dd2086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f3004dd20b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f30035328d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f3003531918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x556c18ac6d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x556c18ac5f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f30016b8d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f30016b8e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x556c18ac48c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f30052df887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f3004d6585b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f3004d2228e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f3004d266d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f3004d26b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x556c18ac55c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f30016b8d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2535==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2535==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml srgbCalcTest.xml srgbCalcTest.icc Profile parsed and saved correctly + ../../Build/Tools/IccFromXml/iccFromXml srgbCalc++Test.xml srgbCalc++Test.icc Profile parsed and saved correctly + set - + ../../Build/Tools/IccFromXml/iccFromXml calcCheckInit.xml calcCheckInit.icc ================================================================= ==2540==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f7648acce57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f7646e8c4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f76485bd086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f76485bd0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f7646d1d8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f7646d1c918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x556f73737d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x556f73736f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f7644ea3d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f7644ea3e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x556f737358c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f7648aca887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f764855085b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f764850d28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f76485116d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f7648511b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x556f737365c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f7644ea3d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2540==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2540==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml calcExercizeOps.xml calcExercizeOps.icc ================================================================= ==2541==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f8e9091fe57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f8e8ecdf4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f8e90410086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f8e904100b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f8e8eb708d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f8e8eb6f918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55dc208bbd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55dc208baf99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f8e8ccf6d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f8e8ccf6e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55dc208b98c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f8e9091d887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f8e903a385b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f8e9036028e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f8e903646d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f8e90364b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55dc208ba5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f8e8ccf6d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2541==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2541==ABORTING + set - + ../../Build/Tools/IccFromXml/iccFromXml CMYK-3DLUTs.xml CMYK-3DLUTs.icc ================================================================= ==2543==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x62b00001b04f at pc 0x7f6a7b7d3468 bp 0x7ffd78f33390 sp 0x7ffd78f33380 READ of size 1 at 0x62b00001b04f thread T0 #0 0x7f6a7b7d3467 in CIccXmlArrayType::ParseText(unsigned short*, unsigned int, char const*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccUtilXml.cpp:995 #1 0x7f6a7b7d4927 in CIccXmlArrayType::ParseTextArrayNum(char const*, unsigned int, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccUtilXml.cpp:813 #2 0x7f6a7b61d982 in CIccSinglSampledeCurveXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:750 #3 0x7f6a7b6294de in ParseXmlCurve /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1103 #4 0x7f6a7b62a578 in CIccMpeXmlCurveSet::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1161 #5 0x7f6a7b65f110 in CIccMpeXmlCalculator::ParseImport(_xmlNode*, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:2579 #6 0x7f6a7b6743bb in CIccMpeXmlCalculator::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:3096 #7 0x7f6a7b75111e in CIccTagXmlMultiProcessElement::ParseElement(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4047 #8 0x7f6a7b7536a6 in CIccTagXmlMultiProcessElement::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4107 #9 0x7f6a7b6da28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #10 0x7f6a7b6de6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #11 0x7f6a7b6deb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #12 0x5622aee475c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #13 0x7f6a78070d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #14 0x7f6a78070e3f in __libc_start_main_impl ../csu/libc-start.c:392 #15 0x5622aee468c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x62b00001b04f is located 0 bytes to the right of 24143-byte region [0x62b000015200,0x62b00001b04f) allocated by thread T0 here: #0 0x7f6a7bc99357 in operator new[](unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:102 #1 0x7f6a7b61c2a5 in CIccSinglSampledeCurveXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:686 #2 0x7f6a7b6294de in ParseXmlCurve /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1103 #3 0x7f6a7b62a578 in CIccMpeXmlCurveSet::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1161 #4 0x7f6a7b65f110 in CIccMpeXmlCalculator::ParseImport(_xmlNode*, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:2579 #5 0x7f6a7b6743bb in CIccMpeXmlCalculator::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:3096 #6 0x7f6a7b75111e in CIccTagXmlMultiProcessElement::ParseElement(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4047 #7 0x7f6a7b7536a6 in CIccTagXmlMultiProcessElement::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4107 #8 0x7f6a7b6da28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #9 0x7f6a7b6de6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #10 0x7f6a7b6deb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #11 0x5622aee475c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #12 0x7f6a78070d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: heap-buffer-overflow /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccUtilXml.cpp:995 in CIccXmlArrayType::ParseText(unsigned short*, unsigned int, char const*) Shadow bytes around the buggy address: 0x0c567fffb5b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fffb5c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fffb5d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fffb5e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fffb5f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x0c567fffb600: 00 00 00 00 00 00 00 00 00[07]fa fa fa fa fa fa 0x0c567fffb610: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fffb620: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fffb630: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fffb640: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fffb650: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==2543==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml CMYK-3DLUTs2.xml CMYK-3DLUTs2.icc ================================================================= ==2544==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x62b00001b04f at pc 0x7fee1debd468 bp 0x7ffc069aeb80 sp 0x7ffc069aeb70 READ of size 1 at 0x62b00001b04f thread T0 #0 0x7fee1debd467 in CIccXmlArrayType::ParseText(unsigned short*, unsigned int, char const*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccUtilXml.cpp:995 #1 0x7fee1debe927 in CIccXmlArrayType::ParseTextArrayNum(char const*, unsigned int, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccUtilXml.cpp:813 #2 0x7fee1dd07982 in CIccSinglSampledeCurveXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:750 #3 0x7fee1dd134de in ParseXmlCurve /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1103 #4 0x7fee1dd14578 in CIccMpeXmlCurveSet::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1161 #5 0x7fee1dd49110 in CIccMpeXmlCalculator::ParseImport(_xmlNode*, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:2579 #6 0x7fee1dd5e3bb in CIccMpeXmlCalculator::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:3096 #7 0x7fee1de3b11e in CIccTagXmlMultiProcessElement::ParseElement(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4047 #8 0x7fee1de3d6a6 in CIccTagXmlMultiProcessElement::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4107 #9 0x7fee1ddc428e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #10 0x7fee1ddc86d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #11 0x7fee1ddc8b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #12 0x55a8873805c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #13 0x7fee1a75ad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #14 0x7fee1a75ae3f in __libc_start_main_impl ../csu/libc-start.c:392 #15 0x55a88737f8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x62b00001b04f is located 0 bytes to the right of 24143-byte region [0x62b000015200,0x62b00001b04f) allocated by thread T0 here: #0 0x7fee1e383357 in operator new[](unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:102 #1 0x7fee1dd062a5 in CIccSinglSampledeCurveXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:686 #2 0x7fee1dd134de in ParseXmlCurve /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1103 #3 0x7fee1dd14578 in CIccMpeXmlCurveSet::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1161 #4 0x7fee1dd49110 in CIccMpeXmlCalculator::ParseImport(_xmlNode*, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:2579 #5 0x7fee1dd5e3bb in CIccMpeXmlCalculator::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:3096 #6 0x7fee1de3b11e in CIccTagXmlMultiProcessElement::ParseElement(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4047 #7 0x7fee1de3d6a6 in CIccTagXmlMultiProcessElement::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4107 #8 0x7fee1ddc428e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #9 0x7fee1ddc86d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #10 0x7fee1ddc8b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #11 0x55a8873805c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #12 0x7fee1a75ad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: heap-buffer-overflow /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccUtilXml.cpp:995 in CIccXmlArrayType::ParseText(unsigned short*, unsigned int, char const*) Shadow bytes around the buggy address: 0x0c567fffb5b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fffb5c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fffb5d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fffb5e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fffb5f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x0c567fffb600: 00 00 00 00 00 00 00 00 00[07]fa fa fa fa fa fa 0x0c567fffb610: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fffb620: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fffb630: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fffb640: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fffb650: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==2544==ABORTING + set - + ../../Build/Tools/IccFromXml/iccFromXml GrayGSDF.xml GrayGSDF.icc Profile parsed and saved correctly + ../../Build/Tools/IccFromXml/iccFromXml LCDDisplay.xml LCDDisplay.icc ================================================================= ==2548==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x61b000002a80 #0 0x7f20823aee57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f208076e4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f2081e9f086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f2081e9f0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f20805ff8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f20805fe918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x555ab4a49d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x555ab4a48f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f207e785d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f207e785e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x555ab4a478c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x61b000002a80 is located 0 bytes inside of 1604-byte region [0x61b000002a80,0x61b0000030c4) allocated by thread T0 here: #0 0x7f20823ac887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f2081e3285b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f2081def28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f2081df36d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f2081df3b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x555ab4a485c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f207e785d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2548==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2548==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml LaserProjector.xml LaserProjector.icc ================================================================= ==2549==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x61b000000e80 #0 0x7f21dd14ce57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f21db50c4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f21dcc3d086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f21dcc3d0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f21db39d8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f21db39c918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5643562fdd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5643562fcf99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f21d9523d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f21d9523e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5643562fb8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x61b000000e80 is located 0 bytes inside of 1604-byte region [0x61b000000e80,0x61b0000014c4) allocated by thread T0 here: #0 0x7f21dd14a887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f21dcbd085b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f21dcb8d28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f21dcb916d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f21dcb91b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5643562fc5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f21d9523d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2549==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2549==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Rec2020rgbColorimetric.xml Rec2020rgbColorimetric.icc ================================================================= ==2550==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f3cf782ee57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f3cf5bee4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f3cf731f086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f3cf731f0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f3cf5a7f8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f3cf5a7e918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55e8a788fd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55e8a788ef99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f3cf3c05d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f3cf3c05e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55e8a788d8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f3cf782c887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f3cf72b285b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f3cf726f28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f3cf72736d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f3cf7273b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55e8a788e5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f3cf3c05d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2550==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2550==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Rec2020rgbSpectral.xml Rec2020rgbSpectral.icc ================================================================= ==2551==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x61b000002a80 #0 0x7f190f2fde57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f190d6bd4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f190edee086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f190edee0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f190d54e8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f190d54d918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x56188b1d0d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x56188b1cff99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f190b6d4d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f190b6d4e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x56188b1ce8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x61b000002a80 is located 0 bytes inside of 1604-byte region [0x61b000002a80,0x61b0000030c4) allocated by thread T0 here: #0 0x7f190f2fb887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f190ed8185b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f190ed3e28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f190ed426d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f190ed42b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x56188b1cf5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f190b6d4d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2551==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2551==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Rec2100HlgFull.xml Rec2100HlgFull.icc ================================================================= ==2552==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f1d419d6e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f1d3fd964d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f1d414c7086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f1d414c70b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f1d3fc278d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f1d3fc26918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55b6c54a3d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55b6c54a2f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f1d3ddadd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f1d3ddade3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55b6c54a18c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f1d419d4887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f1d4145a85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f1d414161c5 in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:663 #3 0x7f1d4141b6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f1d4141bb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55b6c54a25c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f1d3ddadd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2552==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2552==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Rec2100HlgNarrow.xml Rec2100HlgNarrow.icc ================================================================= ==2553==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f167d077e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f167b4374d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f167cb68086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f167cb680b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f167b2c88d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f167b2c7918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55c787da3d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55c787da2f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f167944ed8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f167944ee3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55c787da18c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f167d075887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f167cafb85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f167cab71c5 in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:663 #3 0x7f167cabc6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f167cabcb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55c787da25c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f167944ed8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2553==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2553==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml RgbGSDF.xml RgbGSDF.icc Profile parsed and saved correctly + ../../Build/Tools/IccFromXml/iccFromXml sRGB_D65_MAT-300lx.xml sRGB_D65_MAT-300lx.icc ================================================================= ==2556==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f193faeee57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f193deae4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f193f5df086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f193f5df0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f193dd3f8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f193dd3e918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x557d5fd71d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x557d5fd70f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f193bec5d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f193bec5e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x557d5fd6f8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f193faec887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f193f57285b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f193f52f28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f193f5336d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f193f533b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x557d5fd705c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f193bec5d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2556==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2556==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml sRGB_D65_MAT-500lx.xml sRGB_D65_MAT-500lx.icc ================================================================= ==2557==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f4989dc4e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f49881844d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f49898b5086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f49898b50b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f49880158d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f4988014918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55947ec0ed89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55947ec0df99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f498619bd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f498619be3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55947ec0c8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f4989dc2887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f498984885b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f498980528e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f49898096d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f4989809b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55947ec0d5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f498619bd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2557==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2557==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml sRGB_D65_MAT.xml sRGB_D65_MAT.icc ================================================================= ==2558==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f37f41ade57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f37f256d4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f37f3c9e086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f37f3c9e0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f37f23fe8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f37f23fd918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5559d9561d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5559d9560f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f37f0584d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f37f0584e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5559d955f8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f37f41ab887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f37f3c3185b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f37f3bee28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f37f3bf26d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f37f3bf2b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5559d95605c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f37f0584d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2558==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2558==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml sRGB_D65_colorimetric.xml sRGB_D65_colorimetric.icc ================================================================= ==2559==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7fd31abb0e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fd318f704d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fd31a6a1086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fd31a6a10b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fd318e018d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fd318e00918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x555b7eb68d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x555b7eb67f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fd316f87d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fd316f87e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x555b7eb668c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7fd31abae887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fd31a63485b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fd31a5f128e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fd31a5f56d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fd31a5f5b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x555b7eb675c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fd316f87d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2559==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2559==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Rec2100HlgFullCC.xml Rec2100HlgFullCC.icc Profile parsed and saved correctly + ../../Build/Tools/IccFromXml/iccFromXml Rec2100HlgFullNC.xml Rec2100HlgFullNC.icc Profile parsed and saved correctly + set - + ../../Build/Tools/IccFromXml/iccFromXml ISO22028-Encoded-sRGB.xml ISO22028-Encoded-sRGB.icc Profile parsed and saved correctly + ../../Build/Tools/IccFromXml/iccFromXml ISO22028-Encoded-bg-sRGB.xml ISO22028-Encoded-bg-sRGB.icc ================================================================= ==2567==ERROR: LeakSanitizer: detected memory leaks Direct leak of 40 byte(s) in 1 object(s) allocated from: #0 0x7fa1b68111e7 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:99 #1 0x7fa1b632a5b3 in CIccTagXmlFactory::CreateTag(icTagTypeSignature) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXmlFactory.cpp:110 #2 0x7fa1b4ccf8e9 in CIccTagCreator::DoCreateTag(icTagTypeSignature) /tmp/tmm/DemoIccMAX/IccProfLib/IccTagFactory.cpp:554 #3 0x7fa1b4bf7b12 in CIccTagCreator::CreateTag(icTagTypeSignature) /tmp/tmm/DemoIccMAX/IccProfLib/IccTagFactory.h:280 #4 0x7fa1b4afb032 in CIccTag::Create(icTagTypeSignature) /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:145 #5 0x7fa1b62daa9f in CIccTagXmlStruct::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4614 #6 0x7fa1b62dd136 in CIccTagXmlStruct::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4706 #7 0x7fa1b625228e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #8 0x7fa1b62566d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #9 0x7fa1b6256b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #10 0x5587071075c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #11 0x7fa1b2be8d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 Indirect leak of 4 byte(s) in 1 object(s) allocated from: #0 0x7fa1b680fa57 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154 #1 0x7fa1b4c2a2ef in CIccTagFloatNum::CIccTagFloatNum(int) /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:6167 #2 0x7fa1b632e75e in CIccTagXmlFloatNum, (icTagTypeSignature)1718367026>::CIccTagXmlFloatNum() /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.h:323 #3 0x7fa1b632a5e3 in CIccTagXmlFactory::CreateTag(icTagTypeSignature) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXmlFactory.cpp:110 #4 0x7fa1b4ccf8e9 in CIccTagCreator::DoCreateTag(icTagTypeSignature) /tmp/tmm/DemoIccMAX/IccProfLib/IccTagFactory.cpp:554 #5 0x7fa1b4bf7b12 in CIccTagCreator::CreateTag(icTagTypeSignature) /tmp/tmm/DemoIccMAX/IccProfLib/IccTagFactory.h:280 #6 0x7fa1b4afb032 in CIccTag::Create(icTagTypeSignature) /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:145 #7 0x7fa1b62daa9f in CIccTagXmlStruct::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4614 #8 0x7fa1b62dd136 in CIccTagXmlStruct::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4706 #9 0x7fa1b625228e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #10 0x7fa1b62566d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #11 0x7fa1b6256b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #12 0x5587071075c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #13 0x7fa1b2be8d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: 44 byte(s) leaked in 2 allocation(s). + ../../Build/Tools/IccFromXml/iccFromXml sRgbEncoding.xml sRgbEncoding.icc Profile parsed and saved correctly + ../../Build/Tools/IccFromXml/iccFromXml sRgbEncodingOverrides.xml sRgbEncodingOverrides.icc Profile parsed and saved correctly + set - + ../../Build/Tools/IccFromXml/iccFromXml Lab_float-D65_2deg-Part1.xml Lab_float-D65_2deg-Part1.icc ================================================================= ==2574==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f99e9e1ce57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f99e81dc4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f99e990d086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f99e990d0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f99e806d8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f99e806c918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x56153b354d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x56153b353f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f99e61f3d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f99e61f3e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x56153b3528c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f99e9e1a887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f99e98a085b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f99e985c1c5 in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:663 #3 0x7f99e98616d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f99e9861b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x56153b3535c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f99e61f3d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2574==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2574==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Lab_float-IllumA_2deg-Part2.xml Lab_float-IllumA_2deg-Part2.icc ================================================================= ==2575==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f41e82c0e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f41e66804d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f41e7db1086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f41e7db10b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f41e65118d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f41e6510918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55647bbb1d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55647bbb0f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f41e4697d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f41e4697e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55647bbaf8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f41e82be887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f41e7d4485b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f41e7d001c5 in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:663 #3 0x7f41e7d056d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f41e7d05b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55647bbb05c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f41e4697d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2575==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2575==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Lab_int-D65_2deg-Part1.xml Lab_int-D65_2deg-Part1.icc ================================================================= ==2576==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x6130000003c0 #0 0x7f6efda0de57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f6efbdcd4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f6efd4fe086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f6efd4fe0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f6efbc5e8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f6efbc5d918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x561c7de82d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x561c7de81f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f6ef9de4d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f6ef9de4e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x561c7de808c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x6130000003c0 is located 0 bytes inside of 324-byte region [0x6130000003c0,0x613000000504) allocated by thread T0 here: #0 0x7f6efda0b887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f6efd49185b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f6efd44d1c5 in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:663 #3 0x7f6efd4526d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f6efd452b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x561c7de815c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f6ef9de4d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2576==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2576==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Lab_int-IllumA_2deg-Part2.xml Lab_int-IllumA_2deg-Part2.icc ================================================================= ==2577==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f5865cd1e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f58640914d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f58657c2086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f58657c20b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f5863f228d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f5863f21918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55b3821e1d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55b3821e0f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f58620a8d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f58620a8e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55b3821df8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f5865ccf887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f586575585b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f58657111c5 in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:663 #3 0x7f58657166d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f5865716b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55b3821e05c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f58620a8d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2577==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2577==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Rec2100HlgFull-Part1.xml Rec2100HlgFull-Part1.icc Profile parsed and saved correctly + ../../Build/Tools/IccFromXml/iccFromXml Rec2100HlgFull-Part2.xml Rec2100HlgFull-Part2.icc ================================================================= ==2580==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f35b6904e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f35b4cc44d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f35b63f5086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f35b63f50b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f35b4b558d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f35b4b54918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55e306f30d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55e306f2ff99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f35b2cdbd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f35b2cdbe3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55e306f2e8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f35b6902887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f35b638885b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f35b63441c5 in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:663 #3 0x7f35b63496d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f35b6349b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55e306f2f5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f35b2cdbd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2580==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2580==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Rec2100HlgFull-Part3.xml Rec2100HlgFull-Part3.icc ================================================================= ==2581==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f8a1abfde57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f8a18fbd4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f8a1a6ee086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f8a1a6ee0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f8a18e4e8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f8a18e4d918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5613089e2d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5613089e1f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f8a16fd4d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f8a16fd4e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5613089e08c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f8a1abfb887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f8a1a68185b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f8a1a63d1c5 in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:663 #3 0x7f8a1a6426d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f8a1a642b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5613089e15c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f8a16fd4d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2581==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2581==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D50_2deg-Part1.xml Spec400_10_700-D50_2deg-Part1.icc ================================================================= ==2582==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x6130000003c0 #0 0x7f3a914e3e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f3a8f8a34d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f3a90fd4086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f3a90fd40b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f3a8f7348d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f3a8f733918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55f90ce34d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55f90ce33f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f3a8d8bad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f3a8d8bae3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55f90ce328c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x6130000003c0 is located 0 bytes inside of 324-byte region [0x6130000003c0,0x613000000504) allocated by thread T0 here: #0 0x7f3a914e1887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f3a90f6785b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f3a90f231c5 in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:663 #3 0x7f3a90f286d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f3a90f28b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55f90ce335c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f3a8d8bad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2582==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2582==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D93_2deg-Part2.xml Spec400_10_700-D93_2deg-Part2.icc ================================================================= ==2583==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f0e476ede57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f0e45aad4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f0e471de086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f0e471de0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f0e4593e8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f0e4593d918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x56348cc12d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x56348cc11f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f0e43ac4d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f0e43ac4e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x56348cc108c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f0e476eb887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f0e4717185b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f0e4712d1c5 in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:663 #3 0x7f0e471326d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f0e47132b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x56348cc115c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f0e43ac4d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2583==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2583==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml XYZ_float-D65_2deg-Part1.xml XYZ_float-D65_2deg-Part1.icc ================================================================= ==2584==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7fa18c9b9e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fa18ad794d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fa18c4aa086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fa18c4aa0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fa18ac0a8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fa18ac09918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x555e849c1d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x555e849c0f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fa188d90d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fa188d90e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x555e849bf8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7fa18c9b7887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fa18c43d85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fa18c3f91c5 in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:663 #3 0x7fa18c3fe6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fa18c3feb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x555e849c05c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fa188d90d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2584==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2584==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml XYZ_float-IllumA_2deg-Part2.xml XYZ_float-IllumA_2deg-Part2.icc ================================================================= ==2585==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7fa54f6d4e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fa54da944d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fa54f1c5086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fa54f1c50b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fa54d9258d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fa54d924918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x556be257bd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x556be257af99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fa54baabd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fa54baabe3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x556be25798c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7fa54f6d2887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fa54f15885b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fa54f1141c5 in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:663 #3 0x7fa54f1196d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fa54f119b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x556be257a5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fa54baabd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2585==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2585==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml XYZ_int-D65_2deg-Part1.xml XYZ_int-D65_2deg-Part1.icc ================================================================= ==2586==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x6130000003c0 #0 0x7ff72b120e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7ff7294e04d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7ff72ac11086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7ff72ac110b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7ff7293718d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7ff729370918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55b1f7c5ed89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55b1f7c5df99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7ff7274f7d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7ff7274f7e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55b1f7c5c8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x6130000003c0 is located 0 bytes inside of 324-byte region [0x6130000003c0,0x613000000504) allocated by thread T0 here: #0 0x7ff72b11e887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7ff72aba485b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7ff72ab601c5 in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:663 #3 0x7ff72ab656d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7ff72ab65b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55b1f7c5d5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7ff7274f7d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2586==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2586==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml XYZ_int-IllumA_2deg-Part2.xml XYZ_int-IllumA_2deg-Part2.icc ================================================================= ==2587==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f8d7d08ee57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f8d7b44e4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f8d7cb7f086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f8d7cb7f0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f8d7b2df8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f8d7b2de918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x557bbab04d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x557bbab03f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f8d79465d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f8d79465e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x557bbab028c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f8d7d08c887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f8d7cb1285b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f8d7cace1c5 in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:663 #3 0x7f8d7cad36d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f8d7cad3b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x557bbab035c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f8d79465d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2587==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2587==ABORTING + set - + ../../Build/Tools/IccFromXml/iccFromXml FluorescentNamedColor.xml FluorescentNamedColor.icc ================================================================= ==2589==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c000010180 #0 0x7f6fa908de57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f6fa744d4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f6fa8b7e086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f6fa8b7e0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f6fa72de8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f6fa72dd918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x56547f696d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x56547f695f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f6fa5464d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f6fa5464e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x56547f6948c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c000010180 is located 0 bytes inside of 124-byte region [0x60c000010180,0x60c0000101fc) allocated by thread T0 here: #0 0x7f6fa908b887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f6fa8b1185b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f6fa8ace28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f6fa8ad26d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f6fa8ad2b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x56547f6955c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f6fa5464d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2589==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2589==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml NamedColor.xml NamedColor.icc ================================================================= ==2590==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c000016300 #0 0x7f66d1579e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f66cf9394d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f66d106a086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f66d106a0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f66cf7ca8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f66cf7c9918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x556899dfdd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x556899dfcf99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f66cd950d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f66cd950e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x556899dfb8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c000016300 is located 0 bytes inside of 124-byte region [0x60c000016300,0x60c00001637c) allocated by thread T0 here: #0 0x7f66d1577887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f66d0ffd85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f66d0fba28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f66d0fbe6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f66d0fbeb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x556899dfc5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f66cd950d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2590==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2590==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml SparseMatrixNamedColor.xml SparseMatrixNamedColor.icc ================================================================= ==2591==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c000011b00 #0 0x7fdfc3e25e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fdfc21e54d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fdfc3916086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fdfc39160b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fdfc20768d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fdfc2075918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5634a9ef6d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5634a9ef5f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fdfc01fcd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fdfc01fce3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5634a9ef48c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c000011b00 is located 0 bytes inside of 124-byte region [0x60c000011b00,0x60c000011b7c) allocated by thread T0 here: #0 0x7fdfc3e23887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fdfc38a985b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fdfc386628e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fdfc386a6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fdfc386ab96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5634a9ef55c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fdfc01fcd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2591==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2591==ABORTING + set - + ../../Build/Tools/IccFromXml/iccFromXml 17ChanPart1.xml 17ChanPart1.icc ================================================================= ==2593==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x62b00000dbff at pc 0x7f64779b6468 bp 0x7ffe44c73940 sp 0x7ffe44c73930 READ of size 1 at 0x62b00000dbff thread T0 #0 0x7f64779b6467 in CIccXmlArrayType::ParseText(unsigned short*, unsigned int, char const*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccUtilXml.cpp:995 #1 0x7f64779b7927 in CIccXmlArrayType::ParseTextArrayNum(char const*, unsigned int, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccUtilXml.cpp:813 #2 0x7f6477800982 in CIccSinglSampledeCurveXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:750 #3 0x7f647780c4de in ParseXmlCurve /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1103 #4 0x7f647780d578 in CIccMpeXmlCurveSet::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1161 #5 0x7f6477842110 in CIccMpeXmlCalculator::ParseImport(_xmlNode*, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:2579 #6 0x7f64778573bb in CIccMpeXmlCalculator::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:3096 #7 0x7f647793411e in CIccTagXmlMultiProcessElement::ParseElement(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4047 #8 0x7f64779366a6 in CIccTagXmlMultiProcessElement::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4107 #9 0x7f64778bc1c5 in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:663 #10 0x7f64778c16d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #11 0x7f64778c1b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #12 0x55edc3ab45c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #13 0x7f6474253d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #14 0x7f6474253e3f in __libc_start_main_impl ../csu/libc-start.c:392 #15 0x55edc3ab38c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x62b00000dbff is located 0 bytes to the right of 27135-byte region [0x62b000007200,0x62b00000dbff) allocated by thread T0 here: #0 0x7f6477e7c357 in operator new[](unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:102 #1 0x7f64777ff2a5 in CIccSinglSampledeCurveXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:686 #2 0x7f647780c4de in ParseXmlCurve /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1103 #3 0x7f647780d578 in CIccMpeXmlCurveSet::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1161 #4 0x7f6477842110 in CIccMpeXmlCalculator::ParseImport(_xmlNode*, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:2579 #5 0x7f64778573bb in CIccMpeXmlCalculator::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:3096 #6 0x7f647793411e in CIccTagXmlMultiProcessElement::ParseElement(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4047 #7 0x7f64779366a6 in CIccTagXmlMultiProcessElement::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4107 #8 0x7f64778bc1c5 in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:663 #9 0x7f64778c16d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #10 0x7f64778c1b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #11 0x55edc3ab45c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #12 0x7f6474253d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: heap-buffer-overflow /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccUtilXml.cpp:995 in CIccXmlArrayType::ParseText(unsigned short*, unsigned int, char const*) Shadow bytes around the buggy address: 0x0c567fff9b20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fff9b30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fff9b40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fff9b50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fff9b60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x0c567fff9b70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00[07] 0x0c567fff9b80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fff9b90: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fff9ba0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fff9bb0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fff9bc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==2593==ABORTING + set - + ../../Build/Tools/IccFromXml/iccFromXml 17ChanWithSpots-MVIS.xml 17ChanWithSpots-MVIS.icc ================================================================= ==2595==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x62b000006bff at pc 0x7f4cab33a468 bp 0x7ffe17ef9020 sp 0x7ffe17ef9010 READ of size 1 at 0x62b000006bff thread T0 #0 0x7f4cab33a467 in CIccXmlArrayType::ParseText(unsigned short*, unsigned int, char const*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccUtilXml.cpp:995 #1 0x7f4cab33b927 in CIccXmlArrayType::ParseTextArrayNum(char const*, unsigned int, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccUtilXml.cpp:813 #2 0x7f4cab184982 in CIccSinglSampledeCurveXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:750 #3 0x7f4cab1904de in ParseXmlCurve /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1103 #4 0x7f4cab191578 in CIccMpeXmlCurveSet::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1161 #5 0x7f4cab1c6110 in CIccMpeXmlCalculator::ParseImport(_xmlNode*, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:2579 #6 0x7f4cab1db3bb in CIccMpeXmlCalculator::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:3096 #7 0x7f4cab2b811e in CIccTagXmlMultiProcessElement::ParseElement(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4047 #8 0x7f4cab2ba6a6 in CIccTagXmlMultiProcessElement::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4107 #9 0x7f4cab24128e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #10 0x7f4cab2456d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #11 0x7f4cab245b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #12 0x561abe2365c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #13 0x7f4ca7bd7d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #14 0x7f4ca7bd7e3f in __libc_start_main_impl ../csu/libc-start.c:392 #15 0x561abe2358c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x62b000006bff is located 0 bytes to the right of 27135-byte region [0x62b000000200,0x62b000006bff) allocated by thread T0 here: #0 0x7f4cab800357 in operator new[](unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:102 #1 0x7f4cab1832a5 in CIccSinglSampledeCurveXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:686 #2 0x7f4cab1904de in ParseXmlCurve /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1103 #3 0x7f4cab191578 in CIccMpeXmlCurveSet::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1161 #4 0x7f4cab1c6110 in CIccMpeXmlCalculator::ParseImport(_xmlNode*, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:2579 #5 0x7f4cab1db3bb in CIccMpeXmlCalculator::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:3096 #6 0x7f4cab2b811e in CIccTagXmlMultiProcessElement::ParseElement(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4047 #7 0x7f4cab2ba6a6 in CIccTagXmlMultiProcessElement::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4107 #8 0x7f4cab24128e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #9 0x7f4cab2456d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #10 0x7f4cab245b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #11 0x561abe2365c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #12 0x7f4ca7bd7d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: heap-buffer-overflow /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccUtilXml.cpp:995 in CIccXmlArrayType::ParseText(unsigned short*, unsigned int, char const*) Shadow bytes around the buggy address: 0x0c567fff8d20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fff8d30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fff8d40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fff8d50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fff8d60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x0c567fff8d70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00[07] 0x0c567fff8d80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fff8d90: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fff8da0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fff8db0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fff8dc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==2595==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml 18ChanWithSpots-MVIS.xml 18ChanWithSpots-MVIS.icc ================================================================= ==2596==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x62b000006bff at pc 0x7f5b7c235468 bp 0x7ffd2dba3820 sp 0x7ffd2dba3810 READ of size 1 at 0x62b000006bff thread T0 #0 0x7f5b7c235467 in CIccXmlArrayType::ParseText(unsigned short*, unsigned int, char const*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccUtilXml.cpp:995 #1 0x7f5b7c236927 in CIccXmlArrayType::ParseTextArrayNum(char const*, unsigned int, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccUtilXml.cpp:813 #2 0x7f5b7c07f982 in CIccSinglSampledeCurveXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:750 #3 0x7f5b7c08b4de in ParseXmlCurve /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1103 #4 0x7f5b7c08c578 in CIccMpeXmlCurveSet::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1161 #5 0x7f5b7c0c1110 in CIccMpeXmlCalculator::ParseImport(_xmlNode*, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:2579 #6 0x7f5b7c0d63bb in CIccMpeXmlCalculator::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:3096 #7 0x7f5b7c1b311e in CIccTagXmlMultiProcessElement::ParseElement(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4047 #8 0x7f5b7c1b56a6 in CIccTagXmlMultiProcessElement::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4107 #9 0x7f5b7c13c28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #10 0x7f5b7c1406d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #11 0x7f5b7c140b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #12 0x561428dfb5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #13 0x7f5b78ad2d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #14 0x7f5b78ad2e3f in __libc_start_main_impl ../csu/libc-start.c:392 #15 0x561428dfa8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x62b000006bff is located 0 bytes to the right of 27135-byte region [0x62b000000200,0x62b000006bff) allocated by thread T0 here: #0 0x7f5b7c6fb357 in operator new[](unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:102 #1 0x7f5b7c07e2a5 in CIccSinglSampledeCurveXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:686 #2 0x7f5b7c08b4de in ParseXmlCurve /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1103 #3 0x7f5b7c08c578 in CIccMpeXmlCurveSet::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:1161 #4 0x7f5b7c0c1110 in CIccMpeXmlCalculator::ParseImport(_xmlNode*, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:2579 #5 0x7f5b7c0d63bb in CIccMpeXmlCalculator::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccMpeXml.cpp:3096 #6 0x7f5b7c1b311e in CIccTagXmlMultiProcessElement::ParseElement(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4047 #7 0x7f5b7c1b56a6 in CIccTagXmlMultiProcessElement::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:4107 #8 0x7f5b7c13c28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #9 0x7f5b7c1406d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #10 0x7f5b7c140b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #11 0x561428dfb5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #12 0x7f5b78ad2d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: heap-buffer-overflow /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccUtilXml.cpp:995 in CIccXmlArrayType::ParseText(unsigned short*, unsigned int, char const*) Shadow bytes around the buggy address: 0x0c567fff8d20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fff8d30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fff8d40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fff8d50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c567fff8d60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x0c567fff8d70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00[07] 0x0c567fff8d80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fff8d90: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fff8da0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fff8db0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c567fff8dc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==2596==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml 6ChanSelect-MID.xml 6ChanSelect-MID.icc Profile parsed and saved correctly + set - + ../../../Build/Tools/IccFromXml/iccFromXml 4ChanSelect-MID.xml 4ChanSelect-MID.icc Profile parsed and saved correctly + ../../../Build/Tools/IccFromXml/iccFromXml 7ChanSelect-MID.xml 7ChanSelect-MID.icc Profile parsed and saved correctly + ../../../Build/Tools/IccFromXml/iccFromXml CGYK-SelectMID.xml CGYK-SelectMID.icc Profile parsed and saved correctly + ../../../Build/Tools/IccFromXml/iccFromXml CMPK-SelectMID.xml CMPK-SelectMID.icc Profile parsed and saved correctly + ../../../Build/Tools/IccFromXml/iccFromXml CMYK-SelectMID.xml CMYK-SelectMID.icc Profile parsed and saved correctly + ../../../Build/Tools/IccFromXml/iccFromXml CMYKOGP-MVIS-Smooth.xml CMYKOGP-MVIS-Smooth.icc Profile parsed and saved correctly + ../../../Build/Tools/IccFromXml/iccFromXml OMYK-SelectMID.xml OMYK-SelectMID.icc Profile parsed and saved correctly + set - + ../../Build/Tools/IccFromXml/iccFromXml Lab_float-D50_2deg.xml Lab_float-D50_2deg.icc ================================================================= ==2615==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f191c766e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f191ab264d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f191c257086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f191c2570b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f191a9b78d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f191a9b6918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x561e40b91d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x561e40b90f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f1918b3dd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f1918b3de3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x561e40b8f8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f191c764887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f191c1ea85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f191c1a728e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f191c1ab6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f191c1abb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x561e40b905c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f1918b3dd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2615==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2615==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Lab_float-D93_2deg-MAT.xml Lab_float-D93_2deg-MAT.icc ================================================================= ==2616==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f59eb4cee57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f59e988e4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f59eafbf086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f59eafbf0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f59e971f8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f59e971e918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55f8ce3d1d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55f8ce3d0f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f59e78a5d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f59e78a5e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55f8ce3cf8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f59eb4cc887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f59eaf5285b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f59eaf0f28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f59eaf136d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f59eaf13b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55f8ce3d05c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f59e78a5d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2616==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2616==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Lab_int-D50_2deg.xml Lab_int-D50_2deg.icc ================================================================= ==2617==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f6c374a5e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f6c358654d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f6c36f96086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f6c36f960b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f6c356f68d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f6c356f5918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5585e8060d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5585e805ff99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f6c3387cd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f6c3387ce3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5585e805e8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f6c374a3887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f6c36f2985b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f6c36ee628e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f6c36eea6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f6c36eeab96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5585e805f5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f6c3387cd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2617==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2617==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Lab_int-D65_2deg-MAT.xml Lab_int-D65_2deg-MAT.icc ================================================================= ==2618==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f6ea42ede57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f6ea26ad4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f6ea3dde086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f6ea3dde0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f6ea253e8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f6ea253d918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x56171262bd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x56171262af99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f6ea06c4d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f6ea06c4e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5617126298c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f6ea42eb887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f6ea3d7185b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f6ea3d2e28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f6ea3d326d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f6ea3d32b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x56171262a5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f6ea06c4d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2618==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2618==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Lab_int-IllumA_2deg-MAT.xml Lab_int-IllumA_2deg-MAT.icc ================================================================= ==2619==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f5699e9ce57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f569825c4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f569998d086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f569998d0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f56980ed8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f56980ec918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55c5867ddd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55c5867dcf99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f5696273d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f5696273e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55c5867db8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f5699e9a887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f569992085b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f56998dd28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f56998e16d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f56998e1b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55c5867dc5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f5696273d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2619==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2619==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec380_10_730-D50_2deg.xml Spec380_10_730-D50_2deg.icc ================================================================= ==2620==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7fe1e6241e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fe1e46014d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fe1e5d32086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fe1e5d320b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fe1e44928d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fe1e4491918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x563a7b4e0d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x563a7b4dff99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fe1e2618d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fe1e2618e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x563a7b4de8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7fe1e623f887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fe1e5cc585b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fe1e5c8228e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fe1e5c866d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fe1e5c86b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x563a7b4df5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fe1e2618d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2620==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2620==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec380_10_730-D65_2deg-MAT.xml Spec380_10_730-D65_2deg-MAT.icc ================================================================= ==2621==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f93d414fe57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f93d250f4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f93d3c40086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f93d3c400b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f93d23a08d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f93d239f918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5624b821dd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5624b821cf99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f93d0526d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f93d0526e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5624b821b8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f93d414d887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f93d3bd385b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f93d3b9028e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f93d3b946d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f93d3b94b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5624b821c5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f93d0526d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2621==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2621==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec380_1_780-D50_2deg.xml Spec380_1_780-D50_2deg.icc ================================================================= ==2622==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f0e237e5e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f0e21ba54d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f0e232d6086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f0e232d60b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f0e21a368d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f0e21a35918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x562fbd3ded89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x562fbd3ddf99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f0e1fbbcd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f0e1fbbce3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x562fbd3dc8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f0e237e3887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f0e2326985b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f0e2322628e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f0e2322a6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f0e2322ab96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x562fbd3dd5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f0e1fbbcd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2622==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2622==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec380_5_780-D50_2deg.xml Spec380_5_780-D50_2deg.icc ================================================================= ==2623==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f563a20ae57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f56385ca4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f5639cfb086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f5639cfb0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f563845b8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f563845a918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x562513708d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x562513707f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f56365e1d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f56365e1e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5625137068c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f563a208887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f5639c8e85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f5639c4b28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f5639c4f6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f5639c4fb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5625137075c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f56365e1d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2623==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2623==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-B_2deg-Abs.xml Spec400_10_700-B_2deg-Abs.icc ================================================================= ==2624==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7fd50c19de57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fd50a55d4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fd50bc8e086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fd50bc8e0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fd50a3ee8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fd50a3ed918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55e455a75d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55e455a74f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fd508574d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fd508574e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55e455a738c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7fd50c19b887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fd50bc2185b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fd50bbde28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fd50bbe26d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fd50bbe2b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55e455a745c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fd508574d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2624==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2624==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-B_2deg-CAM.xml Spec400_10_700-B_2deg-CAM.icc ================================================================= ==2625==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c000012880 #0 0x7fa8af7bce57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fa8adb7c4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fa8af2ad086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fa8af2ad0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fa8ada0d8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fa8ada0c918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55b1384c1d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55b1384c0f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fa8abb93d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fa8abb93e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55b1384bf8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c000012880 is located 0 bytes inside of 124-byte region [0x60c000012880,0x60c0000128fc) allocated by thread T0 here: #0 0x7fa8af7ba887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fa8af24085b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fa8af1fd28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fa8af2016d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fa8af201b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55b1384c05c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fa8abb93d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2625==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2625==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-B_2deg-CAT02.xml Spec400_10_700-B_2deg-CAT02.icc ================================================================= ==2626==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7f893d457e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f893b8174d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f893cf48086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f893cf480b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f893b6a88d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f893b6a7918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x557c930fad89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x557c930f9f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f893982ed8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f893982ee3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x557c930f88c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7f893d455887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f893cedb85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f893ce9828e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f893ce9c6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f893ce9cb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x557c930f95c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f893982ed8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2626==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2626==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-B_2deg-MAT.xml Spec400_10_700-B_2deg-MAT.icc ================================================================= ==2627==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c000009880 #0 0x7fc1e1263e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fc1df6234d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fc1e0d54086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fc1e0d540b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fc1df4b48d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fc1df4b3918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55b0776f8d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55b0776f7f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fc1dd63ad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fc1dd63ae3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55b0776f68c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c000009880 is located 0 bytes inside of 124-byte region [0x60c000009880,0x60c0000098fc) allocated by thread T0 here: #0 0x7fc1e1261887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fc1e0ce785b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fc1e0ca428e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fc1e0ca86d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fc1e0ca8b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55b0776f75c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fc1dd63ad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2627==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2627==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D50_10deg-Abs.xml Spec400_10_700-D50_10deg-Abs.icc ================================================================= ==2628==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7ff8f5f32e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7ff8f42f24d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7ff8f5a23086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7ff8f5a230b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7ff8f41838d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7ff8f4182918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55e098fe9d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55e098fe8f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7ff8f2309d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7ff8f2309e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55e098fe78c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7ff8f5f30887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7ff8f59b685b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7ff8f597328e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7ff8f59776d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7ff8f5977b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55e098fe85c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7ff8f2309d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2628==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2628==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D50_10deg-MAT.xml Spec400_10_700-D50_10deg-MAT.icc ================================================================= ==2629==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7fed770c2e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fed754824d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fed76bb3086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fed76bb30b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fed753138d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fed75312918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55def7459d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55def7458f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fed73499d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fed73499e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55def74578c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7fed770c0887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fed76b4685b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fed76b0328e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fed76b076d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fed76b07b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55def74585c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fed73499d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2629==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2629==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D50_20yo2deg-MAT.xml Spec400_10_700-D50_20yo2deg-MAT.icc ================================================================= ==2630==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x6130000003c0 #0 0x7fa6ff8f8e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fa6fdcb84d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fa6ff3e9086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fa6ff3e90b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fa6fdb498d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fa6fdb48918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x557a4ab83d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x557a4ab82f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fa6fbccfd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fa6fbccfe3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x557a4ab818c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x6130000003c0 is located 0 bytes inside of 324-byte region [0x6130000003c0,0x613000000504) allocated by thread T0 here: #0 0x7fa6ff8f6887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fa6ff37c85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fa6ff33928e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fa6ff33d6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fa6ff33db96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x557a4ab825c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fa6fbccfd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2630==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2630==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D50_2deg-Abs.xml Spec400_10_700-D50_2deg-Abs.icc ================================================================= ==2631==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7fcc01700e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fcbffac04d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fcc011f1086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fcc011f10b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fcbff9518d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fcbff950918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5611f646bd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5611f646af99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fcbfdad7d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fcbfdad7e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5611f64698c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7fcc016fe887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fcc0118485b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fcc0114128e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fcc011456d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fcc01145b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5611f646a5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fcbfdad7d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2631==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2631==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D50_2deg.xml Spec400_10_700-D50_2deg.icc ================================================================= ==2632==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7fd2fddcde57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fd2fc18d4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fd2fd8be086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fd2fd8be0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fd2fc01e8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fd2fc01d918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55bc35da9d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55bc35da8f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fd2fa1a4d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fd2fa1a4e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55bc35da78c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7fd2fddcb887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fd2fd85185b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fd2fd80e28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fd2fd8126d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fd2fd812b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55bc35da85c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fd2fa1a4d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2632==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2632==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D50_40yo2deg-MAT.xml Spec400_10_700-D50_40yo2deg-MAT.icc ================================================================= ==2633==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x6130000003c0 #0 0x7fde284d5e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fde268954d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fde27fc6086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fde27fc60b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fde267268d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fde26725918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55e065168d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55e065167f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fde248acd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fde248ace3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55e0651668c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x6130000003c0 is located 0 bytes inside of 324-byte region [0x6130000003c0,0x613000000504) allocated by thread T0 here: #0 0x7fde284d3887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fde27f5985b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fde27f1628e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fde27f1a6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fde27f1ab96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55e0651675c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fde248acd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2633==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2633==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D50_60yo2deg-MAT.xml Spec400_10_700-D50_60yo2deg-MAT.icc ================================================================= ==2634==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x6130000003c0 #0 0x7f80645c2e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f80629824d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f80640b3086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f80640b30b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f80628138d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f8062812918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x564d7519dd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x564d7519cf99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f8060999d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f8060999e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x564d7519b8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x6130000003c0 is located 0 bytes inside of 324-byte region [0x6130000003c0,0x613000000504) allocated by thread T0 here: #0 0x7f80645c0887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f806404685b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f806400328e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f80640076d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f8064007b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x564d7519c5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f8060999d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2634==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2634==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D50_80yo2deg-MAT.xml Spec400_10_700-D50_80yo2deg-MAT.icc ================================================================= ==2635==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x6130000003c0 #0 0x7fbe83c2ce57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fbe81fec4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fbe8371d086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fbe8371d0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fbe81e7d8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fbe81e7c918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x56462586dd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x56462586cf99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fbe80003d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fbe80003e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x56462586b8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x6130000003c0 is located 0 bytes inside of 324-byte region [0x6130000003c0,0x613000000504) allocated by thread T0 here: #0 0x7fbe83c2a887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fbe836b085b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fbe8366d28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fbe836716d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fbe83671b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x56462586c5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fbe80003d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2635==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2635==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D65_10deg-Abs.xml Spec400_10_700-D65_10deg-Abs.icc ================================================================= ==2636==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f7900ae6e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f78feea64d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f79005d7086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f79005d70b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f78fed378d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f78fed36918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55d101840d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55d10183ff99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f78fcebdd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f78fcebde3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55d10183e8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f7900ae4887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f790056a85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f790052728e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f790052b6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f790052bb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55d10183f5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f78fcebdd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2636==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2636==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D65_10deg-MAT.xml Spec400_10_700-D65_10deg-MAT.icc ================================================================= ==2637==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f7c9f91ae57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f7c9dcda4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f7c9f40b086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f7c9f40b0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f7c9db6b8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f7c9db6a918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x56088b930d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x56088b92ff99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f7c9bcf1d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f7c9bcf1e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x56088b92e8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f7c9f918887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f7c9f39e85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f7c9f35b28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f7c9f35f6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f7c9f35fb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x56088b92f5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f7c9bcf1d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2637==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2637==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D65_20yo2deg-MAT.xml Spec400_10_700-D65_20yo2deg-MAT.icc ================================================================= ==2638==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f0c9b93ae57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f0c99cfa4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f0c9b42b086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f0c9b42b0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f0c99b8b8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f0c99b8a918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x556d943ced89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x556d943cdf99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f0c97d11d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f0c97d11e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x556d943cc8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f0c9b938887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f0c9b3be85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f0c9b37b28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f0c9b37f6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f0c9b37fb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x556d943cd5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f0c97d11d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2638==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2638==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D65_2deg-Abs.xml Spec400_10_700-D65_2deg-Abs.icc ================================================================= ==2639==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x6130000003c0 #0 0x7f22f11b8e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f22ef5784d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f22f0ca9086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f22f0ca90b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f22ef4098d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f22ef408918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55ab611ead89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55ab611e9f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f22ed58fd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f22ed58fe3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55ab611e88c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x6130000003c0 is located 0 bytes inside of 324-byte region [0x6130000003c0,0x613000000504) allocated by thread T0 here: #0 0x7f22f11b6887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f22f0c3c85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f22f0bf928e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f22f0bfd6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f22f0bfdb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55ab611e95c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f22ed58fd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2639==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2639==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D65_2deg-MAT.xml Spec400_10_700-D65_2deg-MAT.icc ================================================================= ==2640==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7fcb3b094e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fcb394544d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fcb3ab85086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fcb3ab850b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fcb392e58d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fcb392e4918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55ce94f06d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55ce94f05f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fcb3746bd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fcb3746be3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55ce94f048c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7fcb3b092887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fcb3ab1885b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fcb3aad528e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fcb3aad96d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fcb3aad9b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55ce94f055c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fcb3746bd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2640==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2640==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D65_40yo2deg-MAT.xml Spec400_10_700-D65_40yo2deg-MAT.icc ================================================================= ==2641==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f02985d1e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f02969914d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f02980c2086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f02980c20b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f02968228d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f0296821918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5558efff5d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5558efff4f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f02949a8d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f02949a8e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5558efff38c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f02985cf887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f029805585b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f029801228e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f02980166d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f0298016b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5558efff45c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f02949a8d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2641==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2641==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D65_60yo2deg-MAT.xml Spec400_10_700-D65_60yo2deg-MAT.icc ================================================================= ==2642==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f044f5dee57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f044d99e4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f044f0cf086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f044f0cf0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f044d82f8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f044d82e918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55a1d06e4d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55a1d06e3f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f044b9b5d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f044b9b5e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55a1d06e28c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f044f5dc887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f044f06285b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f044f01f28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f044f0236d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f044f023b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55a1d06e35c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f044b9b5d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2642==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2642==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D65_80yo2deg-MAT.xml Spec400_10_700-D65_80yo2deg-MAT.icc ================================================================= ==2643==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f9ebc20be57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f9eba5cb4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f9ebbcfc086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f9ebbcfc0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f9eba45c8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f9eba45b918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x562a17336d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x562a17335f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f9eb85e2d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f9eb85e2e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x562a173348c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f9ebc209887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f9ebbc8f85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f9ebbc4c28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f9ebbc506d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f9ebbc50b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x562a173355c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f9eb85e2d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2643==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2643==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D93_10deg-Abs.xml Spec400_10_700-D93_10deg-Abs.icc ================================================================= ==2644==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f31e1e35e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f31e01f54d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f31e1926086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f31e19260b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f31e00868d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f31e0085918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x561a58f45d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x561a58f44f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f31de20cd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f31de20ce3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x561a58f438c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f31e1e33887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f31e18b985b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f31e187628e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f31e187a6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f31e187ab96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x561a58f445c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f31de20cd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2644==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2644==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D93_10deg-MAT.xml Spec400_10_700-D93_10deg-MAT.icc ================================================================= ==2645==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f7a10349e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f7a0e7094d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f7a0fe3a086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f7a0fe3a0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f7a0e59a8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f7a0e599918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x562fdc7fad89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x562fdc7f9f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f7a0c720d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f7a0c720e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x562fdc7f88c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f7a10347887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f7a0fdcd85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f7a0fd8a28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f7a0fd8e6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f7a0fd8eb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x562fdc7f95c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f7a0c720d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2645==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2645==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D93_2deg-Abs.xml Spec400_10_700-D93_2deg-Abs.icc ================================================================= ==2646==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x6130000003c0 #0 0x7f9ff14e5e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f9fef8a54d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f9ff0fd6086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f9ff0fd60b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f9fef7368d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f9fef735918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55c4e95a2d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55c4e95a1f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f9fed8bcd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f9fed8bce3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55c4e95a08c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x6130000003c0 is located 0 bytes inside of 324-byte region [0x6130000003c0,0x613000000504) allocated by thread T0 here: #0 0x7f9ff14e3887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f9ff0f6985b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f9ff0f2628e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f9ff0f2a6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f9ff0f2ab96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55c4e95a15c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f9fed8bcd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2646==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2646==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-D93_2deg-MAT.xml Spec400_10_700-D93_2deg-MAT.icc ================================================================= ==2647==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f11ac399e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f11aa7594d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f11abe8a086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f11abe8a0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f11aa5ea8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f11aa5e9918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55b15fc79d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55b15fc78f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f11a8770d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f11a8770e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55b15fc778c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f11ac397887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f11abe1d85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f11abdda28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f11abdde6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f11abddeb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55b15fc785c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f11a8770d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2647==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2647==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-DB_2deg-Abs.xml Spec400_10_700-DB_2deg-Abs.icc ================================================================= ==2648==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7fe63eb4ce57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fe63cf0c4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fe63e63d086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fe63e63d0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fe63cd9d8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fe63cd9c918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x563fb9d9ad89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x563fb9d99f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fe63af23d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fe63af23e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x563fb9d988c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7fe63eb4a887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fe63e5d085b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fe63e58d28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fe63e5916d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fe63e591b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x563fb9d995c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fe63af23d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2648==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2648==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-DB_2deg-CAT02.xml Spec400_10_700-DB_2deg-CAT02.icc ================================================================= ==2649==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7f467337be57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f467173b4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f4672e6c086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f4672e6c0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f46715cc8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f46715cb918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55f90a42fd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55f90a42ef99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f466f752d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f466f752e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55f90a42d8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7f4673379887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f4672dff85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f4672dbc28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f4672dc06d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f4672dc0b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55f90a42e5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f466f752d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2649==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2649==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-DB_2deg-MAT.xml Spec400_10_700-DB_2deg-MAT.icc ================================================================= ==2650==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c000009880 #0 0x7f055e2d2e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f055c6924d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f055ddc3086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f055ddc30b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f055c5238d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f055c522918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55c6f1280d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55c6f127ff99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f055a6a9d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f055a6a9e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55c6f127e8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c000009880 is located 0 bytes inside of 124-byte region [0x60c000009880,0x60c0000098fc) allocated by thread T0 here: #0 0x7f055e2d0887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f055dd5685b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f055dd1328e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f055dd176d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f055dd17b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55c6f127f5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f055a6a9d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2650==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2650==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-DG_2deg-Abs.xml Spec400_10_700-DG_2deg-Abs.icc ================================================================= ==2651==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7fa0db999e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fa0d9d594d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fa0db48a086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fa0db48a0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fa0d9bea8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fa0d9be9918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5578c4d80d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5578c4d7ff99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fa0d7d70d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fa0d7d70e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5578c4d7e8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7fa0db997887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fa0db41d85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fa0db3da28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fa0db3de6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fa0db3deb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5578c4d7f5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fa0d7d70d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2651==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2651==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-DG_2deg-CAT02.xml Spec400_10_700-DG_2deg-CAT02.icc ================================================================= ==2652==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7f9ca113de57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f9c9f4fd4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f9ca0c2e086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f9ca0c2e0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f9c9f38e8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f9c9f38d918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55c3553b7d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55c3553b6f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f9c9d514d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f9c9d514e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55c3553b58c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7f9ca113b887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f9ca0bc185b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f9ca0b7e28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f9ca0b826d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f9ca0b82b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55c3553b65c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f9c9d514d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2652==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2652==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-DG_2deg-MAT.xml Spec400_10_700-DG_2deg-MAT.icc ================================================================= ==2653==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c000009880 #0 0x7f4d95e94e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f4d942544d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f4d95985086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f4d959850b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f4d940e58d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f4d940e4918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5581ad689d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5581ad688f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f4d9226bd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f4d9226be3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5581ad6878c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c000009880 is located 0 bytes inside of 124-byte region [0x60c000009880,0x60c0000098fc) allocated by thread T0 here: #0 0x7f4d95e92887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f4d9591885b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f4d958d528e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f4d958d96d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f4d958d9b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5581ad6885c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f4d9226bd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2653==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2653==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-DR_2deg-Abs.xml Spec400_10_700-DR_2deg-Abs.icc ================================================================= ==2654==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7f75e336de57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f75e172d4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f75e2e5e086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f75e2e5e0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f75e15be8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f75e15bd918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55e575ecfd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55e575ecef99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f75df744d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f75df744e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55e575ecd8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7f75e336b887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f75e2df185b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f75e2dae28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f75e2db26d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f75e2db2b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55e575ece5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f75df744d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2654==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2654==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-DR_2deg-CAT02.xml Spec400_10_700-DR_2deg-CAT02.icc ================================================================= ==2655==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7f2d5f359e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f2d5d7194d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f2d5ee4a086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f2d5ee4a0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f2d5d5aa8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f2d5d5a9918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55fdec225d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55fdec224f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f2d5b730d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f2d5b730e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55fdec2238c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7f2d5f357887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f2d5eddd85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f2d5ed9a28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f2d5ed9e6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f2d5ed9eb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55fdec2245c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f2d5b730d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2655==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2655==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-DR_2deg-MAT.xml Spec400_10_700-DR_2deg-MAT.icc ================================================================= ==2656==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c000009880 #0 0x7f1af78f5e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f1af5cb54d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f1af73e6086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f1af73e60b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f1af5b468d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f1af5b45918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55c804990d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55c80498ff99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f1af3cccd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f1af3ccce3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55c80498e8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c000009880 is located 0 bytes inside of 124-byte region [0x60c000009880,0x60c0000098fc) allocated by thread T0 here: #0 0x7f1af78f3887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f1af737985b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f1af733628e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f1af733a6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f1af733ab96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55c80498f5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f1af3cccd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2656==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2656==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-F11_2deg-CAT.xml Spec400_10_700-F11_2deg-CAT.icc ================================================================= ==2657==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x6130000003c0 #0 0x7fe648be5e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fe646fa54d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fe6486d6086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fe6486d60b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fe646e368d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fe646e35918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x557f52622d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x557f52621f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fe644fbcd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fe644fbce3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x557f526208c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x6130000003c0 is located 0 bytes inside of 324-byte region [0x6130000003c0,0x613000000504) allocated by thread T0 here: #0 0x7fe648be3887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fe64866985b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fe64862628e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fe64862a6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fe64862ab96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x557f526215c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fe644fbcd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2657==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2657==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-F11_2deg-MAT.xml Spec400_10_700-F11_2deg-MAT.icc ================================================================= ==2658==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f86836e3e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f8681aa34d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f86831d4086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f86831d40b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f86819348d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f8681933918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5634a6772d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5634a6771f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f867fabad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f867fabae3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5634a67708c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f86836e1887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f868316785b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f868312428e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f86831286d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f8683128b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5634a67715c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f867fabad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2658==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2658==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-G_2deg-Abs.xml Spec400_10_700-G_2deg-Abs.icc ================================================================= ==2659==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7ff05f76ae57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7ff05db2a4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7ff05f25b086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7ff05f25b0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7ff05d9bb8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7ff05d9ba918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x56490c76ed89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x56490c76df99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7ff05bb41d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7ff05bb41e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x56490c76c8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7ff05f768887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7ff05f1ee85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7ff05f1ab28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7ff05f1af6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7ff05f1afb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x56490c76d5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7ff05bb41d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2659==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2659==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-G_2deg-CAT02.xml Spec400_10_700-G_2deg-CAT02.icc ================================================================= ==2660==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7f5bd96f0e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f5bd7ab04d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f5bd91e1086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f5bd91e10b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f5bd79418d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f5bd7940918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5579d235bd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5579d235af99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f5bd5ac7d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f5bd5ac7e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5579d23598c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7f5bd96ee887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f5bd917485b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f5bd913128e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f5bd91356d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f5bd9135b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5579d235a5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f5bd5ac7d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2660==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2660==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-G_2deg-MAT.xml Spec400_10_700-G_2deg-MAT.icc ================================================================= ==2661==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c000009880 #0 0x7f48a3ffee57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f48a23be4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f48a3aef086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f48a3aef0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f48a224f8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f48a224e918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x558d76036d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x558d76035f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f48a03d5d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f48a03d5e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x558d760348c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c000009880 is located 0 bytes inside of 124-byte region [0x60c000009880,0x60c0000098fc) allocated by thread T0 here: #0 0x7f48a3ffc887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f48a3a8285b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f48a3a3f28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f48a3a436d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f48a3a43b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x558d760355c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f48a03d5d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2661==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2661==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-IllumA_10deg-Abs.xml Spec400_10_700-IllumA_10deg-Abs.icc ================================================================= ==2662==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f41bf8cce57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f41bdc8c4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f41bf3bd086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f41bf3bd0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f41bdb1d8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f41bdb1c918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55bcb0af9d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55bcb0af8f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f41bbca3d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f41bbca3e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55bcb0af78c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f41bf8ca887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f41bf35085b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f41bf30d28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f41bf3116d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f41bf311b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55bcb0af85c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f41bbca3d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2662==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2662==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-IllumA_10deg-MAT.xml Spec400_10_700-IllumA_10deg-MAT.icc ================================================================= ==2663==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f6ddfdfee57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f6dde1be4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f6ddf8ef086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f6ddf8ef0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f6dde04f8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f6dde04e918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x558af1859d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x558af1858f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f6ddc1d5d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f6ddc1d5e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x558af18578c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f6ddfdfc887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f6ddf88285b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f6ddf83f28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f6ddf8436d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f6ddf843b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x558af18585c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f6ddc1d5d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2663==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2663==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-IllumA_2deg-Abs.xml Spec400_10_700-IllumA_2deg-Abs.icc ================================================================= ==2664==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x6130000003c0 #0 0x7f21ba18ee57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f21b854e4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f21b9c7f086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f21b9c7f0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f21b83df8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f21b83de918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x562c7b969d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x562c7b968f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f21b6565d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f21b6565e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x562c7b9678c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x6130000003c0 is located 0 bytes inside of 324-byte region [0x6130000003c0,0x613000000504) allocated by thread T0 here: #0 0x7f21ba18c887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f21b9c1285b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f21b9bcf28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f21b9bd36d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f21b9bd3b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x562c7b9685c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f21b6565d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2664==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2664==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-IllumA_2deg-CAT.xml Spec400_10_700-IllumA_2deg-CAT.icc ================================================================= ==2665==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7fc1d059fe57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fc1ce95f4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fc1d0090086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fc1d00900b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fc1ce7f08d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fc1ce7ef918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55f4de987d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55f4de986f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fc1cc976d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fc1cc976e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55f4de9858c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7fc1d059d887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fc1d002385b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fc1cffe028e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fc1cffe46d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fc1cffe4b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55f4de9865c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fc1cc976d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2665==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2665==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-IllumA_2deg-MAT.xml Spec400_10_700-IllumA_2deg-MAT.icc ================================================================= ==2666==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f21ce8e0e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f21ccca04d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f21ce3d1086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f21ce3d10b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f21ccb318d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f21ccb30918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55ad0c6c2d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55ad0c6c1f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f21cacb7d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f21cacb7e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55ad0c6c08c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f21ce8de887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f21ce36485b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f21ce32128e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f21ce3256d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f21ce325b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55ad0c6c15c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f21cacb7d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2666==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2666==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-N_2deg-Abs.xml Spec400_10_700-N_2deg-Abs.icc ================================================================= ==2667==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7ff512ebce57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7ff51127c4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7ff5129ad086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7ff5129ad0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7ff51110d8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7ff51110c918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x560b13b77d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x560b13b76f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7ff50f293d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7ff50f293e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x560b13b758c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7ff512eba887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7ff51294085b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7ff5128fd28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7ff5129016d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7ff512901b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x560b13b765c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7ff50f293d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2667==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2667==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-N_2deg-CAT02.xml Spec400_10_700-N_2deg-CAT02.icc ================================================================= ==2668==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7ff2bfd42e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7ff2be1024d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7ff2bf833086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7ff2bf8330b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7ff2bdf938d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7ff2bdf92918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55ee14eeed89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55ee14eedf99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7ff2bc119d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7ff2bc119e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55ee14eec8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7ff2bfd40887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7ff2bf7c685b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7ff2bf78328e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7ff2bf7876d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7ff2bf787b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55ee14eed5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7ff2bc119d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2668==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2668==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-N_2deg-MAT.xml Spec400_10_700-N_2deg-MAT.icc ================================================================= ==2669==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c000009880 #0 0x7f6a53dc5e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f6a521854d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f6a538b6086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f6a538b60b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f6a520168d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f6a52015918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x56392cefbd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x56392cefaf99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f6a5019cd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f6a5019ce3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x56392cef98c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c000009880 is located 0 bytes inside of 124-byte region [0x60c000009880,0x60c0000098fc) allocated by thread T0 here: #0 0x7f6a53dc3887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f6a5384985b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f6a5380628e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f6a5380a6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f6a5380ab96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x56392cefa5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f6a5019cd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2669==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2669==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-R1_2deg-Abs.xml Spec400_10_700-R1_2deg-Abs.icc ================================================================= ==2670==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7fba00a63e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fb9fee234d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fba00554086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fba005540b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fb9fecb48d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fb9fecb3918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x56392f256d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x56392f255f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fb9fce3ad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fb9fce3ae3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x56392f2548c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7fba00a61887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fba004e785b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fba004a428e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fba004a86d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fba004a8b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x56392f2555c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fb9fce3ad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2670==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2670==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-R1_2deg-CAT02.xml Spec400_10_700-R1_2deg-CAT02.icc ================================================================= ==2671==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7f0999de3e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f09981a34d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f09998d4086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f09998d40b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f09980348d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f0998033918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5555a42f2d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5555a42f1f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f09961bad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f09961bae3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5555a42f08c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7f0999de1887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f099986785b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f099982428e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f09998286d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f0999828b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5555a42f15c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f09961bad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2671==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2671==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-R1_2deg-MAT.xml Spec400_10_700-R1_2deg-MAT.icc ================================================================= ==2672==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c000009880 #0 0x7fcdb4b45e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fcdb2f054d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fcdb4636086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fcdb46360b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fcdb2d968d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fcdb2d95918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5604e72f3d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5604e72f2f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fcdb0f1cd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fcdb0f1ce3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5604e72f18c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c000009880 is located 0 bytes inside of 124-byte region [0x60c000009880,0x60c0000098fc) allocated by thread T0 here: #0 0x7fcdb4b43887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fcdb45c985b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fcdb458628e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fcdb458a6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fcdb458ab96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5604e72f25c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fcdb0f1cd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2672==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2672==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-R2_2deg-Abs.xml Spec400_10_700-R2_2deg-Abs.icc ================================================================= ==2673==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7f0b46c65e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f0b450254d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f0b46756086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f0b467560b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f0b44eb68d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f0b44eb5918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x556fc9468d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x556fc9467f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f0b4303cd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f0b4303ce3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x556fc94668c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7f0b46c63887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f0b466e985b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f0b466a628e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f0b466aa6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f0b466aab96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x556fc94675c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f0b4303cd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2673==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2673==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-R2_2deg-CAT02.xml Spec400_10_700-R2_2deg-CAT02.icc ================================================================= ==2674==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7f4b9c499e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f4b9a8594d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f4b9bf8a086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f4b9bf8a0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f4b9a6ea8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f4b9a6e9918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5573559d7d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5573559d6f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f4b98870d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f4b98870e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5573559d58c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7f4b9c497887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f4b9bf1d85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f4b9beda28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f4b9bede6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f4b9bedeb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5573559d65c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f4b98870d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2674==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2674==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-R2_2deg-MAT.xml Spec400_10_700-R2_2deg-MAT.icc ================================================================= ==2675==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c000009880 #0 0x7faf67f36e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7faf662f64d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7faf67a27086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7faf67a270b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7faf661878d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7faf66186918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55fd39f1dd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55fd39f1cf99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7faf6430dd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7faf6430de3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55fd39f1b8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c000009880 is located 0 bytes inside of 124-byte region [0x60c000009880,0x60c0000098fc) allocated by thread T0 here: #0 0x7faf67f34887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7faf679ba85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7faf6797728e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7faf6797b6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7faf6797bb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55fd39f1c5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7faf6430dd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2675==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2675==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-Y_2deg-Abs.xml Spec400_10_700-Y_2deg-Abs.icc ================================================================= ==2676==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7fc514a16e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fc512dd64d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fc514507086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fc5145070b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fc512c678d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fc512c66918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55e3c7b35d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55e3c7b34f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fc510dedd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fc510dede3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55e3c7b338c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7fc514a14887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fc51449a85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fc51445728e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fc51445b6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fc51445bb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55e3c7b345c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fc510dedd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2676==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2676==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-Y_2deg-CAT02.xml Spec400_10_700-Y_2deg-CAT02.icc ================================================================= ==2677==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000097c0 #0 0x7f9aa9e98e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f9aa82584d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f9aa9989086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f9aa99890b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f9aa80e98d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f9aa80e8918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x565068f5bd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x565068f5af99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f9aa626fd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f9aa626fe3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x565068f598c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000097c0 is located 0 bytes inside of 124-byte region [0x60c0000097c0,0x60c00000983c) allocated by thread T0 here: #0 0x7f9aa9e96887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f9aa991c85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f9aa98d928e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f9aa98dd6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f9aa98ddb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x565068f5a5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f9aa626fd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2677==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2677==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml Spec400_10_700-Y_2deg-MAT.xml Spec400_10_700-Y_2deg-MAT.icc ================================================================= ==2678==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c000009880 #0 0x7f48a3dc6e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f48a21864d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f48a38b7086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f48a38b70b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f48a20178d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f48a2016918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55fbae6c8d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55fbae6c7f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f48a019dd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f48a019de3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55fbae6c68c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c000009880 is located 0 bytes inside of 124-byte region [0x60c000009880,0x60c0000098fc) allocated by thread T0 here: #0 0x7f48a3dc4887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f48a384a85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f48a380728e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f48a380b6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f48a380bb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55fbae6c75c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f48a019dd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2678==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2678==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml XYZ_float-D50_2deg.xml XYZ_float-D50_2deg.icc ================================================================= ==2679==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x6130000003c0 #0 0x7f008ba81e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f0089e414d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f008b572086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f008b5720b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f0089cd28d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f0089cd1918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5620f70b2d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5620f70b1f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f0087e58d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f0087e58e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5620f70b08c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x6130000003c0 is located 0 bytes inside of 324-byte region [0x6130000003c0,0x613000000504) allocated by thread T0 here: #0 0x7f008ba7f887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f008b50585b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f008b4c228e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f008b4c66d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f008b4c6b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5620f70b15c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f0087e58d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2679==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2679==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml XYZ_float-D65_2deg-MAT.xml XYZ_float-D65_2deg-MAT.icc ================================================================= ==2680==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f591a945e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f5918d054d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f591a436086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f591a4360b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f5918b968d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f5918b95918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5642f84f4d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5642f84f3f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f5916d1cd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f5916d1ce3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5642f84f28c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f591a943887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f591a3c985b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f591a38628e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f591a38a6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f591a38ab96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5642f84f35c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f5916d1cd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2680==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2680==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml XYZ_int-D50_2deg.xml XYZ_int-D50_2deg.icc ================================================================= ==2681==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f5e7322ce57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f5e715ec4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f5e72d1d086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f5e72d1d0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f5e7147d8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f5e7147c918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55a6c2f2ed89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55a6c2f2df99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f5e6f603d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f5e6f603e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55a6c2f2c8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f5e7322a887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f5e72cb085b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f5e72c6d28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f5e72c716d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f5e72c71b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55a6c2f2d5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f5e6f603d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2681==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2681==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml XYZ_int-D65_2deg-MAT-Lvl2.xml XYZ_int-D65_2deg-MAT-Lvl2.icc ================================================================= ==2682==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f30e7a23e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f30e5de34d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f30e7514086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f30e75140b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f30e5c748d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f30e5c73918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55f67cc8ed89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55f67cc8df99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f30e3dfad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f30e3dfae3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55f67cc8c8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f30e7a21887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f30e74a785b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f30e746428e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f30e74686d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f30e7468b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55f67cc8d5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f30e3dfad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2682==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2682==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml XYZ_int-D65_2deg-MAT.xml XYZ_int-D65_2deg-MAT.icc ================================================================= ==2683==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x613000000200 #0 0x7f661fb83e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f661df434d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f661f674086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f661f6740b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f661ddd48d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f661ddd3918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x56517a5c6d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x56517a5c5f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f661bf5ad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f661bf5ae3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x56517a5c48c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x613000000200 is located 0 bytes inside of 324-byte region [0x613000000200,0x613000000344) allocated by thread T0 here: #0 0x7f661fb81887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f661f60785b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f661f5c428e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f661f5c86d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f661f5c8b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x56517a5c55c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f661bf5ad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2683==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2683==ABORTING + set - + ../../Build/Tools/IccFromXml/iccFromXml argbRef.xml argbRef.icc ================================================================= ==2685==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c000010600 #0 0x7f1b24801e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f1b22bc14d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f1b242f2086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f1b242f20b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f1b22a528d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f1b22a51918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x5561fff1cd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x5561fff1bf99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f1b20bd8d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f1b20bd8e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x5561fff1a8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c000010600 is located 0 bytes inside of 124-byte region [0x60c000010600,0x60c00001067c) allocated by thread T0 here: #0 0x7f1b247ff887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f1b2428585b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f1b2424228e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f1b242466d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f1b24246b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x5561fff1b5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f1b20bd8d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2685==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2685==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml SixChanCameraRef.xml SixChanCameraRef.icc ================================================================= ==2686==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60d0000001e0 #0 0x7fe7cc2ade57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fe7ca66d4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fe7cbd9e086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fe7cbd9e0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fe7ca4fe8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fe7ca4fd918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x564a817a9d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x564a817a8f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fe7c8684d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fe7c8684e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x564a817a78c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60d0000001e0 is located 0 bytes inside of 144-byte region [0x60d0000001e0,0x60d000000270) allocated by thread T0 here: #0 0x7fe7cc2ab887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fe7cbd3185b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fe7cbcee28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fe7cbcf26d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fe7cbcf2b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x564a817a85c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fe7c8684d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2686==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2686==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml SixChanInputRef.xml SixChanInputRef.icc ================================================================= ==2687==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60d0000001e0 #0 0x7fe54dea5e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fe54c2654d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fe54d996086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fe54d9960b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fe54c0f68d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fe54c0f5918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x559e96df8d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x559e96df7f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fe54a27cd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fe54a27ce3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x559e96df68c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60d0000001e0 is located 0 bytes inside of 144-byte region [0x60d0000001e0,0x60d000000270) allocated by thread T0 here: #0 0x7fe54dea3887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fe54d92985b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fe54d8e628e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fe54d8ea6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fe54d8eab96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x559e96df75c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fe54a27cd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2687==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2687==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml srgbRef.xml srgbRef.icc ================================================================= ==2688==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c0000148c0 #0 0x7f4152533e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f41508f34d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f4152024086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f41520240b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f41507848d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f4150783918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x56359e01fd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x56359e01ef99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f414e90ad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f414e90ae3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x56359e01d8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c0000148c0 is located 0 bytes inside of 124-byte region [0x60c0000148c0,0x60c00001493c) allocated by thread T0 here: #0 0x7f4152531887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f4151fb785b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f4151f7428e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f4151f786d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f4151f78b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x56359e01e5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f414e90ad8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2688==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2688==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml RefDecC.xml RefDecC.icc ================================================================= ==2689==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c00000b8c0 #0 0x7f4da212fe57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f4da04ef4d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f4da1c20086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f4da1c200b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f4da03808d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f4da037f918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x561b84d63d89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x561b84d62f99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f4d9e506d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f4d9e506e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x561b84d618c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c00000b8c0 is located 0 bytes inside of 124-byte region [0x60c00000b8c0,0x60c00000b93c) allocated by thread T0 here: #0 0x7f4da212d887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f4da1bb385b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f4da1b7028e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f4da1b746d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f4da1b74b96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x561b84d625c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f4d9e506d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2689==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2689==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml RefDecH.xml RefDecH.icc ================================================================= ==2690==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c00000b8c0 #0 0x7fe9c8689e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7fe9c6a494d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7fe9c817a086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7fe9c817a0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7fe9c68da8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7fe9c68d9918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x55f0794efd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x55f0794eef99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7fe9c4a60d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7fe9c4a60e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x55f0794ed8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c00000b8c0 is located 0 bytes inside of 124-byte region [0x60c00000b8c0,0x60c00000b93c) allocated by thread T0 here: #0 0x7fe9c8687887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7fe9c810d85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7fe9c80ca28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7fe9c80ce6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7fe9c80ceb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x55f0794ee5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7fe9c4a60d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2690==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2690==ABORTING + ../../Build/Tools/IccFromXml/iccFromXml RefIncW.xml RefIncW.icc ================================================================= ==2691==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete []) on 0x60c00000b8c0 #0 0x7f45fd2e9e57 in operator delete[](void*) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 #1 0x7f45fb6a94d1 in CIccTagSpectralViewingConditions::~CIccTagSpectralViewingConditions() /tmp/tmm/DemoIccMAX/IccProfLib/IccTagBasic.cpp:10911 #2 0x7f45fcdda086 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e1086) #3 0x7f45fcdda0b7 in CIccTagXmlSpectralViewingConditions::~CIccTagXmlSpectralViewingConditions() (/tmp/tmm/DemoIccMAX/Build/IccXML/libIccXML2.so.2+0x4e10b7) #4 0x7f45fb53a8d8 in CIccProfile::Cleanup() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:263 #5 0x7f45fb539918 in CIccProfile::~CIccProfile() /tmp/tmm/DemoIccMAX/IccProfLib/IccProfile.cpp:239 #6 0x555671a6dd89 in CIccProfileXml::~CIccProfileXml() /tmp/tmm/DemoIccMAX/Build/Cmake/../../IccXML/IccLibXML/IccProfileXml.h:82 #7 0x555671a6cf99 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:113 #8 0x7f45f96c0d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #9 0x7f45f96c0e3f in __libc_start_main_impl ../csu/libc-start.c:392 #10 0x555671a6b8c4 in _start (/tmp/tmm/DemoIccMAX/Build/Tools/IccFromXml/iccFromXml+0x88c4) 0x60c00000b8c0 is located 0 bytes inside of 124-byte region [0x60c00000b8c0,0x60c00000b93c) allocated by thread T0 here: #0 0x7f45fd2e7887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x7f45fcd6d85b in CIccTagXmlSpectralViewingConditions::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccTagXml.cpp:2147 #2 0x7f45fcd2a28e in CIccProfileXml::ParseTag(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:711 #3 0x7f45fcd2e6d5 in CIccProfileXml::ParseXml(_xmlNode*, std::__cxx11::basic_string, std::allocator >&) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:820 #4 0x7f45fcd2eb96 in CIccProfileXml::LoadXml(char const*, char const*, std::__cxx11::basic_string, std::allocator >*) /tmp/tmm/DemoIccMAX/IccXML/IccLibXML/IccProfileXml.cpp:877 #5 0x555671a6c5c7 in main /tmp/tmm/DemoIccMAX/IccXML/CmdLine/IccFromXml/IccFromXml.cpp:68 #6 0x7f45f96c0d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:163 in operator delete[](void*) ==2691==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0 ==2691==ABORTING + set - ICC file count... testing.. : 204