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: Wed, 03 Jun 2015 13:18:35 +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 #10 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
Just a short update before the bank holiday weekend in Germany. The problem is
caused by missing cfi directives in the Glibc sources. We'll open a Glibc bug
report and provide a patch next week.
Gdb has some safety checks in its unwinding code to catch such pathological
situations. It might be worthwhile to add something similar to the unwinding
code in libgcc.