Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

"Stack trace terminated abnormally" due to symlink

$
0
0

I have encountered a strange issue with tracebackqq in combination with symlinks, which causes the stack trace to terminate abnormally.

Consider a file tracebacktest.f90:

program tracebacktest
  use ifcore, only: tracebackqq
  call tracebackqq()
end program tracebacktest

which is compiled and run as follows:

ifort -traceback tracebacktest.f90 -o tracebacktest/a.out
ln -s tracebacktest/a.out test
./test

This causes a "Stack trace terminated abnormally". Similarly, if the symlink is in the same folder, the Routine/Line/Source columns only list "Unknown":

ifort -traceback tracebacktest.f90 -o a.out
ln -s a.out test
./test

I'm guessing this is a compiler issue, but please correct me if it is due to incorrect use of symlinks. I'm using ifort version 16.0.2 on Linux .

 


Viewing all articles
Browse latest Browse all 3270

Trending Articles



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