[webkit-dev] Debugging Memory Errors
Bear Travis
betravis at adobe.com
Wed May 15 17:54:02 PDT 2013
Hi WebKit,
I was wondering how folks debug memory errors such as use after free and allocated memory overflows.
I have seen some bugs mentioning libgmalloc.
I can run safari with:
run-safari --debug --guard-malloc
But I don't seem to get the full stack traces I have seen in the bugs.
I have also seen mention of setting DYLD_INSERT_LIBRARIES to /usr/lib/libgmalloc.dylib, but doing so seems to lock up the build-webkit command.
Any tips/tricks/pointers would be greatly appreciated,
-Bear
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130515/7608a63f/attachment.html>
More information about the webkit-dev
mailing list