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

Change run.py to use absolute LD_LIBRARY_PATH for --asan

    • 1
    • Storage Engines - 2023-01-10

      keith.smith reported this pain point for using the Python --asan option. 

      Running from build_posix and using LD_LIBRARY_PATH=.libs is the usual prerequisite for running Python tests.  However, this doesn't work with the --asan options: ASAN stack traces aren't annotated correctly for libraries that would be found using relative paths.  One can manually change LD_LIBRARY_PATH (if you know about this issue), but run.py could also rewrite all parts of LD_LIBRARY_PATH to use absolute paths.

            Assignee:
            sona.reddy@mongodb.com Sona Reddy (Inactive)
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: