24小时热门版块排行榜    

查看: 6161  |  回复: 5

yuuuuuuuer

新虫 (初入文坛)

[交流] Program terminated with signal 11, Segmentation fault.已有2人参与

我在Linux上运行bayescan程序时,出现了Segmentation fault (core dumped)。我尝试用gdb调试core文件,得到这样的信息:
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
Copyright (C) 2010 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-redhat-linux-gnu".
For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/wangyy/BayeScan2.1/source/bayescan_2.1...done.
[New Thread 28214]
[New Thread 28217]
[New Thread 28218]
[New Thread 28219]
[New Thread 28216]
[New Thread 28212]
[New Thread 28215]
[New Thread 28213]
[Thread debugging using libthread_db enabled]
Core was generated by `./bayescan_2.1 -snp ./transplant_input -o'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000040ba3e in update_freq_codominant ()
(gdb) bt
#0  0x000000000040ba3e in update_freq_codominant ()
#1  0x00000000004d57ce in gomp_thread_start () at ../../../libgomp/team.c:119
#2  0x00000000004ee314 in start_thread ()
#3  0x000000000054f289 in clone ()
(gdb) bt
#0  0x000000000040ba3e in update_freq_codominant ()
#1  0x00000000004d57ce in gomp_thread_start () at ../../../libgomp/team.c:119
#2  0x00000000004ee314 in start_thread ()
#3  0x000000000054f289 in clone ()
(gdb) q

我在这方面是小白,用putty登录的服务器运行程序,为了防止运行中掉线用了nohup...&命令,但是当时把&输成了$,运行得出了结果,可是后来再运行就出现了上面的问题,我想原因是不是就出在这里呢。希望老师们能给我指点一下怎样解决这个问题,谢谢!

发自小木虫Android客户端
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

啖然尘世

木虫 (正式写手)

★ ★
小木虫: 金币+0.5, 给个红包,谢谢回帖
jjdg: 金币+1, 感谢参与 2018-11-27 21:09:10

yuuuuuuuer

新虫 (初入文坛)

lyl453433939

金虫 (正式写手)

高性能设备软硬件集成商

★ ★
小木虫: 金币+0.5, 给个红包,谢谢回帖
jjdg: 金币+1, 感谢参与 2018-12-03 21:22:05

yuuuuuuuer

新虫 (初入文坛)

lyl453433939

金虫 (正式写手)

高性能设备软硬件集成商


小木虫: 金币+0.5, 给个红包,谢谢回帖
相关版块跳转 我要订阅楼主 yuuuuuuuer 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见