You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes we get free() of address we don't recognize. It is currently hard to distinguish the following circumstances:
Allocation wasn't added because tracking was off (explicitly, or due to startup).
Allocation was never captured due to not overriding some allocation API (valloc() or something).
A free() of bogus address due to a bug in application code.
One solution is to always track all allocations—but when profiling is disabled, record the allocations with size 0. As a result they won't affect outcomes of profiling, but we will at least know those allocations existed.