iqbal-lab-org / gramtools

Genome inference from a population reference graph
MIT License
92 stars 15 forks source link

Periodic assertion failures in SDSL #29

Closed iqbal-lab closed 7 years ago

iqbal-lab commented 8 years ago

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 commented 7 years ago

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