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

TRACEBACKQQ, missing line information; crash

oh_moose
Beginner
373 Views
Just tried to play with TRACEBACKQQ and produced a simple example. TRACEBACKQQ produces an error message "forrtl: severe (41): insufficient virtual memory". The problem is triggered by the ifort option "-ftrapuv".

$ ifort -g -O0 -ftrapuv -o a.exe a.for && ./a.exe
***
forrtl: severe (41): insufficient virtual memory
Image PC Routine Line Source
a.exe 080914F7 Unknown Unknown Unknown
a.exe 08090B17 Unknown Unknown Unknown
a.exe 0805E4EE Unknown Unknown Unknown
a.exe 0804A7C6 Unknown Unknown Unknown
a.exe 0804B5CE Unknown Unknown Unknown
a.exe 08049D0E Unknown Unknown Unknown
a.exe 08049C71 Unknown Unknown Unknown
libc.so.6 B7E5EFE0 Unknown Unknown Unknown
a.exe 08049BB1 Unknown Unknown Unknown

(Also notice the lack of source code references (line number and file). Sigh.)

PROGRAM A
IMPLICIT NONE

REAL Z

Z=9999.999

PRINT'(X,F3.2)',Z
CALL TRACEBACKQQ
PRINT*,'DONE'
END


0 Kudos
2 Replies
Steven_L_Intel1
Employee
373 Views
Add -traceback.
0 Kudos
Steven_L_Intel1
Employee
373 Views
Oh, and just forget about -ftrapuv. It is useless in its current implementation.
0 Kudos
Reply