Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49857

ASAN Ubuntu 18.04 build variant did not symbolize its output

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0, 4.4.2
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Dev Platform 2020-08-10, Dev Platform 2020-08-24, Dev Platform 2020-09-07
    • Linked BF Score:
      42

      Description

      Despite the /opt/mongodbtoolchain/v3/bin/ directory being added to the PATH environment variable for the started the mongos process, ASan did not symbolize its output. Could /opt/mongodbtoolchain/v3/bin/llvm-symbolizer actually not be present?

      https://clang.llvm.org/docs/AddressSanitizer.html#symbolizing-the-reports

      PATH=/data/mci/89468aa1ebaf95a9731196ddd97623aa/src:/data/multiversion:/data/mci/89468aa1ebaf95a9731196ddd97623aa/src/dist-test/bin:/data/mci/89468aa1ebaf95a9731196ddd97623aa/venv/bin:/opt/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/opt/node/bin:/opt/mongodbtoolchain/v3/bin:false INSTALL_DIR=/data/mci/89468aa1ebaf95a9731196ddd97623aa/src/dist-test/bin /data/mci/89468aa1ebaf95a9731196ddd97623aa/src/dist-test/bin/mongos --setParameter enableTestCommands=1 --setParameter logComponentVerbosity={'transaction': 3} --setParameter testingDiagnosticsEnabled=true --configdb=config-rs/localhost:20000 --port=20005
      [ShardedClusterFixture:job0:mongos] 2020-07-22T09:29:42.224+0000 mongos started on port 20005 with pid 51285.
      ...
      [ShardedClusterFixture:job0:mongos] 2020-07-22T09:30:32.905+0000     #18 0x5555642a23da in mongo::ThreadPool::_doOneTask(std::unique_lock<mongo::latch_detail::Latch>*) (/data/mci/89468aa1ebaf95a9731196ddd97623aa/src/dist-test/bin/mongos+0x6ba73da)
      [ShardedClusterFixture:job0:mongos] 2020-07-22T09:30:32.906+0000     #19 0x5555642a00f5 in mongo::ThreadPool::_consumeTasks() (/data/mci/89468aa1ebaf95a9731196ddd97623aa/src/dist-test/bin/mongos+0x6ba50f5)
      [ShardedClusterFixture:job0:mongos] 2020-07-22T09:30:32.906+0000     #20 0x55556429f630 in mongo::ThreadPool::_workerThreadBody(mongo::ThreadPool*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (/data/mci/89468aa1ebaf95a9731196ddd97623aa/src/dist-test/bin/mongos+0x6ba4630)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ryan.egesdahl Ryan Egesdahl
              Reporter:
              max.hirschhorn Max Hirschhorn
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: