GDB sometimes fails when fission is enabled

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Build
    • Fully Compatible
    • ALL
    • Hide

      bazel build --mongo_toolchain_version=v5 --config=dbg +util_test

      /opt/mongodbtoolchain/v5/bin/gdb bazel-bin/src/mongo/util/util_test
      ...
      (gdb) b read_through_cache_test.cpp:426
      ...
      /data/mci/5babb3b2408085c5e3755daf98d92cf1/toolchain-builder/tmp/build-gdb-v5.sh-eim/src/gdb-15.2/gdb/dwarf2/read.h:284: internal-error: version: Assertion `m_dwarf_version != 0' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n)

      This repro only happens with the v5 GDB toolchain, does not repro with the v4 toolchain.

      Show
      bazel build --mongo_toolchain_version=v5 --config=dbg +util_test /opt/mongodbtoolchain/v5/bin/gdb bazel-bin/src/mongo/util/util_test ... (gdb) b read_through_cache_test.cpp:426 ... /data/mci/5babb3b2408085c5e3755daf98d92cf1/toolchain-builder/tmp/build-gdb-v5.sh-eim/src/gdb-15.2/gdb/dwarf2/read.h:284: internal-error: version: Assertion `m_dwarf_version != 0' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) This repro only happens with the v5 GDB toolchain, does not repro with the v4 toolchain.
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Sometimes when debugging with fissions gdb can give the error:

      internal-error: version: Assertion `m_dwarf_version != 0' failed.

      this error goes away when fission is disabled. Find out the root cause and see what the best fix for this error is, ideally without disabling fission.

            Assignee:
            Daniel Moody
            Reporter:
            Andrew Bradshaw
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: