[vox-tech] gdb segfaults when printing long double complex
variables
Bill Broadley
bill at cse.ucdavis.edu
Thu Jun 10 08:58:17 PDT 2004
> (gdb) break 18
> Breakpoint 1 at 0x8048436: file blah.c, line 18.
> (gdb) run
> Starting program: /home/p/a.out
> 5.000000 + 2.000000i
> 5.000000 + 2.000000i
> 5.000000 + 2.000000i
>
> Breakpoint 1, main () at blah.c:19
> 19 return 0;
> (gdb) p a
> $1 = 5 + 2 * I
> (gdb) p b
> $2 = 5 + 2 * I
> (gdb) p c
> Segmentation fault (core dumped)
>
> This is very reproducible, unfortunately. This bug showed up at the
> worst possible moment...
Get a real machine, chuckle, it works on an opteron. Looks like a bug,
I'd file a bug report. Especially since you have such a small and simple
test case.
--
Bill Broadley
Computational Science and Engineering
UC Davis
More information about the vox-tech
mailing list