Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

"Segmentation fault" on CentOS 7.8 #8356

Open
kengwang opened this issue Oct 4, 2020 · 2 comments
Open

"Segmentation fault" on CentOS 7.8 #8356

kengwang opened this issue Oct 4, 2020 · 2 comments

Comments

@kengwang
Copy link

kengwang commented Oct 4, 2020

When I tried to start the program, it echoed Segmentation fault
It is alright running on Ubuntu.

Build on ubuntu-16.04
Run on CentOS Linux release 7.8.2003 (Core)

How could i deal with it

@yowl
Copy link
Contributor

yowl commented Oct 4, 2020

Have you got a stack trace? Do you mean the compiler or the program you built seg faults?

@kengwang
Copy link
Author

kengwang commented Oct 5, 2020

Have you got a stack trace? Do you mean the compiler or the program you built seg faults?

When I run my compiled application in CentOS 7.8, it only outputs one line Seg Fault, and nothing else. But I put the same program in Ubuntu and it works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants