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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Needs Scheduling
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              donald.anderson Donald Anderson
              Reporter:
              donald.anderson Donald Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: