【error】Segmentation fault (core dumped)

Make, Make all, Make Runtest, make Pycaffe were all successfully installed in caffe
However, when making pytest, an error fault occurs (core Dumped) as follows

    [zs@gpu09 caffe]$ make pycaffemake: Nothing to be done for `pycaffe’.[zs@gpu09 caffe]$ make pytestcd python; Python-m unittest discover -s caffe/test/bin/sh: line 1: 10541 **Segmentation fault (core dumped)** pythonm unittest discover -s caffe/testmake: *** [pytest] Error 139

I have encountered Segmentation fault (Core Dumped) when I was writing my program, one dimension of the three tensors was too large, which caused the memory overflow.
But this time I was running the official program at Caffe, so I probably won’t use Pointers or illegal Pointers at will.
Explanation:
 
Core dump is also called a core dump.
When an exception occurs while a program is running and the program exits, the operating system stores the current memory status of the program in a core file called core dump.
While the program is running, errors like Segment faults are difficult because there is no stack and trace information output.
This type of error is often associated with pointer operations. Positioning can often be done in this way.

    [zsun@gpu09 caffe]$ulimit -a | grep ‘core file size’– dump core file size (blocks, -c) 0– 0 $ulimit -c unlimited- open dump core[zsun@gpu09 caffe]$ulimit -a | grep ‘core file size’core file size (blocks, -c) unlimited

 
Or – view all, as follows
 

    [zsun@gpu09 caffe]$ulimit-c unlimited[zsun@gpu09 caffe]$ulimit-acore file size (blocks, -c) unlimiteddata seg size (kbytes, -d) unlimited file size (blocks, -f) UnlimitedStack Size (KBytes, -s) 8192 Max User Processes (-U) 4096Virtual Memory (KBytes, -v) UnlimitedFile Locks (-x) Unlimited…

I’m going to make the core file again.
!!!!! Mine didn’t generate a core file!! There’s a blog post that goes something like this: “If there’s an error but there’s no Core dump, it’s because the system has banned the creation of core files.”  
 
 
And my current “Import Caffe” in Python code shows that there is no caffe module. Does this mean that caffe was not installed successfully?
 
 

Read More: