https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66303
--- Comment #1 from Ian Lance Taylor <ian at airs dot com> --- The one valid entry in the backtrace is in the function kickoff in proc.c. That function is supposed to stop the trace. Search for "kickoff" in libgo/runtime/go-callers.c. The question is why that didn't work. Can you set a breakpoint on that code, or add some print statements, and find out the value of the local variable function?