Quantcast
Channel: Intel® Software - Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2746

Debugging: forrtl: severe (174): SIGSEGV, segmentation fault occurred

$
0
0

 

Hi,

I'm trying to debug a segmentation fault error using information from this forum.

When I compile my ocean model (using ifort (IFORT) 16.0.1 20151021) with the following options

-u -O2 -fltconsistency -shared-intel -mcmodel=medium -heap-arrays

and even if I set ulimit -s unlimited, I get the following error

forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image              PC                Routine            Line        Source      
       
libintlc.so.5      00002B508BED39B5  Unknown               Unknown  Unknown
libintlc.so.5      00002B508BED1777  Unknown               Unknown  Unknown
libifcore.so.5     00002B508A873872  Unknown               Unknown  Unknown
libifcore.so.5     00002B508A8736C6  Unknown               Unknown  Unknown
libifcore.so.5     00002B508A7CC795  Unknown               Unknown  Unknown
libifcore.so.5     00002B508A7DE5DD  Unknown               Unknown  Unknown
libpthread.so.0    0000003A3220F4A0  Unknown               Unknown  Unknown
pe_PB_sar25in_tid  000000000043EED8  Unknown               Unknown  Unknown
pe_PB_sar25in_tid  00000000004047D1  Unknown               Unknown  Unknown
pe_PB_sar25in_tid  0000000000403070  Unknown               Unknown  Unknown
pe_PB_sar25in_tid  000000000040212E  Unknown               Unknown  Unknown
libc.so.6          0000003A31A1ECDD  Unknown               Unknown  Unknown
pe_PB_sar25in_tid  0000000000402039  Unknown               Unknown  Unknown

However, if I try to add debugging and traceback to isolate the error

-u -O2 -fltconsistency -shared-intel -mcmodel=medium -heap-arrays-g -traceback -check all -fp-stack-check

Then the code runs without segmentation faults.

What other things can I try to isolate this segmentation fault.

Thanks


Viewing all articles
Browse latest Browse all 2746

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>