This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/66303] runtime.Caller() returns infinitely deep stack frames on s390x
- From: "vogt at linux dot vnet.ibm.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 02 Jun 2015 11:17:09 +0000
- Subject: [Bug go/66303] runtime.Caller() returns infinitely deep stack frames on s390x
- Auto-submitted: auto-generated
- References: <bug-66303-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66303
--- Comment #7 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
When dumping the complete backtrace, gdb produces a warning. Maybe the
libgo/runtime code does not properly set up the initial stack frame of the
thread?
(gdb) set backtrace past-main
(gdb) bt
#0 main.main () at pr66303.go:8
#1 0x000003fff778a538 in runtime_main (dummy=<optimized out>)
at ../../../libgo/runtime/proc.c:626
#2 0x000003fff77879c4 in kickoff () at ../../../libgo/runtime/proc.c:235
#3 0x000003fff6d89ca2 in __makecontext_ret () from /lib64/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)