Skip to content

frequency Segmentation fault  #4

@yuansliu

Description

@yuansliu

Hi @lrog

I got some Segmentation fault. As I always got segmentation fault on real dataset. I run the script to test it. As following:

./get_fastq.sh 
[ scripts]$ head -9600 test_1.fq > test_1_part.fq
[ scripts]$ sh test_se.sh test_1_part.fq 8
--------------------------------
testing: lossless
--------------------------------
fastore_compress.sh: line 227: 13004 Segmentation fault      $FASTORE_REBIN e "-i$TMP_BIN" "-o$TMP_REBIN-2" "-t$TH_REBIN" $PAR_REBIN_C1 $PAR_PE -p2
[ scripts]$ head -9596 test_1.fq > test_1_part.fq
[ scripts]$ sh test_se.sh test_1_part.fq 8
--------------------------------
testing: lossless
--------------------------------
--------------------------------
testing: reduced
--------------------------------
--------------------------------
testing: lossy
--------------------------------
--------------------------------
testing: max
--------------------------------

The first test has one more reads than that of the second.
Some information about the compile

[ scripts]$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-4/root/usr --mandir=/opt/rh/devtoolset-4/root/usr/share/man --infodir=/opt/rh/devtoolset-4/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --disable-libgcj --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-5.3.1-20160406/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 5.3.1 20160406 (Red Hat 5.3.1-6) (GCC) 

And, I also test gcc version 6.2.1 20160916 (Red Hat 6.2.1-3) (GCC) . It can not work.

Is there some other special requirements to run your tool?

Thank you very much.


And it works well on paired-end reads.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions