CornerNet-Lite icon indicating copy to clipboard operation
CornerNet-Lite copied to clipboard

Segmentation fault (core dumped)

Open yyangmei opened this issue 5 years ago • 5 comments

I use Pytorch1.0.0,cuda9.0,gcc4.9.2,my driver version is 396.26 so I can't use cuda 10. When I run demo.py,I get this. image Should I update my gcc again? or are there any other solutuons? Thank you.

yyangmei avatar May 27 '19 10:05 yyangmei

@yyangmei 我的环境是Pytorch1.0.0,cuda10.1,gcc5.4.0 nvidia titan RTX 也是出现断错,重新安装多次还是一样。不知道原因。 出现该问题正真原因是gcc问题。我升级到gcc5.4.0(应该升级有些问题) 还是出现segmentation。通过gdb跟踪发现

1

hejinsome avatar May 30 '19 13:05 hejinsome

I used to meet this problem. Using the virtual machine,ubuntu1604(gcc5.4),to compile the cores , this problem is sloved.

ZCDu avatar Jun 04 '19 02:06 ZCDu

@yyangmei 我的环境是Pytorch1.0.0,cuda10.1,gcc5.4.0 nvidia titan RTX 也是出现断错,重新安装多次还是一样。不知道原因。 出现该问题正真原因是gcc问题。我升级到gcc5.4.0(应该升级有些问题) 还是出现segmentation。通过gdb跟踪发现

1

怎么解决的?我的升级到gcc5.3还是出错

qiangruoyu avatar Jul 03 '19 08:07 qiangruoyu

我认为你应该还是gcc问题,我采用的方法是这样的,gdb 调试python代码,到segmenttation时,用bt查看堆栈发现libstdc库还是原来的老库(我也升级了gcc,但还是老库)。

你gcc升级之后,你需要注意libstdc这些也ok,之后你重新安装CornerNet-Lite。这样就没有问题。

[email protected]

From: qiangruoyu Date: 2019-07-03 16:46 To: princeton-vl/CornerNet-Lite CC: hejinsome; Comment Subject: Re: [princeton-vl/CornerNet-Lite] Segmentation fault (core dumped) (#79) @yyangmei 我的环境是Pytorch1.0.0,cuda10.1,gcc5.4.0 nvidia titan RTX 也是出现断错,重新安装多次还是一样。不知道原因。 出现该问题正真原因是gcc问题。我升级到gcc5.4.0(应该升级有些问题) 还是出现segmentation。通过gdb跟踪发现 怎么解决的?我的升级到gcc5.3还是出错 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

hejinsome avatar Jul 04 '19 01:07 hejinsome

我认为你应该还是gcc问题,我采用的方法是这样的,gdb 调试python代码,到segmenttation时,用bt查看堆栈发现libstdc库还是原来的老库(我也升级了gcc,但还是老库)。 你gcc升级之后,你需要注意libstdc这些也ok,之后你重新安装CornerNet-Lite。这样就没有问题。 [email protected] From: qiangruoyu Date: 2019-07-03 16:46 To: princeton-vl/CornerNet-Lite CC: hejinsome; Comment Subject: Re: [princeton-vl/CornerNet-Lite] Segmentation fault (core dumped) (#79) @yyangmei 我的环境是Pytorch1.0.0,cuda10.1,gcc5.4.0 nvidia titan RTX 也是出现断错,重新安装多次还是一样。不知道原因。 出现该问题正真原因是gcc问题。我升级到gcc5.4.0(应该升级有些问题) 还是出现segmentation。通过gdb跟踪发现 怎么解决的?我的升级到gcc5.3还是出错 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Nice! Succeed,Thanks very much!

qiangruoyu avatar Jul 04 '19 02:07 qiangruoyu