I have a C++ program that calls Julia functions. In some cases, those Julia functions are dynamically generated and JIT-compiled. I tried to use AddressSanitizer (libasan) to check for memory errors in my program, but it fails when executing some (not all) JIT-compiled Julia functions. The error is always stack buffer underflow. I know it’s a false positive but is there anything I can do to avoid such errors being thrown and still use AddressSanitizer to check the rest of my program?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Embedding Julia in C++, segmentation fault during GC | 2 | 1238 | September 19, 2017 | |
Unexpected allocation when calling Julia function from C++ | 0 | 460 | February 10, 2022 | |
Support with embedding julia in C++ | 12 | 4390 | August 4, 2019 | |
Segmentation fault in embedded Julia | 9 | 547 | September 30, 2022 | |
Cuda-memcheck reports over 1300 errors with 4 lines of julia code with CUDA.jl | 2 | 707 | July 20, 2022 |