UBSAN reports undefined behavior in mozjs on shell shutdown

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              DO NOT USE - Backlog - Platform Team
              Reporter:
              Spencer Jackson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: