https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112100
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|sanitizer |libstdc++
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Maybe some how libstdc++ debug mode can catch this
https://gcc.gnu.org/onlinedocs/gcc-13.2.0/libstdc++/manual/manual/debug_mode_using.html#debug_mode.using.mode
-D_GLIBCXX_DEBUG
