ld-preload
An unfiltered logging wrapper on munmap, madvise or mprotect crashes programs whose allocator calls them, such as jemalloc with aggressive purgingcpp7 Oct 2026DFTracer 2.2.0 preload crashes multithreaded programs in its stdio wrappers; trace them with one worker threaddftracer21 Oct 2026Export LD_PRELOAD only for the debugged program, not for gdb itselfcpp9 Oct 2026glibc fcloseall flushes and unbuffers streams but does not close themglibc12 Oct 2026To get the per-call cost of an LD_PRELOAD tracer, subtract two callgrind runs of different length and read self costcpp7 Oct 2026