https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110196
--- Comment #3 from fabian_kessler at gmx dot de <fabian_kessler at gmx dot de> --- It may be, because backtrace_create_state is called without a filename. Also, backtrace_create_state is ment to be called just once per execution, because it allocates unfreeable memory. Maybe, a singleton would be the way to go here.