You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "raulcd (via GitHub)" <gi...@apache.org> on 2024/04/11 11:10:22 UTC

[I] [CI][R][C++] test-r-linux-valgrind has started failing [arrow]

raulcd opened a new issue, #41148:
URL: https://github.com/apache/arrow/issues/41148

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   The [test-r-linux-valgrind](https://github.com/ursacomputing/crossbow/runs/23687072480) job has started failing since those commits were merged (https://github.com/apache/arrow/compare/fe38d47e82c6ffc231f0918be15aa5cd0da98607...cd607d00b9e3c5f2ac2a2e373ba7571fd75fc725) with several leaks:
   ```
   2024-04-10T00:57:52.3151980Z ==774== LEAK SUMMARY:
   2024-04-10T00:57:52.3152139Z ==774==    definitely lost: 0 bytes in 0 blocks
   2024-04-10T00:57:52.3152329Z ==774==    indirectly lost: 0 bytes in 0 blocks
   2024-04-10T00:57:52.3152513Z ==774==      possibly lost: 15,813 bytes in 36 blocks
   2024-04-10T00:57:52.3152718Z ==774==    still reachable: 121,607,441 bytes in 38,708 blocks
   2024-04-10T00:57:52.3152903Z ==774==                       of which reachable via heuristic:
   2024-04-10T00:57:52.3153095Z ==774==                         newarray           : 4,264 bytes in 1 blocks
   2024-04-10T00:57:52.3153280Z ==774==         suppressed: 0 bytes in 0 blocks
   2024-04-10T00:57:52.3153481Z ==774== Reachable blocks (those to which a pointer was found) are not shown.
   2024-04-10T00:57:52.3153778Z ==774== To see them, rerun with: --leak-check=full --show-leak-kinds=all
   2024-04-10T00:57:52.3153941Z ==774== 
   2024-04-10T00:57:52.3154114Z ==774== For lists of detected and suppressed errors, rerun with: -s
   2024-04-10T00:57:52.3154330Z ==774== ERROR SUMMARY: 15 errors from 15 contexts (suppressed: 0 from 0)
   ```
   Please see link of the job for more details.
   
   ### Component(s)
   
   C++, Continuous Integration, R


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [CI][R][C++] test-r-linux-valgrind has started failing [arrow]

Posted by "assignUser (via GitHub)" <gi...@apache.org>.
assignUser commented on issue #41148:
URL: https://github.com/apache/arrow/issues/41148#issuecomment-2060043199

   @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).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [CI][R][C++] test-r-linux-valgrind has started failing [arrow]

Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba commented on issue #41148:
URL: https://github.com/apache/arrow/issues/41148#issuecomment-2052648829

   This seems an awful lot like https://github.com/apache/arrow/issues/30368 but it's not clear to me how we end up with an AVX512 instruction. `EXTRA_CMAKE_FLAGS=-DARROW_RUNTIME_SIMD_LEVEL=AVX2` gets set but I also see `(arrow::compute::SimdLevel::type)4` which looks like it maps to `SimdLevel::AVX512`. @paleolimbot does this ring any bells?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [CI][R][C++] test-r-linux-valgrind has started failing [arrow]

Posted by "assignUser (via GitHub)" <gi...@apache.org>.
assignUser commented on issue #41148:
URL: https://github.com/apache/arrow/issues/41148#issuecomment-2058055083

   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 `ARROW_SIMD_LEVEL=AVX2` to that job so we don't compile anything for avx512. 
   
   Actually fixing it would probably be #30368 and checking the thing that valgrind instruments to set the simd level correctly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [CI][R][C++] test-r-linux-valgrind has started failing [arrow]

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot commented on issue #41148:
URL: https://github.com/apache/arrow/issues/41148#issuecomment-2053802342

   I don't recall a crash in any of my adventures with that valgrind job (only memory leaks!).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [CI][R][C++] test-r-linux-valgrind has started failing [arrow]

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd commented on issue #41148:
URL: https://github.com/apache/arrow/issues/41148#issuecomment-2059288438

   I don't think this is a blocker so I've created RC0 for 16.0.0 without it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [CI][R][C++] test-r-linux-valgrind has started failing [arrow]

Posted by "zanmato1984 (via GitHub)" <gi...@apache.org>.
zanmato1984 commented on issue #41148:
URL: https://github.com/apache/arrow/issues/41148#issuecomment-2049638722

   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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [CI][R][C++] test-r-linux-valgrind has started failing [arrow]

Posted by "assignUser (via GitHub)" <gi...@apache.org>.
assignUser closed issue #41148: [CI][R][C++] test-r-linux-valgrind has started failing
URL: https://github.com/apache/arrow/issues/41148


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org