question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Segmentation fault...

See original GitHub issue

Ubuntu 18.04.1 Cuda 9.2 C++ 7.3.0 Python 3.6.5

nvidia/apex$ python setup.py install
Segmentation fault (core dumped)

Cheers Pei

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
layumicommented, Mar 11, 2019

I successfully install the apex but face the segmentation fault when training.

So I check the installation again. I notice that I ignore the warning when installing apex. My bad. Remember to update the gcc 4.x to gcc 5.x , which may also lead to segmentation fault

In a nutshell, the solution is conda install -c psi4 gcc-5

0reactions
ann22commented, Aug 8, 2020

I successfully install the apex but face the segmentation fault when training.

So I check the installation again. I notice that I ignore the warning when installing apex. My bad. Remember to update the gcc 4.x to gcc 5.x , which may also lead to segmentation fault

In a nutshell, the solution is conda install -c psi4 gcc-5

Does updating the gcc version affect other dependencies

Read more comments on GitHub >

github_iconTop Results From Across the Web

Segmentation fault - Wikipedia
Segmentation faults are a common class of error in programs written in languages like C that provide low-level memory access and few to...
Read more >
c++ - What is a segmentation fault? - Stack Overflow
A segmentation fault occurs when a program attempts to access a memory location that it is not allowed to access, or attempts to...
Read more >
Identify what's causing segmentation faults (segfaults)
A segmentation fault (aka segfault) is a common condition that causes programs to crash; they are often associated with a file named core...
Read more >
Core Dump (Segmentation fault) in C/C++ - GeeksforGeeks
When a piece of code tries to do read and write operation in a read only location in memory or freed block of...
Read more >
What Is a Segmentation Fault in Linux?
A segmentation fault, or segfault, is a memory error in which a program tries to access a memory address that does not exist...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found