[ https://issues.apache.org/jira/browse/ARROW-12708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17361171#comment-17361171 ]
Eduardo Ponce commented on ARROW-12708: --------------------------------------- Using the *negate* kernel did not produced an error but *negate_checked* did. The differences in the checked variant is that it emits an invalid status for unsigned integers and applies explicit casts to the signed integral variant. > [C++] Valgrind errors when calling negate_checked > ------------------------------------------------- > > Key: ARROW-12708 > URL: https://issues.apache.org/jira/browse/ARROW-12708 > Project: Apache Arrow > Issue Type: Bug > Components: C++ > Reporter: Jonathan Keane > Assignee: Eduardo Ponce > Priority: Major > Fix For: 5.0.0 > > Attachments: valgrind-log-2021-06-10-docker-step-only.txt > > > We've started seeing Valgrind in our R tests. I did some digging through the > commits and found that these errors started when > https://github.com/apache/arrow/commit/0d979bf0cbb10e4977c99a542c266134604e72a5 > was merged (ARROW-12575). > As far as I know, this is the first use of {{negate_checked}} in R, so that > is the likely culprit, though I haven't been able to match the error outputs > to the {{negate_checked}} code directly. > Here's the first failure: > https://dev.azure.com/ursacomputing/crossbow/_build/results?buildId=4805&view=logs&j=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&t=d9b15392-e4ce-5e4c-0c8c-b69645229181&l=2942 -- This message was sent by Atlassian Jira (v8.3.4#803005)