-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI][R][C++] test-r-linux-valgrind has started failing #41148
Comments
Seems it's not actually leak, but that valgrind complains about unrecognized instruction which is very likely an AVX512 one. Maybe we can quickly rule out the possibility of env issue, by checking if the host CPU is simd-capable? AFAIK, on certain VM env some CPU flags, esp. simd-related ones, could be missing if not explicitly configured. |
This seems similar to #30368 but it's not clear to me how we end up with an AVX512 instruction. |
I don't recall an unrecognized instruction in any of my adventures with that valgrind job (only memory leaks!). |
I agree with @amoeba, what likely happened is that the runner supports avx512 (valgrind does not) and for some reason the code that get's invoked is not covered by the runtime simd level envvar. The quick way to fix this would be to also add Actually fixing it would probably be #30368 and checking the thing that valgrind instruments to set the simd level correctly. |
I don't think this is a blocker so I've created RC0 for 16.0.0 without it. |
@raulcd Looking at the likely cause you are right, if this issue would happen on CRAN it would happen with our current version (as we don't control the envvars there). |
Describe the bug, including details regarding any error messages, version, and platform.
The test-r-linux-valgrind job has started failing since those commits were merged (fe38d47...cd607d0) with several leaks:
Please see link of the job for more details.
Component(s)
C++, Continuous Integration, R
The text was updated successfully, but these errors were encountered: