teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

gdbで問題発生箇所を特定?

2020/05/20 11:34

投稿

sirami
sirami

スコア0

title CHANGED
File without changes
body CHANGED
@@ -83,4 +83,30 @@
83
83
 
84
84
  windows10から、WSLでUbuntu 18.04を使っています。
85
85
  プログラムはこちらからダウンロードしました。
86
- [https://github.com/soedinglab/hh-suite](https://github.com/soedinglab/hh-suite)
86
+ [https://github.com/soedinglab/hh-suite](https://github.com/soedinglab/hh-suite)
87
+
88
+ ### 追加情報
89
+
90
+ gdbというものを実行したうえでプログラムを走らせたところ、
91
+
92
+ ```
93
+ Thread 1 "hhblits" received signal SIGSEGV, Segmentation fault.
94
+ __strnlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:62
95
+ 62 ../sysdeps/x86_64/multiarch/strlen-avx2.S: No such file or directory.
96
+
97
+ (gdb) where
98
+ #0 __strnlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:62
99
+ #1 0x00007ffffeac9fa1 in __old_fmemopen (buf=0xfdec293c1, len=6001, mode=0x80c229c "r") at oldfmemopen.c:245
100
+ #2 0x000000000807c5ce in HHDatabaseEntry::getTemplateHMM(Parameters&, char, float, int&, float*, float const (*) [20], float const (*) [20], HMM*) ()
101
+ #3 0x000000000808ede3 in ViterbiRunner::alignment(Parameters&, HMMSimd*, std::vector<HHEntry*, std::allocator<HHEntry*> >, float, float*, float const (*) [20], float const (*) [20], float const (*) [20], int, float const (*) [4][11], float const (*) [11][4][11], float const (*) [11][8]) [clone ._omp_fn.0] ()
102
+ #4 0x00007fffff63ce92 in GOMP_parallel (
103
+ fn=0x808eb80 <ViterbiRunner::alignment(Parameters&, HMMSimd*, std::vector<HHEntry*, std::allocator<HHEntry*> >, float, float*, float const (*) [20], float const (*) [20], float const (*) [20], int, float const (*) [4][11], float const (*) [11][4][11], float const (*) [11][8]) [clone ._omp_fn.0]>, data=0x7ffffff5bb80, num_threads=2, flags=0)
104
+ at /home/nwani/m3/conda-bld/compilers_linux-64_1560109574129/work/.build/x86_64-conda_cos6-linux-gnu/src/gcc/libgomp/parallel.c:171
105
+ #5 0x000000000808fc5e in ViterbiRunner::alignment(Parameters&, HMMSimd*, std::vector<HHEntry*, std::allocator<HHEntry*> >, float, float*, float const (*) [20], float const (*) [20], float const (*) [20], int, float const (*) [4][11], float const (*) [11][4][11], float const (*) [11][8]) ()
106
+ #6 0x00000000080205fc in HHblits::run(_IO_FILE*, char*) ()
107
+ #7 0x0000000008012160 in main ()
108
+ ```
109
+
110
+ と出ました。核心をついているような気もしますが、解読が出来ません・・・。
111
+ もしかしてstrlen-avx2.Sとやらを用意しておけばそれでオッケーってことなんですかね?
112
+ グーグルで調べてもあまり何のファイルなのかわかりませんが