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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Some of the decimal benchmarks access their benchmark data in strides, 
without checking that the accesses fall withing bounds. Example here, where 
`kValueSize` (10) is actually not a multiple of 4:
   
https://github.com/apache/arrow/blob/5e451d85d7269d3fb9c7eaab06caece5718c40e5/cpp/src/arrow/util/decimal_benchmark.cc#L89-L98
   
   This manifests in crashes on some of the macOS benchmark machines, and the 
issue can be reproduced locally using Valgrind:
   ```console
   $ ARROW_DEFAULT_MEMORY_POOL=system valgrind <build 
dir>/relwithdebinfo/arrow-decimal-benchmark --benchmark_repetitions=6 
--benchmark_min_time=0.050000s
   ```
   
   ### Component(s)
   
   C++


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to