(I think this post is a little less trivial than my previous one)
Here is the error I get:
~/Documents/Argos$ argos3 -c experiments/diffusion_1.argos
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta47/lib/argos3/libargos3core_simulator.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta47/lib/argos3/libargos3plugin_simulator_dynamics2d.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta47/lib/argos3/libargos3plugin_simulator_entities.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta47/lib/argos3/libargos3plugin_simulator_epuck.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta47/lib/argos3/libargos3plugin_simulator_eyebot.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta47/lib/argos3/libargos3plugin_simulator_footbot.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta47/lib/argos3/libargos3plugin_simulator_genericrobot.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta47/lib/argos3/libargos3plugin_simulator_media.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta47/lib/argos3/libargos3plugin_simulator_pointmass3d.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta47/lib/argos3/libargos3plugin_simulator_qtopengl.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta47/lib/argos3/libargos3plugin_simulator_spiri.dylib"
==28427==ERROR: Interceptors are not working. This may be because AddressSanitizer is loaded too late (e.g. via dlopen). Please launch the executable with:
DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/8.1.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
"interceptors not installed" && 0Abort trap: 6
So, I tried launching the executable by code injecting this library (at least the blog that I read said that is what I'm doing here):
DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/8.1.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib argos3 -c experiments/diffusion_1.argos
yet, I still get the exact same error. Any ideas?