Skip to content

Plugin split-vep runs into segfault when longname for option --all-fields is used #2473

Description

@ManavalanG

Plugin split-vep runs into segmentation fault when long form --all-fields is used instead of short form -A.

# version
$ bcftools --version
bcftools 1.21
Using htslib 1.21
Copyright (C) 2024 Genome Research Ltd.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

# using --all-fields 
$ bcftools +split-vep test.vcf --format '%CHROM\t%POS\t%REF\t%ALT\t%CSQ\n' --all-fields tab > /dev/null
Segmentation fault

# using -A
$ bcftools +split-vep test.vcf --format '%CHROM\t%POS\t%REF\t%ALT\t%CSQ\n' -A tab > /dev/null
$

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