[llvm-testresults] buildbot failure in llvm on clang-x86_64-linux-selfhost-rel

Ted Kremenek kremenek at apple.com
Sun Nov 14 09:22:24 PST 2010


Nevermind.  I can reproduce this failure on a Release+Asserts self-build.

On Nov 14, 2010, at 8:31 AM, Ted Kremenek wrote:

> Looks like Valgrind is coming up with some warnings:
> 
> ==42266== Thread 3:
> ==42266== Conditional jump or move depends on uninitialised value(s)
> ==42266==    at 0x10010291B: ParseLangArgs(clang::LangOptions&, clang::driver::ArgList&, clang::InputKind, clang::Diagnostic&) (/Users/kremenek/llvm/tools/clang/lib/Frontend/CompilerInvocation.cpp:1290)
> ==42266==    by 0x1000FC24F: clang::CompilerInvocation::CreateFromArgs(clang::CompilerInvocation&, char const* const*, char const* const*, clang::Diagnostic&) (/Users/kremenek/llvm/tools/clang/lib/Frontend/CompilerInvocation.cpp:1559)
> ==42266==    by 0x1000B8AF7: clang::ASTUnit::LoadFromCommandLine(char const**, char const**, llvm::IntrusiveRefCntPtr<clang::Diagnostic>, llvm::StringRef, bool, bool, std::pair<std::string, llvm::MemoryBuffer const*>*, unsigned int, bool, bool, bool, bool, bool) (/Users/kremenek/llvm/tools/clang/lib/Frontend/ASTUnit.cpp:1450)
> ==42266==    by 0x10003ED97: clang_parseTranslationUnit_Impl (/Users/kremenek/llvm/tools/clang/tools/libclang/CIndex.cpp:2195)
> ==42266==    by 0x100956745: llvm::CrashRecoveryContext::RunSafely(void (*)(void*), void*) (/Users/kremenek/llvm/lib/Support/CrashRecoveryContext.cpp:192)
> ==42266==    by 0x100956A5F: RunSafelyOnThread_Dispatch(void*) (/Users/kremenek/llvm/lib/Support/CrashRecoveryContext.cpp:223)
> ==42266==    by 0x10099969A: ExecuteOnThread_Dispatch(void*) (/Users/kremenek/llvm/lib/System/Threading.cpp:75)
> ==42266==    by 0x1023AD535: _pthread_start (in /usr/lib/libSystem.B.dylib)
> ==42266==    by 0x1023AD3E8: thread_start (in /usr/lib/libSystem.B.dylib)
> ==42266== 
> ==42266== Conditional jump or move depends on uninitialised value(s)
> ==42266==    at 0x100618BDA: getLVForClassMember(clang::NamedDecl const*, (anonymous namespace)::LVFlags) (/Users/kremenek/llvm/tools/clang/lib/AST/Decl.cpp:483)
> ==42266==    by 0x10060FF0F: getLVForDecl(clang::NamedDecl const*, (anonymous namespace)::LVFlags) (/Users/kremenek/llvm/tools/clang/lib/AST/Decl.cpp:565)
> ==42266==    by 0x10060FDC5: clang::NamedDecl::getLinkageAndVisibility() const (/Users/kremenek/llvm/tools/clang/lib/AST/Decl.cpp:529)
> ==42266==    by 0x100063B73: clang::NamedDecl::getLinkage() const (/Users/kremenek/llvm/tools/clang/include/clang/AST/Decl.h:267)
> ==42266==    by 0x100611230: clang::NamedDecl::hasLinkage() const (/Users/kremenek/llvm/tools/clang/lib/AST/Decl.cpp:747)
> ==42266==    by 0x10030E622: clang::Sema::ActOnFunctionDeclarator(clang::Scope*, clang::Declarator&, clang::DeclContext*, clang::QualType, clang::TypeSourceInfo*, clang::LookupResult&, clang::ASTMultiPtr<clang::TemplateParameterList*>, bool, bool&) (/Users/kremenek/llvm/tools/clang/lib/Sema/SemaDecl.cpp:3580)
> ==42266==    by 0x10030BACD: clang::Sema::HandleDeclarator(clang::Scope*, clang::Declarator&, clang::ASTMultiPtr<clang::TemplateParameterList*>, bool) (/Users/kremenek/llvm/tools/clang/lib/Sema/SemaDecl.cpp:2437)
> ==42266==    by 0x100366839: clang::Sema::ActOnCXXMemberDeclarator(clang::Scope*, clang::AccessSpecifier, clang::Declarator&, clang::ASTMultiPtr<clang::TemplateParameterList*>, clang::Expr*, clang::Expr*, bool, bool) (/Users/kremenek/llvm/tools/clang/lib/Sema/SemaDeclCXX.cpp:930)
> ==42266==    by 0x1009B97F9: clang::Parser::ParseCXXClassMemberDeclaration(clang::AccessSpecifier, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ParsingDeclRAIIObject*) (/Users/kremenek/llvm/tools/clang/lib/Parse/ParseDeclCXX.cpp:1538)
> ==42266==    by 0x1009B7506: clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, unsigned int, clang::Decl*) (/Users/kremenek/llvm/tools/clang/lib/Parse/ParseDeclCXX.cpp:1702)
> ==42266==    by 0x1009B6693: clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, bool) (/Users/kremenek/llvm/tools/clang/lib/Parse/ParseDeclCXX.cpp:1021)
> ==42266==    by 0x1009A124E: clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, clang::Parser::DeclSpecContext) (/Users/kremenek/llvm/tools/clang/lib/Parse/ParseDecl.cpp:1379)
> 
> Investigating.  None of these are related to my change.
> 
> I also looks like the same test failed on a selfhost of darwin-x86_64, magically cleared up in later builds, and then appeared again.  Sounds like non-determinism to me.
> 
> On Nov 14, 2010, at 8:19 AM, Ted Kremenek wrote:
> 
>> This looks due to my commit.  I have no idea why these tests aren't passing on a self-hosted clang on linux, but appear to be fine on a self-hosted clang on Mac OS X.  All the other testers (including the Valgrind tester on Linux) are green.
>> 
>> On Nov 14, 2010, at 12:13 AM, buildbot at google1.osuosl.org wrote:
>> 
>>> The Buildbot has detected a new failure of clang-x86_64-linux-selfhost-rel on llvm.
>>> Full details are available at:
>>> http://google1.osuosl.org:8011/builders/clang-x86_64-linux-selfhost-rel/builds/3119
>>> 
>>> Buildbot URL: http://google1.osuosl.org:8011/
>>> 
>>> Buildslave for this Build: osu7
>>> 
>>> Build Reason: 
>>> Build Source Stamp: 119030
>>> Blamelist: fjahanian,kremenek,resistor
>>> 
>>> BUILD FAILED: failed test-clang_1
>>> 
>>> sincerely,
>>> -The Buildbot
>>> 
>> 
> 





More information about the llvm-testresults mailing list