================================================================= ==8304==ERROR: AddressSanitizer: global-buffer-overflow on address 0x7f90181e3bf0 at pc 0x7f901814f89b bp 0x7ffd1c54f890 sp 0x7ffd1c54f888 READ of size 8 at 0x7f90181e3bf0 thread T0 #0 0x7f901814f89a in KIM::ModelImplementation::ConvertUnit(KIM::LengthUnit, KIM::EnergyUnit, KIM::ChargeUnit, KIM::TemperatureUnit, KIM::TimeUnit, KIM::LengthUnit, KIM::EnergyUnit, KIM::ChargeUnit, KIM::TemperatureUnit, KIM::TimeUnit, double, double, double, double, double, double*) const /home/daniel/workspace/kim-api/cpp/src/KIM_ModelImplementation.cpp:1530:47 #1 0x7f90154ad717 in (anonymous namespace)::LennardJones_Ar::ConvertUnits(KIM::ModelCreate*, KIM::LengthUnit, KIM::EnergyUnit, KIM::ChargeUnit, KIM::TemperatureUnit, KIM::TimeUnit) /home/daniel/workspace/kim-api/examples/models/LennardJones_Ar/LennardJones_Ar.cpp:329:24 #2 0x7f90154ad717 in (anonymous namespace)::LennardJones_Ar::LennardJones_Ar(KIM::ModelCreate*, KIM::LengthUnit, KIM::EnergyUnit, KIM::ChargeUnit, KIM::TemperatureUnit, KIM::TimeUnit, int*) /home/daniel/workspace/kim-api/examples/models/LennardJones_Ar/LennardJones_Ar.cpp:57 #3 0x7f90154ad717 in model_create /home/daniel/workspace/kim-api/examples/models/LennardJones_Ar/LennardJones_Ar.cpp:394 #4 0x7f9018157715 in KIM::ModelImplementation::InitializeStandAloneModel(KIM::LengthUnit, KIM::EnergyUnit, KIM::ChargeUnit, KIM::TemperatureUnit, KIM::TimeUnit) /home/daniel/workspace/kim-api/cpp/src/KIM_ModelImplementation.cpp:2353:13 #5 0x7f9018128785 in KIM::ModelImplementation::ModelCreate(KIM::Numbering, KIM::LengthUnit, KIM::EnergyUnit, KIM::ChargeUnit, KIM::TemperatureUnit, KIM::TimeUnit, std::__cxx11::basic_string, std::allocator > const&) /home/daniel/workspace/kim-api/cpp/src/KIM_ModelImplementation.cpp:1878:15 #6 0x7f9018126978 in KIM::ModelImplementation::Create(KIM::Numbering, KIM::LengthUnit, KIM::EnergyUnit, KIM::ChargeUnit, KIM::TemperatureUnit, KIM::TimeUnit, std::__cxx11::basic_string, std::allocator > const&, int*, KIM::ModelImplementation**) /home/daniel/workspace/kim-api/cpp/src/KIM_ModelImplementation.cpp:196:33 #7 0x7f90180e2838 in KIM::Model::Create(KIM::Numbering, KIM::LengthUnit, KIM::EnergyUnit, KIM::ChargeUnit, KIM::TemperatureUnit, KIM::TimeUnit, std::__cxx11::basic_string, std::allocator > const&, int*, KIM::Model**) /home/daniel/workspace/kim-api/cpp/src/KIM_Model.cpp:56:15 #8 0x7f90181879fe in KIM_Model_Create /home/daniel/workspace/kim-api/c/src/KIM_Model_c.cpp:184:13 #9 0x55d006e03fb0 in read_kim_model_params /home/daniel/workspace/potfit-dschopf/build/../src/potential_input_f5.c:59:13 #10 0x55d006e04bdc in read_keywords_and_parameters /home/daniel/workspace/potfit-dschopf/build/../src/potential_input_f5.c:593:3 #11 0x55d006e04db7 in read_pot_table5 /home/daniel/workspace/potfit-dschopf/build/../src/potential_input_f5.c:727:3 #12 0x55d006e01152 in read_pot_table /home/daniel/workspace/potfit-dschopf/build/../src/potential_input.c:141:7 #13 0x55d006debc26 in read_input_files /home/daniel/workspace/potfit-dschopf/build/../src/potfit.c:234:5 #14 0x55d006deaeda in main /home/daniel/workspace/potfit-dschopf/build/../src/potfit.c:78:3 #15 0x7f9017eb5002 in __libc_start_main (/usr/lib/libc.so.6+0x24002) #16 0x55d006cee3bd in _start (/home/daniel/workspace/potfit-dschopf/bin/potfit_kim_mkl_asan_debug+0x313bd)