We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Problem description
Compiling with _GLIBCXX_ASSERTIONS enabled appears to reveal an out-of-bounds read in the tests.
_GLIBCXX_ASSERTIONS
Steps to reproduce
scons build cc_flags='-Wp,-D_GLIBCXX_ASSERTIONS' cxx_flags='-Wp,-D_GLIBCXX_ASSERTIONS -std=c++14' -j16
scons test -j16
Behavior
[ RUN ] Reaction.FalloffFromYaml2 /usr/include/c++/12/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::oper ator[](size_type) [with _Tp = double; _Alloc = std::allocator<double>; reference = double&; size_type = long u nsigned int]: Assertion '__n < this->size()' failed. FAILED: Test 'kinetics' exited with code -6
Compare to
scons build -j16 scons test -j16
which succeeds.
System information
Attachments
Additional context
The text was updated successfully, but these errors were encountered:
FYI @mefuller
Sorry, something went wrong.
Thanks @musicinmybrain
Fix issues identified by _GLIBCXX_ASSERTIONS macro
792f379
Resolves Cantera#1430
e494c0a
Resolves #1430
Successfully merging a pull request may close this issue.
Problem description
Compiling with
_GLIBCXX_ASSERTIONS
enabled appears to reveal an out-of-bounds read in the tests.Steps to reproduce
scons build cc_flags='-Wp,-D_GLIBCXX_ASSERTIONS' cxx_flags='-Wp,-D_GLIBCXX_ASSERTIONS -std=c++14' -j16
scons test -j16
Behavior
Compare to
which succeeds.
System information
Attachments
Additional context
The text was updated successfully, but these errors were encountered: