One thing you can try, as it is the same as the standard libc, with the MALLOC_CHECK_ envronment (man libc) variable configured.
If you cannot exit gdb (if your application is finished, just use "r" to restart), you can set a memory breakpoint at this address "hbreak 0x64EA569", also use "help hbreak" to configure the condition or other breakpoitn options enable / disable to prevent excessive entry of this breakpoint ....
You can simply configure the log file, set the log ... configure the stack trace at each break, "display / bt -4", then press r and just hold the enter key and scroll it "or use C ## to continue x times .. ., etc. ", in the end you will see the same statement, then you will now have (due to the / bt display) a stack that you can associate with what code was changing at this address ...
source share