Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vt-tv crashes when built with Debug #139

Open
pierrepebay opened this issue Jan 14, 2025 · 0 comments
Open

vt-tv crashes when built with Debug #139

pierrepebay opened this issue Jan 14, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pierrepebay
Copy link
Contributor

With the default configuration, a nlohmann/json assertion fails and crashes vt-tv:

Input configuration file=/home/pierrelp/Develop/NGA/DARMA/vttv/vt-tv/config/conf.yaml
Reading file for rank 1
INFO - json_datafile_validator.py:400 - Validating file: /home/pierrelp/Develop/NGA/DARMA/vttv/vt-tv/data/lb_test_data/data.1.json
INFO - json_datafile_validator.py:414 - Valid JSON schema in /home/pierrelp/Develop/NGA/DARMA/vttv/vt-tv/data/lb_test_data/data.1.json
vt-tv_standalone: /home/pierrelp/Develop/NGA/DARMA/vttv/vt-tv/lib/json/include/nlohmann/json.hpp:3730: const nlohmann::vt::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>::value_type& nlohmann::vt::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>::operator[](T*) const [with T = const char; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string<char>; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::vt::adl_serializer; BinaryType = std::vector<unsigned char>; const_reference = const nlohmann::vt::basic_json<>&]: Assertion `m_value.object->find(key) != m_value.object->end()' failed.
Aborted (core dumped)
@pierrepebay pierrepebay added the bug Something isn't working label Jan 14, 2025
@pierrepebay pierrepebay self-assigned this Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant