https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81081
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Denis Khalikov from comment #7) > Thanks, I was mistaken, fix should be in the libbacktrace. No, I wasn't saying that. I meant: static int SymbolizeCodePCInfoCallback(void *vdata, uintptr_t addr, const char *filename, int lineno, const char *function) { SymbolizeCodeCallbackArg *cdata = (SymbolizeCodeCallbackArg *)vdata; if (function == NULL && cdata->frames_symbolized) return 0; AddressInfo *info = cdata->get_new_frame(addr); if (filename) info->file = internal_strdup(filename); info->line = lineno; if (function) { info->function = DemangleAlloc(function, /*always_alloc*/ true); cdata->frames_symbolized++; } return 0; } or so.