trimReads
trimReads copied to clipboard
Segmentation fault on many adapters
When running trimReads on many adapters, it crashes, with the error coming from the internal SeqAn procedure.
(gdb) bt
#0 0x0000003e17873005 in _int_malloc () from /lib64/libc.so.6
#1 0x0000003e17874cde in malloc () from /lib64/libc.so.6
#2 0x00002aaaaaba0c9d in operator new (sz=256) at ../../../../gcc-4.4.3/libstdc++-v3/libsupc++/new_op.cc:52
#3 0x000000000040907d in seqan::Size<seqan::String<unsigned long, seqan::Alloc<void> > >::Type seqan::_Resize_String<seqan::Tag<seqan::TagGenerous_> const>::resize_<seqan::String<unsigned long, seqan::Alloc<void> > >(seqan::String<unsigned long, seqan::Alloc<void> >&, seqan::Size<seqan::String<unsigned long, seqan::Alloc<void> > >::Type) ()
#4 0x00000000004092ec in void seqan::AppendValueToString_<seqan::Tag<seqan::TagGenerous_> const>::appendValue_<seqan::String<unsigned long, seqan::Alloc<void> >, int const>(seqan::String<unsigned long, seqan::Alloc<void> >&, int const&) ()
#5 0x000000000041611f in int seqan::_smithWaterman<seqan::String<char, seqan::Alloc<void> >, seqan::ArrayGaps, int>(seqan::Align<seqan::String<char, seqan::Alloc<void> >, seqan::ArrayGaps>&, seqan::LocalAlignmentFinder<int>&, seqan::Score<int, seqan::Simple> const&, int) ()
#6 0x0000000000404401 in main ()
This might have something to with the limit of number of letters for the alignment procedure.