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

Periodic assertion failures in SDSL #29

Closed
iqbal-lab opened this issue Jul 31, 2016 · 1 comment
Closed

Periodic assertion failures in SDSL #29

iqbal-lab opened this issue Jul 31, 2016 · 1 comment
Assignees

Comments

@iqbal-lab
Copy link
Collaborator

eg here:

bash-4.1$ ./slow_unittest_bidir_search_bwd_fwd
[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from BackwardSearchTest
[ RUN ] BackwardSearchTest.NoVariantsSlowTest2
slow_unittest_bidir_search_bwd_fwd: /home/sm0179/include/sdsl/int_vector.hpp:1235: sdsl::int_vector< >::reference sdsl::int_vector< >::operator[](const size_type&) [with unsigned char t_width = 0u; sdsl::int_vector< >::reference = sdsl::int_vector_referencesdsl::int_vector<0u >; sdsl::int_vector< >::size_type = long unsigned int]: Assertion `idx < this->size()' failed.

I also saw this in the fast tests, and it went away when I fixed some errors in the input pRG/masks.
I can't see any problem with the input file, and on rerunning I can't reproduce this

@ffranr
Copy link
Contributor

ffranr commented Aug 22, 2017

I haven't seen these unit tests fail in a long time.

@ffranr ffranr closed this as completed Aug 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants