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

GDB sometimes fails when fission is enabled

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 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
    • 0
    • 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@mongodb.com Daniel Moody
            Reporter:
            andrew.bradshaw@mongodb.com Andrew Bradshaw
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: