Diego Novillo
2014-Apr-10 21:33 UTC
[LLVMdev] Need help reproducing a sanitizer buildbot failure
On Thu, Apr 10, 2014 at 4:43 PM, Reid Kleckner <rnk at google.com> wrote:> msan isn't usable without an instrumented C++ standard library. > > The script in question is here: > > https://code.google.com/p/address-sanitizer/source/browse/trunk/build/scripts/slave/buildbot_bootstrap.sh >Thanks, Reid. I've gotten the script and I'm now running it locally. It's running into trouble in llvm_build2_asan, so I'll have to kick it a bit first. I think the bot usually gives a readable error report, but it doesn't work> for this test because the test is passing stderr to FileCheck. Lots of > tests do that, and we should find a way to make that work. We might want > to pass MSAN_OPTIONS=log_path=/tmp/something.log and then cat that file > from lit if it's non-empty. >Yeah. From the output, I can see part of the msan failure, but I can't see the whole thing. Worse, I can't even replicate it. Diego. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140410/8840c9a8/attachment.html>
Diego Novillo
2014-Apr-10 23:12 UTC
[LLVMdev] Need help reproducing a sanitizer buildbot failure
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. Thanks. Diego. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140410/3dcccdf1/attachment.html>
Kostya Serebryany
2014-Apr-11 05:42 UTC
[LLVMdev] Need help reproducing a sanitizer buildbot failure
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>
Evgeniy Stepanov
2014-Apr-11 05:59 UTC
[LLVMdev] Need help reproducing a sanitizer buildbot failure
You need llvm-symbolizer in PATH. On Apr 11, 2014 3:16 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. > > > Thanks. Diego. > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140411/4849cc87/attachment.html>
Apparently Analagous Threads
- [LLVMdev] Need help reproducing a sanitizer buildbot failure
- initialization-order-fiasco in MCTargetDesc/X86MCAsmInfo.cpp
- buildbot failure in LLVM on sanitizer-x86_64-linux-fast
- [LLVMdev] Need help reproducing a sanitizer buildbot failure
- [LLVMdev] RFC - Improvements to PGO profile support