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

*** caught segfault *** address cause 'invalid permissions' #106

Open
SamMod1 opened this issue Dec 9, 2024 · 1 comment
Open

*** caught segfault *** address cause 'invalid permissions' #106

SamMod1 opened this issue Dec 9, 2024 · 1 comment

Comments

@SamMod1
Copy link

SamMod1 commented Dec 9, 2024

Hello,

Me and a college are trying to run rMVP on a cluster, however we keep getting segmentation fault during the MVP.Data() run:

MVP.Data(fileVCF=genotype_vcf,
         filePhe=phenotype,
         fileKin=FALSE,
         filePC=FALSE,
         sep.phe="\t",
         ncpus=1,
         out=output
)

The function does generate output before it errors, it generates output.geno.bin, output.geno.desc and output.geno.map, however not output.phe. Furthermore, while most of these files do appear to have output, the output.geno.bin file, while it does have content it seems to be just filled with zeros. When I try to run MVP() on this output it errors saying "NA is not allowed in genotype, use 'MVP.Data.impute' to impute.". However, I am thinking this may be related to the failure of MVP.Data() to run successfully.

Here is the full output MVP.Data() generates:

Full description, Bug report, Suggestion and the latest version:
https://github.com/xiaolei-lab/rMVP
[1] "phenotype.tab"
[1] "modified.recode.vcf"
[1] "rMVP/snapper_sd"
Preparing data for MVP...
Reading file...
inds: 12 markers: 5025424
Loading genotype at a step of 10000...
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|

*** caught segfault ***
address 0x1538b97f5aa0, cause 'invalid permissions'

Traceback:
1: vcf_parser_genotype(vcf_file = vcf_file, pBigMat = bigmat@address, maxLine = maxLine, threads = threads, verbose = verbose)
2: MVP.Data.VCF2MVP(vcf_file = fileVCF, out = out, verbose = verbose, threads = ncpus)
3: MVP.Data(fileVCF = genotype_vcf, filePhe = phenotype, fileKin = FALSE, filePC = FALSE, sep.phe = "\t", ncpus = 1, out = output)
An irrecoverable exception occurred. R is aborting now ...
/var/spool/slurmd/job8190498/slurm_script: line 4: 637543 Segmentation fault (core dumped) Rscript init_vcf_data.R phenotype.tab modified.recode.vcf rMVP/snapper_sd

@SamMod1
Copy link
Author

SamMod1 commented Dec 13, 2024

It seems like this might be an issue with our computer cluster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant