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

Add /data/mci to the gdb auto-load paths in print_stack_trace.py

    • Storage Engines
    • 2
    • 2024-05-28 - FOLLOW ON SPRINT

      Currently running print_stack_track.py in evergreen reports the following warning:

       

      warning: File "/data/mci/ccc31662e0d1a65ae232478a4cd9a9fc/wiredtiger/cmake_build/libwiredtiger.so.11.3.0-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
      To enable execution of this file add
          add-auto-load-safe-path /data/mci/ccc31662e0d1a65ae232478a4cd9a9fc/wiredtiger/cmake_build/libwiredtiger.so.11.3.0-gdb.py
      line to your configuration file "/home/ubuntu/.gdbinit". 

      So far I've only seen this come from calls to our print_stack_trace.py script. We should fix it by adding `add-auto-load-safe-path /data/mci/` to ~/.gdbinit when we run the script.

       

            Assignee:
            andrew.morton@mongodb.com Andrew Morton
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: