Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29260 Discussions

Program Exception - access violation

Omar_M_1
Beginner
1,049 Views

I am running some simulation software written in Fortran while using Matlab to automate the simulations. The simulations run through, but I keep getting this error very frequently while the program is running: 

 forrtl: severe (157): Program Exception - access violation  
 Image                              PC                       Routine                  Line          Source              
 Simulate.exe       000000013F473F2B     Unknown               Unknown    Unknown 
 Simulate.exe       000000013F473BDC    Unknown               Unknown    Unknown 
 Simulate.exe       000000013F4DF4BC    Unknown               Unknown    Unknown 
 Simulate.exe       000000013F4C80F6     Unknown               Unknown    Unknown 
 kernel32.dll         00000000773559CD     Unknown               Unknown    Unknown 
 ntdll.dll                000000007758B981      Unknown               Unknown    Unknown 

 

From what I found online, this error apparently means that I am using memory that I am not supposed to. However, I am puzzled by how it's reporting "unknown" for the Routine, Line, and Source. Any suggestions on how to deal with this?

0 Kudos
2 Replies
Kevin_D_Intel
Employee
1,049 Views

The traceback symbolization may be missing due not enabling generation of debugging information.

If compiling via the ifort command line, try adding: /debug
If compiling under the IDE, look for:  General > Debug Information Format

There's additional information about the debug option in the Fortran UG here.

0 Kudos
Steven_L_Intel1
Employee
1,049 Views

Actually you need to enable the traceback feature for this - it doesn't use the debug info. /traceback from the command line, or Run Time > Generate Traceback Information in Visual Studio.

0 Kudos
Reply