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

Hang analyzer in mongo shell attempts to load non-existent .gdbinit file

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Testing Infrastructure
    • None
    • ALL
    • Build and Correctness OnDeck

    Description

      GDB continues to run the other commands anyway so this doesn't impact the ability for GDB to collect core dumps. But realistically there is no advantage to have GDB attempting to source the .gdbinit file when it is only taking core dump because the gdb process isn't being used to print any data structures whatsoever.

      [js_test:native_tenant_data_isolation_basic_dollar_tenant] sh298468| ['/opt/mongodbtoolchain/v4/bin/gdb', '--quiet', '--nx', '--readnever', '-ex', 'set interactive-mode off', '-ex', 'set print thread-events off', '-ex', "py sys.path.extend(['/data/mci/f243158d4d8981a4c61cbebd43a2199f/src/buildscripts', '/data/mci/f243158d4d8981a4c61cbebd43a2199f/venv/lib/python3.10/site-packages/git/ext/gitdb', '/data/mci/f243158d4d8981a4c61cbebd43a2199f/src', '/opt/mongodbtoolchain/revisions/69f4f0673ffcb290ce2307560a4883ecf2ad138c/stow/python3-v4.NWS/lib/python310.zip', '/opt/mongodbtoolchain/revisions/69f4f0673ffcb290ce2307560a4883ecf2ad138c/stow/python3-v4.NWS/lib/python3.10', '/opt/mongodbtoolchain/revisions/69f4f0673ffcb290ce2307560a4883ecf2ad138c/stow/python3-v4.NWS/lib/python3.10/lib-dynload', '/data/mci/f243158d4d8981a4c61cbebd43a2199f/venv/lib/python3.10/site-packages', '/data/mci/f243158d4d8981a4c61cbebd43a2199f/src', '/data/mci/f243158d4d8981a4c61cbebd43a2199f/src', '/data/mci/f243158d4d8981a4c61cbebd43a2199f/src'])", '-ex', 'source .gdbinit', '-ex', 'attach 201455', '-ex', 'handle SIGSTOP ignore noprint', '-ex', 'set scheduler-locking on', '-ex', 'gcore dump_mongod.201455.core', '-ex', 'detach', '-ex', 'attach 201457', '-ex', 'handle SIGSTOP ignore noprint', '-ex', 'set scheduler-locking on', '-ex', 'gcore dump_mongod.201457.core', '-ex', 'detach', '-ex', 'set confirm off', '-ex', 'quit']
      [js_test:native_tenant_data_isolation_basic_dollar_tenant] sh298468| .gdbinit: No such file or directory.
      

      https://parsley.mongodb.com/resmoke/63004f98bf0ff9f195370fcc64c89097/test/178fce76eb0ec74351fad7e3652d3de9?bookmarks=0,13345,13401&shareLine=13344

      Attachments

        Activity

          People

            trevor.guidry@mongodb.com Trevor Guidry
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: