[PATCH] D25597: Try to fix buildbot failure in VirtualFileSystem caused by r284129.
Krzysztof Parzyszek via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 14 13:57:02 PDT 2016
kparzysz added a comment.
Right on entry to the asserting function:
(gdb) where
#0 0x00007ffff52b9870 in (anonymous namespace)::RedirectingFileSystem::lookupPath(llvm::sys::path::const_iterator, llvm::sys::path::const_iterator, (anonymous namespace)::Entry*) () from /w/bld/up/bin/../lib/libclang.so.40
#1 0x00007ffff52b9b8c in (anonymous namespace)::RedirectingFileSystem::lookupPath(llvm::sys::path::const_iterator, llvm::sys::path::const_iterator, (anonymous namespace)::Entry*) () from /w/bld/up/bin/../lib/libclang.so.40
#2 0x00007ffff52b929f in (anonymous namespace)::RedirectingFileSystem::lookupPath(llvm::Twine const&) () from /w/bld/up/bin/../lib/libclang.so.40
#3 0x00007ffff52b836c in (anonymous namespace)::RedirectingFileSystem::status(llvm::Twine const&) () from /w/bld/up/bin/../lib/libclang.so.40
#4 0x00007ffff52b2171 in clang::vfs::OverlayFileSystem::status(llvm::Twine const&) () from /w/bld/up/bin/../lib/libclang.so.40
#5 0x00007ffff5292691 in clang::FileSystemStatCache::get(llvm::StringRef, clang::FileData&, bool, std::__1::unique_ptr<clang::vfs::File, std::__1::default_delete<clang::vfs::File> >*, clang::FileSystemStatCache*, clang::vfs::FileSystem&)
() from /w/bld/up/bin/../lib/libclang.so.40
#6 0x00007ffff528f523 in clang::FileManager::getStatValue(llvm::StringRef, clang::FileData&, bool, std::__1::unique_ptr<clang::vfs::File, std::__1::default_delete<clang::vfs::File> >*) () from /w/bld/up/bin/../lib/libclang.so.40
#7 0x00007ffff528f326 in clang::FileManager::getDirectory(llvm::StringRef, bool) () from /w/bld/up/bin/../lib/libclang.so.40
#8 0x00007ffff5323e23 in (anonymous namespace)::InitHeaderSearch::AddUnmappedPath(llvm::Twine const&, clang::frontend::IncludeDirGroup, bool) ()
from /w/bld/up/bin/../lib/libclang.so.40
#9 0x00007ffff5323133 in clang::ApplyHeaderSearchOptions(clang::HeaderSearch&, clang::HeaderSearchOptions const&, clang::LangOptions const&, llvm::Triple const&) () from /w/bld/up/bin/../lib/libclang.so.40
#10 0x00007ffff52dc120 in clang::CompilerInstance::createPreprocessor(clang::TranslationUnitKind) () from /w/bld/up/bin/../lib/libclang.so.40
#11 0x00007ffff531d0a7 in clang::FrontendAction::BeginSourceFile(clang::CompilerInstance&, clang::FrontendInputFile const&) ()
from /w/bld/up/bin/../lib/libclang.so.40
#12 0x00007ffff52ccc90 in clang::ASTUnit::LoadFromCompilerInvocationAction(clang::CompilerInvocation*, std::__1::shared_ptr<clang::PCHContainerOperations>, llvm::IntrusiveRefCntPtr<clang::DiagnosticsEngine>, clang::FrontendAction*, clang::ASTUnit*, bool, llvm::StringRef, bool, bool, unsigned int, bool, bool, bool, std::__1::unique_ptr<clang::ASTUnit, std::__1::default_delete<clang::ASTUnit> >*)
() from /w/bld/up/bin/../lib/libclang.so.40
#13 0x00007ffff507e1b6 in clang_indexSourceFileFullArgv::$_0::operator()() const () from /w/bld/up/bin/../lib/libclang.so.40
#14 0x00007ffff5c22271 in llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) () from /w/bld/up/bin/../lib/libclang.so.40
#15 0x00007ffff5c223b4 in RunSafelyOnThread_Dispatch(void*) ()
from /w/bld/up/bin/../lib/libclang.so.40
#16 0x00007ffff5c6d3fa in ExecuteOnThread_Dispatch(void*) ()
from /w/bld/up/bin/../lib/libclang.so.40
#17 0x00007ffff797d182 in start_thread (arg=0x7ffff3234700)
at pthread_create.c:312
#18 0x00007ffff3b3047d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) cont
Continuing.
..:target:hexagon:include:
c-index-test: /w/src/llvm.org/tools/clang/lib/Basic/VirtualFileSystem.cpp:1485: ErrorOr<(anonymous namespace)::Entry *> (anonymous namespace)::RedirectingFileSystem::lookupPath(sys::path::const_iterator, sys::path::const_iterator, (anonymous namespace)::Entry *): Assertion `!isTraversalComponent(*Start) && !isTraversalComponent(From->getName()) && "Paths should not contain traversal components"' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff3a6ccc9 in __GI_raise (sig=sig at entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
https://reviews.llvm.org/D25597
More information about the cfe-commits
mailing list