https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108097
--- Comment #5 from cqwrteur <unlvsur at live dot com> --- (In reply to Jonathan Wakely from comment #3) > (In reply to cqwrteur from comment #1) > > #include<fast_io.h> > > Please provide testcases that don't depend on your own headers. There's > absolutely no reason this can't use printf or std::cout. > > Asan is wrong, operator delete(void*, size_t) can be used to delete memory > from operator new(size_t, nothrow_t). #include<iostream> #include<stacktrace> int main() { for(auto const & e : std::stacktrace::current()) { std::cout<<std::to_string(e)<<'\n'; } } Still crashing by replacing with std::cout