Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

FatalError: `Segmentation fault` is detected by the operating system.

Open ZTurboX opened this issue 2 years ago • 4 comments

bug描述 Describe the Bug

paddlepaddle==2.2.2


C++ Traceback (most recent call last):

No stack trace in paddle, may be caused by external reasons.


Error Message Summary:

FatalError: Segmentation fault is detected by the operating system. [TimeInfo: *** Aborted at 1654855735 (unix time) try "date -d @1654855735" if you are using GNU date ***] [SignalInfo: *** SIGSEGV (@0x7) received by PID 3247505 (TID 0x7f73c7e65340) from PID 7 ***]

其他补充信息 Additional Supplementary Information

No response

ZTurboX avatar Jun 10 '22 10:06 ZTurboX

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档常见问题历史IssueAI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQGithub Issue and AI community to get the answer.Have a nice day!

paddle-bot-old[bot] avatar Jun 10 '22 10:06 paddle-bot-old[bot]

你好,segment fault通常是内存相关问题。可否贴一下您的代码,并告知运行方法,方便我们复现找到问题所在?

limin2021 avatar Jun 13 '22 07:06 limin2021

我也遇到了,运行就会报错,但是是偶发的,有时候会报错有时候不会

renoyuan avatar Jul 13 '22 03:07 renoyuan

运行paddle.utils.run_check()就是这个错误了 wsl2+cuda11.7

fmscole avatar Aug 09 '22 16:08 fmscole

@fmscole 问题分析: paddle.utils.run_check()运行的时候会搜索libcuda.so,但在WSL2下,该文件是Windows的路径"C:\Windows\System32\lxss\lib\libcuda.so"。所以,出现FatalError: Segmentation fault is detected by the operating system,就是因为在WSL2的Ubuntu系统中缺少libcuda.so所致。

解决方案:将libcuda.so拷贝到/usr/local/cuda/lib64/下即可。测试通过。

Giszy avatar Nov 27 '22 16:11 Giszy

Since you haven't replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。

paddle-bot[bot] avatar Nov 28 '23 06:11 paddle-bot[bot]