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

Add support for ASan builds in the Python test suite

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • WT10.0.0, 4.3.3, 4.2.4
    • Affects Version/s: None
    • Component/s: None
    • 5
    • Storage Engines 2019-12-16, Storage Engines 2019-12-30, Storage Engines 2020-01-13

      At the moment, we're unable to run Python tests with address sanitised builds. At the moment, I get:

      alexc@kitty:~/work/wiredtiger/build_posix$ LD_LIBRARY_PATH=.libs ../test/suite/run.py test_las01.py
      Traceback (most recent call last):
        File "../test/suite/run.py", line 98, in <module>
          import wttest
        File "/mnt/data0/alexc/work/wiredtiger/test/suite/wttest.py", line 42, in <module>
          import wiredtiger, wtscenario
        File "/mnt/data0/alexc/work/wiredtiger/build_posix/lang/python/wiredtiger/__init__.py", line 35, in <module>
          _wiredtiger = swig_import_helper()
        File "/mnt/data0/alexc/work/wiredtiger/build_posix/lang/python/wiredtiger/__init__.py", line 34, in swig_import_helper
          return importlib.import_module('_wiredtiger')
        File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
          __import__(name)
      ImportError: .libs/libwiredtiger-3.2.0.so: undefined symbol: __asan_option_detect_stack_use_after_return
      

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            alex.cameron@mongodb.com Alex Cameron (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: