DReichLab / DReichLab/AdmixTools

qpWave - Segmentation fault (core dumped)

Open
#92 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
235
Forks
76
PR merge metrics
No merged PRs in 30d

Description

Hello,
When I run qpWave in AdmixTools, I met a error: segmentation fault (core dumped)
Here is the error message

qpWave version: 1520

*** recommended that inbreed be explicitly set ***
inbreed set YES
tmp: /tmp/fsx.7302
sh: 1: qpfstats: not found
bad open /tmp/fsx.7302
(openit) can't open file /tmp/fsx.7302 of type r
error info: No such file or directory
Segmentation fault (core dumped)

What's wrong with it?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the qpWave failure with AdmixTools version 1520 and inspect the reported qpfstats: not found message and the temporary file /tmp/fsx.7302. Trace how qpWave handles the missing qpfstats output and the subsequent bad open before the segmentation fault; done means the failure is explained and qpWave reports it without crashing.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.