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

Brisk generate a SIGSEGV #1

Open
natir opened this issue Dec 21, 2020 · 1 comment
Open

Brisk generate a SIGSEGV #1

natir opened this issue Dec 21, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@natir
Copy link

natir commented Dec 21, 2020

Hi

I use brisk to count kmer in another project to use brisk I encapsulate in a class. When I run Pangenie I get a SIGSEV with this backtrace:

#0  0x00002aaaab7924b8 in __memcpy_ssse3_back () from /lib64/libc.so.6
#1  0x00000000004375c6 in SKCL::get_prefix(unsigned char const*, Parameters const&) const ()
#2  0x0000000000437866 in SKCL::param_interleaved_value(unsigned char*, unsigned char, Parameters const&) const ()
#3  0x0000000000437a74 in SKCL::interleaved_value(unsigned char*, Parameters const&) const ()
#4  0x00002aaaaaeb1a4f in Bucket<unsigned char>::insert_buffer() () from /home/marijon/tools/pangenie/build/src/libPanGenieLib.so
#5  0x00002aaaaaeb0959 in Bucket<unsigned char>::insert_kmer(kmer_full&) () from /home/marijon/tools/pangenie/build/src/libPanGenieLib.so
#6  0x00002aaaaaeafe66 in DenseMenuYo<unsigned char>::insert_kmer(kmer_full&) () from /home/marijon/tools/pangenie/build/src/libPanGenieLib.so
#7  0x00002aaaaaeaf6de in Brisk<unsigned char>::insert(kmer_full&) () from /home/marijon/tools/pangenie/build/src/libPanGenieLib.so
#8  0x00002aaaaaeae323 in BriskIndex::BriskIndex(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, unsigned long, unsigned long, unsigned long, unsigned long) () from /home/marijon/tools/pangenie/build/src/libPanGenieLib.so
#9  0x0000000000439b03 in main ()

I can provide a file of sequence that I am trying to index. I use the commit 84a8ce2

Thank for your work.

@yoann-dufresne
Copy link
Collaborator

Thanks for the outcome.
Brisk is still under construction, that's why.

We should release a new version during January with a lot of code changes.
Hope it will correct your problem. If not, please contact me again.

@yoann-dufresne yoann-dufresne self-assigned this Dec 21, 2020
@yoann-dufresne yoann-dufresne added the bug Something isn't working label Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants