On Sat, Oct 18, 2025 at 12:32 AM Grisha Levit <[email protected]> wrote:
>     frame #7: 0x0000aaaae3b9ebcc bash`clear_history + 92

I get a similar backtrace with GDB on stock bash 5.2.15 on Debian
12.2.0. I doubt this has to do with bash though. If I compile the same
version of bash myself it no longer crashes, if I manually free
`the_history[2]' from GDB before the `clear_history' loop and write 0
there it works fine. Perhaps it's a glibc bug

Reply via email to