Skip to content

Commit e780ef2

Browse files
TCMalloc Teamcopybara-github
TCMalloc Team
authored andcommitted
Adding a bit of guidance about which crash stacks to focus on when debugging the mismatched sized delete diagnostic.
PiperOrigin-RevId: 716695791 Change-Id: Ib7f65f84b64dca51896efef8ad1d8d32062452d4
1 parent c76cb92 commit e780ef2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/mismatched-sized-delete.md

+5
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ Mismatched-size-class (https://github.com/google/tcmalloc/tree/master/docs/misma
4040

4141
## TCMalloc is buggy?
4242

43+
TIP: Memory safety bugs can have a delayed effect. The checks described above,
44+
and other related crashes, often occur in a different call stack than the one
45+
that caused the bug. Before scrutinizing the call stack attached to this crash,
46+
start by looking for related crashes of the same process.
47+
4348
It is not a bug in TCMalloc. It is detecting an erroneous argument provided to
4449
`::operator delete`.
4550

0 commit comments

Comments
 (0)