cuitao2046 / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Enhancement: libtcmalloc_debug should provide a stack backtrace on error #273

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When tcmalloc encounters an error, especially in the debug version it's very 
informative to have a stack backtrace print (stack dump).

Original issue reported on code.google.com by erez.gur...@gmail.com on 7 Oct 2010 at 8:08

GoogleCodeExporter commented 9 years ago
Hmm, we already have PrintStackTrace available in tcmalloc, so it should be 
pretty simple to do.  The problem is that when there's an error, memory is 
already corrupted, so it may not always be safe to do.  Anyway, are you 
interested in making a patch that tries to do this?

Original comment by csilv...@gmail.com on 8 Oct 2010 at 1:31

GoogleCodeExporter commented 9 years ago
I'm closing this since it's been a long time without feedback.  Feel free to 
reopen if you have a patch for this!

Original comment by csilv...@gmail.com on 1 Sep 2011 at 1:41