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.