[LLVMdev] Debug+Checks Failures

David Greene dag at cray.com
Fri Jun 18 14:38:21 PDT 2010


I am seeing the following on trunk for Debug+Checks builds:

[x86_64-off-par]: # of unexpected failures	11

Here's an example failure:

[x86_64-off-par]: FAIL: /ptmp/dag/llvm-project.official/llvm/trunk/test/CodeGen/PIC16/test_indf_name.ll
[x86_64-off-par]: Failed with signal(SIGABRT) at line 1
[x86_64-off-par]: while running:  llvm-as < /ptmp/dag/llvm-project.official/llvm/trunk/test/CodeGen/PIC16/test_indf_name.ll |  llc -march=pic16 | FileCheck /ptmp/dag/llvm-project.official/llvm/trunk/test/CodeGen/PIC16/test_indf_name.ll
[x86_64-off-par]: /usr/include/c++/4.1.2/debug/safe_iterator.h:254:error: attempt to 
[x86_64-off-par]:     decrement a dereferenceable (start-of-sequence) iterator.
[x86_64-off-par]: 
[x86_64-off-par]: Objects involved in the operation:
[x86_64-off-par]: iterator "this" @ 0x0x7fff1c645470 {
[x86_64-off-par]: type = N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPcN10__gnu_norm6vectorIS3_SaIS3_EEEEEN15__gnu_debug_def6vectorIS3_S7_EEEE (mutable iterator);
[x86_64-off-par]:   state = dereferenceable (start-of-sequence);
[x86_64-off-par]:   references sequence with type `N15__gnu_debug_def6vectorIPcSaIS1_EEE' @ 0x0x7fff1c645470
[x86_64-off-par]: }
[x86_64-off-par]: 0  llc            0x0000000001873d56
[x86_64-off-par]: 1  llc            0x0000000001874328
[x86_64-off-par]: 2  libc.so.6      0x00002b148eb10c10
[x86_64-off-par]: 3  libc.so.6      0x00002b148eb10b95 gsignal + 53
[x86_64-off-par]: 4  libc.so.6      0x00002b148eb11f90 abort + 272
[x86_64-off-par]: 5  libstdc++.so.6 0x00002b148e6d7dc7 __gnu_debug::_Error_formatter::_M_error() const + 471
[x86_64-off-par]: 6  llc            0x0000000000f55eb9 __gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<char**, __gnu_norm::vector<char*, std::allocator<char*> > >, __gnu_debug_def::vector<char*, std::allocator<char*> > >::operator--(int) + 121
[x86_64-off-par]: 7  llc            0x0000000000f57e18 llvm::ESNames::~ESNames() + 132
[x86_64-off-par]: 8  llc            0x0000000000f47486
[x86_64-off-par]: 9  libc.so.6      0x00002b148eb132a7 exit + 135
[x86_64-off-par]: 10 libc.so.6      0x00002b148eafe15b __libc_start_main + 251
[x86_64-off-par]: 11 llc            0x0000000000dea759

We've talked about enabling Debug+Checks builds on the buildbot, but I
guess it never happened.  What needs to be done so we can enable
Debug+Checks in the buildbots?  I can devote some time to this.

                         -Dave



More information about the llvm-dev mailing list