https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96486

--- Comment #15 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Thu, Aug 06, 2020 at 08:42:20AM +0000, jussilehtola at fedoraproject dot org
wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96486
> 
> --- Comment #13 from Susi Lehtola <jussilehtola at fedoraproject dot org> ---
> The gdb output is the same
> 
> (gdb) r
> Starting program: /tmp/a.out 
> Fortran runtime error: Zero-length string passed as value to
> get_environment_variable.
> 
> Error termination. Backtrace:
> #0  0x401267 in zerolen_value
>         at /tmp/readvar2.f90:17
> #1  0x4012c4 in main
>         at /tmp/readvar2.f90:22
> [Inferior 1 (process 122282) exited with code 02]
> 

I cannot reproduce your error.  Your original backtrace was

Error termination. Backtrace:
#0  0x7f25c93aadf1 in ???
#1  0x7f25c93ab939 in ???
#2  0x7f25c93abe60 in ???
#3  0x7f25c960ce53 in ???
#4  0x401267 in ???
#5  0x4012c4 in ???
#6  0x7f25c903a041 in __libc_start_main
 at ../csu/libc-start.c:308
#7  0x4010ad in ???
#8  0xffffffffffffffff in ???

I would expect a long backtrace under gdb.  Don't know
what [Inferior 1...] means.

Reply via email to