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

Another core dump error on import #37

Open
skellyfalke opened this issue May 29, 2024 · 0 comments
Open

Another core dump error on import #37

skellyfalke opened this issue May 29, 2024 · 0 comments

Comments

@skellyfalke
Copy link

skellyfalke commented May 29, 2024

Hi,

I'm trying to import a vcf file tmp_subset.vcf.gz and getting the following error:

$ tomahawk import -i out/tmp_subset.vcf -o tmp/test.twk
Program: tomahawk-beta-0.7.1-dirty (Tools for computing, querying and storing LD data)
Libraries: tomahawk-0.7.0; ZSTD-1.5.6; htslib 1.13+ds
Contact: Marcus D. R. Klarqvist [email protected]
Documentation: https://github.com/mklarqvist/tomahawk
License: MIT

[2024-05-29 10:33:41,791][LOG] Calling import...
[2024-05-29 10:33:41,792][LOG][READER] Opening out/tmp_subset.vcf...
Segmentation fault (core dumped)

The VCF file format looks OK to me so I began trying to use gdb to diagnose the problem:

$ gdb --args tomahawk import -i out/tmp_subset.vcf -o tmp/test.twk
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
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.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
https://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from tomahawk...
(gdb) break tomahawk::VcfHeaderInternal::AddContigInfo
Breakpoint 1 at 0x3ef80: file lib/header_internal.cpp, line 17.

Could you help with this?

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