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

assertion failed on gcc 4.7.1 #5

Open
nicolaprezza opened this issue Oct 9, 2014 · 0 comments
Open

assertion failed on gcc 4.7.1 #5

nicolaprezza opened this issue Oct 9, 2014 · 0 comments

Comments

@nicolaprezza
Copy link

bitvector produces a failed assertion in the DNA aligner ERNE (while constructing the data structure) if the code is compiled using gcc 4.7.1:

erne-create: BWTIL/data_structures/../
common/../extern/bitvector/include/internal/bitvector.hpp:342: std::pair<long unsigned int, long unsigned int> bv::internal::bt_impl<, >::subtree_ref_base::find_insert_point(size_t) const [with bool Const = true; long unsigned int W = 2048ul; bv::allocation_policy_t AP = (bv::allocation_policy_t)0u; size_t = long unsigned int]: Assertion `is_node()' failed.

To reproduce, download ERNE code from https://svn.code.sf.net/p/erne/code/trunk/ (boost required), then configure and compile with gcc 4.7.1. The command that produces the error is

erne-create --fasta vitis.fasta --out structure_name

where "vitis.fasta" is the vitis vinifera genome. The assertion fails at 0% of the construction so it is likely that the problem will occur also with any other input.

Other notes: the program terminates successfully if ERNE is compiled with gcc 4.8+

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

1 participant