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

Undefined behavior in bedtools expand #1088

Open
SoapGentoo opened this issue Apr 25, 2024 · 0 comments
Open

Undefined behavior in bedtools expand #1088

SoapGentoo opened this issue Apr 25, 2024 · 0 comments

Comments

@SoapGentoo
Copy link

Reporting this from https://bugs.gentoo.org/896172:
compiling bedtools with CPPFLAGS="-D_GLIBCXX_ASSERTIONS=1" and running tests:

Testing bedtools expand:
    expand.t1.../usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/basic_string.h:1229: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; reference = char&; size_type = long unsigned int]: Assertion '__pos <= size()' failed.
test-expand.sh: line 33: 421609 Aborted                 (core dumped) $BT expand -i expand.txt -c 4 > obs
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