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

segment fault of picard MarkDuplicates when RNA-seq BAM #975

Closed
2 tasks done
wangyugui opened this issue Nov 14, 2017 · 6 comments
Closed
2 tasks done

segment fault of picard MarkDuplicates when RNA-seq BAM #975

wangyugui opened this issue Nov 14, 2017 · 6 comments
Labels

Comments

@wangyugui
Copy link

wangyugui commented Nov 14, 2017

segment fault of picard MarkDuplicates when RNA-seq BAM.


Bug Report

Affected tool(s)

MarkDuplicates

Affected version(s)

  • 2.14.1/Latest 2.15.0
  • but 2.10.3. is OK

Description

segment fault of picard MarkDuplicates when RNA-seq BAM.
although we do not use the bam without dup any more, but we can see how many dup in it.

Steps to reproduce

[Tue Nov 14 10:52:58 CST 2017] MarkDuplicates INPUT=[/biowrk/refseq.Homo_sapiens.108/bam.star/SAMEA1968189/Aligned.sortedByCoord.out.bam] OUTPUT=/biowrk/refseq.Homo_sapiens.108/bam.star/SAMEA1968189/md.bam METRICS_FILE=/biowrk/refseq.Homo_sapiens.108/bam.star/SAMEA1968189/md.metrics REMOVE_DUPLICATES=true VERBOSITY=WARNING COMPRESSION_LEVEL=0 CREATE_INDEX=true    MAX_SEQUENCES_FOR_DISK_READ_ENDS_MAP=50000 MAX_FILE_HANDLES_FOR_READ_ENDS_MAP=8000 SORTING_COLLECTION_SIZE_RATIO=0.25 TAG_DUPLICATE_SET_MEMBERS=false REMOVE_SEQUENCING_DUPLICATES=false TAGGING_POLICY=DontTag CLEAR_DT=true ADD_PG_TAG_TO_READS=true ASSUME_SORTED=false DUPLICATE_SCORING_STRATEGY=SUM_OF_BASE_QUALITIES PROGRAM_RECORD_ID=MarkDuplicates PROGRAM_GROUP_NAME=MarkDuplicates READ_NAME_REGEX=<optimized capture of last three ':' separated fields as numeric values> OPTICAL_DUPLICATE_PIXEL_DISTANCE=100 MAX_OPTICAL_DUPLICATE_SET_SIZE=300000 QUIET=false VALIDATION_STRINGENCY=STRICT MAX_RECORDS_IN_RAM=500000 CREATE_MD5_FILE=false GA4GH_CLIENT_SECRETS=client_secrets.json USE_JDK_DEFLATER=false USE_JDK_INFLATER=false
[Tue Nov 14 10:52:58 CST 2017] Executing as root@T620 on Linux 3.10.0-693.5.2.el7.x86_64 amd64; OpenJDK 64-Bit Server VM 1.8.0_151-b12; Deflater: Intel; Inflater: Intel; Picard version: 2.15.0-SNAPSHOT
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f8b2a6da58b, pid=29322, tid=0x00007f830d745700
#
# JRE version: OpenJDK Runtime Environment (8.0_151-b12) (build 1.8.0_151-b12)
# Java VM: OpenJDK 64-Bit Server VM (25.151-b12 mixed mode linux-amd64 )
# Problematic frame:
# V  [libjvm.so+0x62e58b]
#
# Core dump written. Default location: /usr/hpc-bio/bam.align/core or core.29322
#
# An error report file with more information is saved as:
# /usr/hpc-bio/bam.align/hs_err_pid29322.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
@wangyugui
Copy link
Author

hs_err_pid29322.zip

@lbergelson
Copy link
Member

@wangyugui Thank you for the report.

There have been a number of similar sounding reports recently. We think the issue is related to using the Intel GKL optimized deflater or inflater. You can disable that by providing setting use_jdk_deflater=true and use_jdk_inflater=true arguments.

Could you test if those solve the problem? Please let us know if they help, and if you can us which one is necessary to fix the problem that would be helpful for us to try to reproduce it.

@pnvaidya
Copy link

@wangyugui Thank you for reporting this. We are looking into the Intel Inflater/Deflater... For time being please use the JDK version as suggested by Louis.

@lbergelson lbergelson added the bug label Nov 14, 2017
@wangyugui
Copy link
Author

wangyugui commented Nov 14, 2017

@lbergelson

use_jdk_deflater=true use_jdk_inflater=true => OK
use_jdk_deflater=true =>OK
use_jdk_inflater=true =>segment fault too.

@wangyugui
Copy link
Author

@lbergelson

Is this bug fixed in Intel-HLS/GKL#83 ?

@wangyugui
Copy link
Author

In my test, it is fixed in picard 2.16.0 release.

@broadinstitute broadinstitute deleted a comment Feb 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants