https://sourceware.org/bugzilla/show_bug.cgi?id=31460
--- Comment #2 from James Carlson <carlsonj at workingcode dot com> --- First of all, your test case: % gcc -pthread t.c t.c:3:11: warning: built-in function 'calloc' declared as non-function [-Wbuiltin-declaration-mismatch] 3 | long long calloc = 0; | ^~~~~~ % ./a.out % echo $? 0 That works fine. The machine itself is running Ubuntu 22.04.4 LTS (Jammy Jellyfish). I made a clean sandbox and found no trouble at all with "-H on", so it's clearly related to something else in my environment. I'll spend some time searching. In the meantime, this can probably be closed out as "cannot reproduce" until I get to the bottom of whatever's going on. It's definitely reproducible and happens all the time in the giant proprietary C++ application I'm working on and in these tiny test programs when compiled inside that same environment, but I don't know yet how or why. Something causes collector's calloc hook to end up invoking itself. -- You are receiving this mail because: You are on the CC list for the bug.