Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Segmentation fault" while running the code #6

Open
PavaniTatikonda22 opened this issue Nov 7, 2022 · 4 comments
Open

"Segmentation fault" while running the code #6

PavaniTatikonda22 opened this issue Nov 7, 2022 · 4 comments

Comments

@PavaniTatikonda22
Copy link

When we tried to run the code on the CPU, It is throwing a "Segmentation fault (core dumped)", We ran the code on the below machine details:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 48
On-line CPU(s) list: 0-47
Thread(s) per core: 1
Core(s) per socket: 24
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 85
Model name: Intel(R) Xeon(R) Gold 6252 CPU @ 2.10GHz
Stepping: 7
CPU MHz: 2100.000
BogoMIPS: 4200.00
L1d cache: 32K
L1i cache: 32K
L2 cache: 1024K
L3 cache: 36608K
NUMA node0 CPU(s): 0-23
NUMA node1 CPU(s): 24-47

It is the latest error that we are getting, we ran the same code 2 weeks back, and we didn't see any errors and ran the code successfully. Please let us know if any extra details are required.

segmentation_fault_error

@wangyiqiu
Copy link
Owner

Thanks @PavaniTatikonda22 -- we will look into this very soon.

@PavaniTatikonda22
Copy link
Author

@wangyiqiu Did you get a chance to look into this issue? We would appreciate it if you could resolve this. Thanks!

@wangyiqiu
Copy link
Owner

Hi @PavaniTatikonda22 I just tried the same commands you screenshotted above but I did not encounter any problem. I also tested it with Valgrind without discovering any problem.

Could you send me a copy of your compiled binary to [email protected]?
And if it is possible, could you also send me (or paste here) the Valgrind output of running the code on your machine?

Thanks and sorry about the inconvenience.

@Kin-Zhang
Copy link

Kin-Zhang commented Dec 18, 2023

I also have this issue not in c++ but only in python bind here is the screenshot:

image

Don't have any clue where the segment happened..... Looking forward to your reply. Thanks in advance. @wangyiqiu

System info:
Ubuntu 20.04, CPU: 12th Gen Intel® Core™ i9-12900KF × 24, C compiler identification is GNU 9.4.0, CXX compiler identification is GNU 9.4.0

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

No branches or pull requests

3 participants