<div dir="ltr">Can you also specify ASAN_SYMOBLIZER_PATH=<span style="font-size:12.8000001907349px">/home/linaro/devel/buildbot/</span><span style="font-size:12.8000001907349px">clang-cmake-thumbv7-a15-full-</span><span style="font-size:12.8000001907349px">sh/stage1/bin/llvm-symbolizer?</span><div><span style="font-size:12.8000001907349px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 23, 2015 at 12:14 PM, Renato Golin <span dir="ltr"><<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 23 April 2015 at 19:43, Alexey Samsonov <<a href="mailto:vonosmas@gmail.com">vonosmas@gmail.com</a>> wrote:<br>
> Could you provide the full test output? I'll try to relax the test<br>
> conditions while we investigate this.<br>
<br>
</span>Sure!<br>
<br>
<br>
$ env ASAN_OPTIONS=check_initialization_order=true<br>
/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/stage1/projects/compiler-rt/test/asan/ARMLinuxConfig/TestCases/Output/initialization-bug.cc.tmp-INIT-ORDER-EXE<br>
2>&1<br>
=================================================================<br>
==4334==ERROR: AddressSanitizer: initialization-order-fiasco on<br>
address 0x0056bfe0 at pc 0x000b01a5 bp 0xbeedd2c0 sp 0xbeedd2c4<br>
READ of size 4 at 0x0056bfe0 thread T0<br>
    #0 0xb01a3<br>
(/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/stage1/projects/compiler-rt/test/asan/ARMLinuxConfig/TestCases/Output/initialization-bug.cc.tmp-INIT-ORDER-EXE+0xb01a3)<br>
    #1 0x1dc15<br>
(/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/stage1/projects/compiler-rt/test/asan/ARMLinuxConfig/TestCases/Output/initialization-bug.cc.tmp-INIT-ORDER-EXE+0x1dc15)<br>
    #2 0x1dc6f<br>
(/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/stage1/projects/compiler-rt/test/asan/ARMLinuxConfig/TestCases/Output/initialization-bug.cc.tmp-INIT-ORDER-EXE+0x1dc6f)<br>
<br>
0x0056bfe0 is located 0 bytes inside of global variable 'y' defined in<br>
'/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/llvm/projects/compiler-rt/test/asan/TestCases/Helpers/initialization-bug-extra2.cc:6:5'<br>
(0x56bfe0) of size 4<br>
  registered at:<br>
    #0 0x2a4b1<br>
(/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/stage1/projects/compiler-rt/test/asan/ARMLinuxConfig/TestCases/Output/initialization-bug.cc.tmp-INIT-ORDER-EXE+0x2a4b1)<br>
<br>
SUMMARY: AddressSanitizer: initialization-order-fiasco<br>
(/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/stage1/projects/compiler-rt/test/asan/ARMLinuxConfig/TestCases/Output/initialization-bug.cc.tmp-INIT-ORDER-EXE+0xb01a3)<br>
Shadow bytes around the buggy address:<br>
  0x200ad7a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>
  0x200ad7b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>
  0x200ad7c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>
  0x200ad7d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>
  0x200ad7e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 f9 f9 f9<br>
=>0x200ad7f0: f9 f9 f9 f9 04 f9 f9 f9 f9 f9 f9 f9[f6]f6 f6 f6<br>
  0x200ad800: f6 f6 f6 f6 00 00 00 00 00 00 00 00 00 00 00 00<br>
  0x200ad810: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>
  0x200ad820: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>
  0x200ad830: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>
  0x200ad840: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>
Shadow byte legend (one shadow byte represents 8 application bytes):<br>
  Addressable:           00<br>
  Partially addressable: 01 02 03 04 05 06 07<br>
  Heap left redzone:       fa<br>
  Heap right redzone:      fb<br>
  Freed heap region:       fd<br>
  Stack left redzone:      f1<br>
  Stack mid redzone:       f2<br>
  Stack right redzone:     f3<br>
  Stack partial redzone:   f4<br>
  Stack after return:      f5<br>
  Stack use after scope:   f8<br>
  Global redzone:          f9<br>
  Global init order:       f6<br>
  Poisoned by user:        f7<br>
  Container overflow:      fc<br>
  Array cookie:            ac<br>
  Intra object redzone:    bb<br>
  ASan internal:           fe<br>
  Left alloca redzone:     ca<br>
  Right alloca redzone:    cb<br>
==4334==ABORTING<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Alexey Samsonov<br><a href="mailto:vonosmas@gmail.com" target="_blank">vonosmas@gmail.com</a></div></div>
</div>