-
Notifications
You must be signed in to change notification settings - Fork 76
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
release/6.3.0
: Test suite does not pass gecode/test/int.cpp:289: void Test::Int::TestSpace::prune(int, bool, Gecode::Support::RandomGenerator &): Assertion '(v < x[i].max()) && (v >= x[i].min())' failed.
#200
Open
Comments
LebedevRI
changed the title
Aug 23, 2024
release/6.3.0
: Test suite does not pass gecode/test/int.cpp:289: void Test::Int::TestSpace::prune(int, bool, Gecode::Support::RandomGenerator &): Assertion
(v < x[i].max()) && (v >= x[i].min())' failed.`release/6.3.0
: Test suite does not pass gecode/test/int.cpp:289: void Test::Int::TestSpace::prune(int, bool, Gecode::Support::RandomGenerator &): Assertion '(v < x[i].max()) && (v >= x[i].min())' failed.
LebedevRI
added a commit
to LebedevRI/gecode
that referenced
this issue
Aug 23, 2024
Ensure that it gets built when testing is enabled, and that CMake actually uses said executable target, and not some binary. That being said, the test does not pass with assertions enabled: Gecode#200
What is the exact set of commands you rand to get this result? I've tried various ways, and I can not reproduce it. In addition, looking at the code I am unclear on how this assert could trigger. I can of course be missing something, but it seems to me like this should not happen. |
I'm guessing you have some UB. Is gecode asan/ubsan clean? I've seen quite a few SIGSEGV's from minizinc.
(aka #201) |
Yup, we're firmly in UB lands:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Built with clang-18 +
-O2 -UNDEBUG
The text was updated successfully, but these errors were encountered: