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

UBSAN reports undefined behavior in mozjs on shell shutdown

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • 3.1.7
    • JavaScript
    • ALL
    • Hide

      1) Compile shell with undefined behavior sanitizer.
      2) Open shell
      3) ctrl+c

      Show
      1) Compile shell with undefined behavior sanitizer. 2) Open shell 3) ctrl+c

    Description

      Shutting down the shell produces a series of ASAN messages. I compiled my shell with

      scons -j26 --ssl --dbg=on --opt=off --build-fast-and-loose=of
      f --sanitize=address,undefined --allocator=system VARIANT_DIR=autosconsSAN CXX="
      ccache clang++" CC="ccache clang
      

      Report is attached.

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: