[Bf-committers] Debugging with GCC's Address Sanitizer

Campbell Barton ideasman42 at gmail.com
Fri Apr 26 16:12:39 CEST 2013


On Fri, Apr 26, 2013 at 10:31 PM, Lukas Tönne <lukas.toenne at gmail.com> wrote:
> You wrote:
>
> "Pros: Can use a breakpoint to investigate the point when error happens"
>
> I'd like to just point out that you can do that with valgrind + gdb too:
> http://valgrind.org/docs/manual/manual-core-adv.html#manual-core-adv.gdbserver-gdb
>
> This has proved valuable to me on more than one occasion. Maybe the new gcc
> __asan_report_error is still a bit easier to use though.

Thanks for the info, added reference:
http://wiki.blender.org/index.php/Dev:Doc/Tools/Debugging/Valgrind#Debugging
... and corrected the address sanitizer comment.


More information about the Bf-committers mailing list