Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29234 ディスカッション

Force traceback printing

lccostajr
ビギナー
680件の閲覧回数

Dear all,

Our Fortran/C application is presenting some source of failure we didn't find out yet, returning segmentation fault. However, we are not able to see traceback information on screen (even using -g and -traceback options) . We then added some C signal handling function and we would like to force the program to write to stdout the traceback information.

Is there any Intel function we could call to print traceback information with all symbols and line numbers? Perhaps we can call the very same function used by Intel to print the stack when some source of unhandled problem occurs in any application.

Thanks in advance.

Best regards, Luiz and Marcelo

0 件の賞賛
2 返答(返信)
Steven_L_Intel1
従業員
680件の閲覧回数

We provide TRACEBACKQQ to print a traceback at any point in your program. 

lccostajr
ビギナー
680件の閲覧回数

Thanks for your quick reply Steve

返信