This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug go/66303] runtime.Caller() returns infinitely deep stack frames on s390x


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?)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]