-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Description
Hi there, just following up on #42 I received this crash
samtools view -h reads_lr_skbr3.fa_ngmlr-0.2.3_mapped.readsort.bam|/home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster --ignoreUnmated -s samp.split-sam -o /dev/null
samblaster: Version 0.1.24
samblaster: Inputting from stdin
samblaster: Opening /dev/null for write.
samblaster: Opening samp.split-sam for write.
samblaster: Loaded 86 header sequence entries.
Segmentation fault (core dumped)
The segmentation fault happens after the samp.split-sam file is 3.2Gb
I ran it again with valgrind and got this
ubuntu@ip-172-31-43-125:/data2$ samtools view -h reads_lr_skbr3.fa_ngmlr-0.2.3_mapped.readsort.bam| valgrind /home/linuxbrew/.linuxbrew/Cellar/samblaster/0
.1.24/bin/samblaster --ignoreUnmated -s samp.split-sam -o /dev/null
==6489== Memcheck, a memory error detector
==6489== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==6489== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==6489== Command: /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster --ignoreUnmated -s samp.split-sam -o /dev/null
==6489==
samblaster: Version 0.1.24
samblaster: Inputting from stdin
samblaster: Opening /dev/null for write.
samblaster: Opening samp.split-sam for write.
samblaster: Loaded 86 header sequence entries.
==6489== Invalid read of size 4
==6489== at 0x40524D: hashTableInsert(hashTable*, unsigned long) (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== by 0x4038A4: markDupsDiscordants(splitLine*, state_struct*) (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== by 0x404216: processSAMBlock(splitLine*, state_struct*) (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== by 0x401738: main (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== Address 0x1005bec998 is 1,927,528 bytes inside a block of size 2,367,424 in arena "dinfo"
==6489==
==6489== Invalid read of size 4
==6489== at 0x405250: hashTableInsert(hashTable*, unsigned long) (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== by 0x4038A4: markDupsDiscordants(splitLine*, state_struct*) (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== by 0x404216: processSAMBlock(splitLine*, state_struct*) (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== by 0x401738: main (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== Address 0x1005bec99c is 1,927,532 bytes inside a block of size 2,367,424 in arena "dinfo"
==6489==
==6489== Invalid read of size 8
==6489== at 0x405272: hashTableInsert(hashTable*, unsigned long) (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== by 0x4038A4: markDupsDiscordants(splitLine*, state_struct*) (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== by 0x404216: processSAMBlock(splitLine*, state_struct*) (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== by 0x401738: main (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== Address 0x1005bec990 is 1,927,520 bytes inside a block of size 2,367,424 in arena "dinfo"
==6489==
==6489== Invalid read of size 8
==6489== at 0x405318: hashTableInsert(hashTable*, unsigned long) (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== by 0x4038A4: markDupsDiscordants(splitLine*, state_struct*) (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== by 0x404216: processSAMBlock(splitLine*, state_struct*) (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== by 0x401738: main (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== Address 0x4466d9570f662424 is not stack'd, malloc'd or (recently) free'd
==6489==
==6489==
==6489== Process terminating with default action of signal 11 (SIGSEGV)
==6489== General Protection Fault
==6489== at 0x405318: hashTableInsert(hashTable*, unsigned long) (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== by 0x4038A4: markDupsDiscordants(splitLine*, state_struct*) (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== by 0x404216: processSAMBlock(splitLine*, state_struct*) (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489== by 0x401738: main (in /home/linuxbrew/.linuxbrew/Cellar/samblaster/0.1.24/bin/samblaster)
==6489==
==6489== HEAP SUMMARY:
==6489== in use at exit: 14,692,245 bytes in 812 blocks
==6489== total heap usage: 1,855 allocs, 1,043 frees, 28,039,720 bytes allocated
==6489==
==6489== LEAK SUMMARY:
==6489== definitely lost: 0 bytes in 0 blocks
==6489== indirectly lost: 0 bytes in 0 blocks
==6489== possibly lost: 0 bytes in 0 blocks
==6489== still reachable: 14,692,245 bytes in 812 blocks
==6489== suppressed: 0 bytes in 0 blocks
==6489== Rerun with --leak-check=full to see details of leaked memory
==6489==
==6489== For counts of detected and suppressed errors, rerun with: -v
==6489== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
Segmentation fault (core dumped)
Not very good with reading stack traces like this but thought it could help
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels