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

UBSAN reports undefined behavior in mozjs on shell shutdown

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.1.7
    • Component/s: 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

      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.

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

              Created:
              Updated:
              Resolved: