[LLVMdev] Need help reproducing a sanitizer buildbot failure

Kostya Serebryany kcc at google.com
Thu Apr 10 22:42:09 PDT 2014


On Fri, Apr 11, 2014 at 3:12 AM, Diego Novillo <dnovillo at google.com> wrote:

> OK, so now I've gotten a build but the output from asan is less than
> helpful:
>
> $ llvm/x/llvm_build_asan/./bin/opt llvm/x/llvm/test/Other/optimization-remarks-inline.ll
> -inline -pass-remarks=inline -S
> =================================================================
> ==6791==ERROR: AddressSanitizer: heap-use-after-free on address
> 0x6040000016a8 at pc 0x1e70553 bp 0x7fff29de4fb0 sp 0x7fff29de4fa8
> READ of size 13 at 0x6040000016a8 thread T0
>     #0 0x1e70552 (/ssd/dnovillo/llvm/x/llvm_build_asan/bin/opt+0x1e70552)
>     #1 0x1e6f3d3 (/ssd/dnovillo/llvm/x/llvm_build_asan/bin/opt+0x1e6f3d3)
>     #2 0x7ab722 (/ssd/dnovillo/llvm/x/llvm_build_asan/bin/opt+0x7ab722)
>     #3 0x19eacc5 (/ssd/dnovillo/llvm/x/llvm_build_asan/bin/opt+0x19eacc5)
>     #4 0x1892f92 (/ssd/dnovillo/llvm/x/llvm_build_asan/bin/opt+0x1892f92)
> [ ... ]
>
> Is there an option for asan to show me source file locations?  Or at least
> function names.  I'm not sure what to do with this.
>

You need one of these:
https://code.google.com/p/address-sanitizer/wiki/CallStack

(Hmm. I thought that on our bot the reports are symbolized... No?)


>
>
> Thanks.  Diego.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140411/889002ab/attachment.html>


More information about the llvm-dev mailing list