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

Debugger warning "unable to determine length of string variable" - unhelpful !

john_e
Beginner
312 Views
The essentials:
Package ID: l_fc_c_9.1.041
Package ID: l_cc_c_9.1.047

I have program compiled with these options:
-auto -ip -mp -fpstkchk -traceback -fpe0 -g -ftrapuv -warn all -warn nounused -gen-interfaces -check "bounds,format,output_conversion,uninit,arg_temp_created"

( yup I'm trying to resolve some bugs )
The program compiles fine with no warnings during the compile.

However fails in execution. When loading into the debugger I get this:
> idb -gdb prog.x
Intel Debugger for applications running on IA-32, Version 9.1-27, Build 20070202
------------------
object file name: prog.x
Reading symbols from /home/user/prog.x...
WARNING: unable to determine length of string variable.
WARNING: unable to determine length of string variable.
(repeats another couple of times )

So what does this warning mean ??? and which variable is it referring to ? possibly this could be the source of my bug. But I need something more in order to locate this.

help ?

J



0 Kudos
1 Reply
Steven_L_Intel1
Employee
312 Views
Please report this to Intel Premier Support - this sounds as if it could be a bug in either the compiler or idb.
0 Kudos
Reply