Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12257

Fix PATH env variable in hang analyzer to generate python core dump (6.0)

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 3
    • StorEng - 2024-01-23

      The environment variable PATH which is set while invoking the hang analyzer script is invalid, the hang analyzer tries to search for the executable "gdb" in the directories listed in the PATH environment variable since the PATH is set to /opt/mongodbtoolchain/gdb/bin:/usr/bin:xxxxx, the script finds the gdb under /usr/bin and uses it to generate core dump that eventually fails.

      PATH="/opt/mongodbtoolchain/v4/bin:$PATH" is the correct way to set the PATH to point to the bin directory.

            Assignee:
            ravi.giri@mongodb.com Ravi Giri
            Reporter:
            ravi.giri@mongodb.com Ravi Giri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: