You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried both 1.18 and develop branch. I don't get why no arguments to the function are shown in gdb. I even get this with -g and no optimisation. I'll try address sanitizer, but adding it here incase I'm just doing something wrong.
I don't know how to use merge, and I couldn't understand what the usage statement means for -g with -|REF.fa. I don't have GVCF I think as I start from a merged VCF and are splitting it out in order to remerge (as I want to experiment with local-alleles). However it's clearly failing in reference comparison, but there doesn't appear to be any way of specifying a reference for non-vcf.
Either way, incorrect usage shouln't cause a crash.
The text was updated successfully, but these errors were encountered:
Ah figured out the debugging oddity. Something in my htslib was disagreeing with gdb. That had been built by clang, but gdb on the bcftools binary was throwing its hands up in horror:
Reading symbols from bcftools...Dwarf Error: Cannot handle DW_FORM_<unknown> in DWARF reader
Anyway, rebuilding that with the system gcc gave me a binary that gdb could swallow again. The error is:
Program received signal SIGSEGV, Segmentation fault.
0x000055555561484e in vcmp_set_ref (vcmp=0x0, ref1=0x555555c22840 "C", ref2=0x555555c23b00 "C") at vcmp.c:57
57 vcmp->ndref = 0;
This is from args->vcmp, which only appears to be set when I do -m none to set args->collapse = COLLAPSE_NONE. I don't know enough about what I'm doing here, as I'm not a user - just trying to evaluate the local alleles code. -m none cures the SEGV, but clearly the default should work. Why is it using vcmp when the collapse mode is not none?
What I'm doing seems to be the most naive thing possible. Split out two samples and then merge them back together again.
I cannot get merge to work. Starting from a 1000genomes file:
It's dying in some place with minimal debugging information, which is a little odd.
The input data will be available to you locally. It's just a symlink to here:
lrwxrwxrwx 1 jkb team117 108 Sep 1 14:44 g1k_chr20.vcf.gz -> /nfs/users/nfs_j/jkb/scratch/data/ALL.chr20.phase3_shapeit2_mvncall_integrated_v5a.20130502.genotypes.vcf.gz
I tried both 1.18 and develop branch. I don't get why no arguments to the function are shown in gdb. I even get this with -g and no optimisation. I'll try address sanitizer, but adding it here incase I'm just doing something wrong.
I don't know how to use merge, and I couldn't understand what the usage statement means for -g with
-|REF.fa
. I don't have GVCF I think as I start from a merged VCF and are splitting it out in order to remerge (as I want to experiment with local-alleles). However it's clearly failing in reference comparison, but there doesn't appear to be any way of specifying a reference for non-vcf.Either way, incorrect usage shouln't cause a crash.
The text was updated successfully, but these errors were encountered: