Skip to content
This repository was archived by the owner on Dec 14, 2021. It is now read-only.
This repository was archived by the owner on Dec 14, 2021. It is now read-only.

crashing if multi-process indexing is disabled #617

@TTimo

Description

@TTimo

While investigating #616, if I turn off multi-processing indexing, sourcetrail crashes shortly after starting indexing:

(gdb) bt
#0  0x000000000196216c in clang::DiagnosticIDs::ProcessDiag(clang::DiagnosticsEngine&) const ()
#1  0x0000000001959254 in clang::DiagnosticsEngine::EmitCurrentDiagnostic(bool) ()
#2  0x00000000010152d3 in clang::driver::Driver::ParseArgStrings(llvm::ArrayRef<char const*>, bool&) ()
#3  0x000000000102aeff in clang::driver::Driver::BuildCompilation(llvm::ArrayRef<char const*>) ()
#4  0x0000000000acd139 in ?? ()
#5  0x0000000000ad1b41 in CxxParser::runTool(clang::tooling::CompilationDatabase*, FilePath const&) ()
#6  0x0000000000ad2a89 in CxxParser::buildIndex(std::shared_ptr<IndexerCommandCxxCdb>) ()
#7  0x0000000000ac661a in IndexerCxx<IndexerCommandCxxCdb, CxxParser>::doIndex(std::shared_ptr<IndexerCommandCxxCdb>) ()
#8  0x0000000000ac5401 in Indexer<IndexerCommandCxxCdb>::index(std::shared_ptr<IndexerCommand>) ()
#9  0x0000000000caa3e6 in IndexerComposite::index(std::shared_ptr<IndexerCommand>) ()
#10 0x0000000000da4e33 in InterprocessIndexer::work() ()
#11 0x0000000000cb18a5 in TaskBuildIndex::runIndexerThread(int) ()
#12 0x0000000002737eb0 in ?? ()
#13 0x00007fc12a52c6db in start_thread (arg=0x7fc101345700) at pthread_create.c:463
#14 0x00007fc127e3088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions