[LLVMdev] llvm 3.2 regression

Jack Howarth howarth at bromo.med.uc.edu
Thu Dec 20 10:50:48 PST 2012


   There seems to be a new regression in current llvm/compiler-rt 3.2 branch.
On 86_64-apple-darwin12, I am seeing the failure...

[100%] Running all regression tests
lit.py: lit.common.cfg:19: note: using clang: '/sw/src/fink.build/llvm32-3.2-0/llvm-3.2/build/bin/clang'
lit.py: lit.cfg:171: note: using clang: '/sw/src/fink.build/llvm32-3.2-0/llvm-3.2/build/bin/./clang'
FAIL: AddressSanitizer-Unit :: Release/AsanTest/AddressSanitizerMac.GCDSourceCancel (162 of 12631)
******************** TEST 'AddressSanitizer-Unit :: Release/AsanTest/AddressSanitizerMac.GCDSourceCancel' FAILED ********************
Note: Google Test filter = AddressSanitizerMac.GCDSourceCancel
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from AddressSanitizerMac
[ RUN      ] AddressSanitizerMac.GCDSourceCancel
/sw/src/fink.build/llvm32-3.2-0/llvm-3.2/projects/compiler-rt/lib/asan/tests/asan_test.cc:2052: Failure
Death test: TestGCDSourceCancel()
    Result: died but not with expected error.
  Expected: Shadow byte and word
Actual msg:
[  DEATH   ] =================================================================
[  DEATH   ] ==88865== ERROR: AddressSanitizer: heap-buffer-overflow on address 0x00010cf70e4a at pc 0x10ab6a741 bp 0x10d4f3e30 sp 0x10d4f3e28
[  DEATH   ] WRITE of size 1 at 0x00010cf70e4a thread T16777215
[  DEATH   ] 0x00010cf70e4a is located 0 bytes to the right of 10-byte region [0x00010cf70e40,0x00010cf70e4a)
[  DEATH   ] ==88865== AddressSanitizer CHECK failed: /sw/src/fink.build/llvm32-3.2-0/llvm-3.2/projects/compiler-rt/lib/asan/asan_report.cc:216 "((t)) != (0)" (0x0, 0x0)
[  DEATH   ] Stats: 0M malloced (0M for red zones) by 2252 calls
[  DEATH   ] Stats: 0M realloced by 0 calls
[  DEATH   ] Stats: 0M freed by 1633 calls
[  DEATH   ] Stats: 0M really freed by 0 calls
[  DEATH   ] Stats: 4M (1027 full pages) mmaped in 8 calls
[  DEATH   ]   mmaps   by size class: 7:4095; 8:2047; 9:1023; 10:511; 11:255; 12:128; 13:64; 14:32; 
[  DEATH   ]   mallocs by size class: 7:1895; 8:202; 9:43; 10:79; 11:26; 12:2; 13:2; 14:3; 
[  DEATH   ]   frees   by size class: 7:1452; 8:38; 9:42; 10:77; 11:22; 13:2; 
[  DEATH   ]   rfrees  by size class: 
[  DEATH   ] Stats: malloc large: 5 small slow: 20
[  DEATH   ] 
[  FAILED  ] AddressSanitizerMac.GCDSourceCancel (8742 ms)
[----------] 1 test from AddressSanitizerMac (8742 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (8742 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] AddressSanitizerMac.GCDSourceCancel

 1 FAILED TEST
  YOU HAVE 27 DISABLED TESTS

Can this be fixed before the 3.2 release?
           Jack



More information about the llvm-dev mailing list