Does the tests support AddressSanitizer with MSVC?
Hi All,
I have build annoy project with vs 2019 native tools command prompt and use AddressSanitizer by below steps and run tests:
- pip install numpy h5py
- set _ CL _= /fsanitize=address /GS- /wd5072 & set _ LINK _= /InferASanLibs /incremental:no /debug
- python setup.py build
- python setup.py nosetests
when run test hit below errors, could you please help confirm if the project tests support AddressSanitizer? Thanks a lot!
ERROR: Failure: ImportError (DLL load failed while importing annoylib: The specified module could not be found.)
Traceback (most recent call last):
File "f:\gitp\spotify\annoy.eggs\nose-1.3.7-py3.9.egg\nose\failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "f:\gitp\spotify\annoy.eggs\nose-1.3.7-py3.9.egg\nose\loader.py", line 417, in loadTestsFromName
module = self.importer.importFromPath(
File "f:\gitp\spotify\annoy.eggs\nose-1.3.7-py3.9.egg\nose\importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "f:\gitp\spotify\annoy.eggs\nose-1.3.7-py3.9.egg\nose\importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "C:\Python39\lib\imp.py", line 234, in load_module
return load_source(name, filename, file)
File "C:\Python39\lib\imp.py", line 171, in load_source
module = _load(spec)
File "
======================================================================