[ 
https://issues.apache.org/jira/browse/ARROW-17686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17605215#comment-17605215
 ] 

Percy Camilo Triveño Aucahuasi commented on ARROW-17686:
--------------------------------------------------------

Thanks Weston, I was able to reproduce the issue using the archery command.

No idea why it is not posible to reproduce this on the other boxes, perhaps 
there are more valgrind arguments that we are using somewhere in the archery 
version.

 
{code:java}
[       OK ] AsofJoinNodeTest/AsofJoinBasicTest.TestEmpty5/5 (2017 ms)
[----------] 66 tests from AsofJoinNodeTest/AsofJoinBasicTest (133709 ms total)
[----------] Global test environment tear-down
[==========] 80 tests from 2 test suites ran. (139701 ms total)
[  PASSED  ] 80 tests.
==19252==
==19252== HEAP SUMMARY:
==19252==     in use at exit: 9,874 bytes in 157 blocks
==19252==   total heap usage: 9,472,888 allocs, 9,472,731 frees, 2,709,550,609 
bytes allocated
==19252==
==19252== LEAK SUMMARY:
==19252==    definitely lost: 0 bytes in 0 blocks
==19252==    indirectly lost: 0 bytes in 0 blocks
==19252==      possibly lost: 0 bytes in 0 blocks
==19252==    still reachable: 9,874 bytes in 157 blocks
==19252==         suppressed: 0 bytes in 0 blocks
==19252== Reachable blocks (those to which a pointer was found) are not shown.
==19252== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==19252==
==19252== Use --track-origins=yes to see where uninitialised values come from
==19252== For lists of detected and suppressed errors, rerun with: -s
==19252== ERROR SUMMARY: 2112 errors from 4 contexts (suppressed: 0 from 0)
{code}
 

> [C++] AsofJoinBasicParams has no gtest printer defined, leading to valgrind 
> errors
> ----------------------------------------------------------------------------------
>
>                 Key: ARROW-17686
>                 URL: https://issues.apache.org/jira/browse/ARROW-17686
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Weston Pace
>            Assignee: Percy Camilo Triveño Aucahuasi
>            Priority: Major
>         Attachments: valgrind.txt
>
>
> Valgrind is currently failing on arrow-compute-asof-join-node-test: 
> https://dev.azure.com/ursacomputing/crossbow/_build/results?buildId=34147&view=logs&j=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&t=d9b15392-e4ce-5e4c-0c8c-b69645229181&l=4118
> The issue appears to be that AsofJoinBasicParams has no gtest printer and so 
> gtest is using the default universal-printer which doesn't really play well 
> with valgrind.  We should add a custom PrintTo method for AsofJoinBasicParams 
> per: 
> https://github.com/google/googletest/blob/main/googletest/include/gtest/gtest-printers.h



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to