[ https://issues.apache.org/jira/browse/ARROW-12708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17361065#comment-17361065 ]
Jonathan Keane commented on ARROW-12708: ---------------------------------------- [~pachamaltese] Are you seeing something problematic in the build step? What's going on there? That's not the important / helpful part of the error. Here is an example of the kinds of output you should be looking for (and contributing with these tickets that you make): {code} > test_check("arrow", reporter = arrow_reporter) System has not been booted with systemd as init system (PID 1). Can't operate. Failed to create bus connection: Host is down ==3131== Conditional jump or move depends on uninitialised value(s) ==3131== at 0x4DA2798: __printf_fphex (printf_fphex.c:215) ==3131== by 0x4DB8434: printf_positional (vfprintf-internal.c:2072) ==3131== by 0x4DB9F4C: __vfprintf_internal (vfprintf-internal.c:1733) ==3131== by 0x4DCF119: __vsnprintf_internal (vsnprintf.c:114) ==3131== by 0x4982F60: Rvsnprintf_mbcs (errors.c:301) ==3131== by 0x49885EE: vsignalError (errors.c:1827) ==3131== by 0x498576A: Rf_errorcall (errors.c:906) ==3131== by 0xD8E7A12: decltype (((declval<void (*&)(SEXPREC*, char const*, ...)>)())((declval<SEXPREC*&>)(), (declval<char const*&&>)())) cpp11::detail::apply<void (*&)(SEXPREC*, char const*, ...), SEXPREC*&, char const*&&, 0ul, 1ul>(void (*&)(SEXPREC*, char const*, ...), std::tuple<SEXPREC*&, char const*&&>&&, cpp11::detail::index_sequence<0ul, 1ul> const&) (protect.hpp:125) ==3131== by 0xD8E748E: decltype (((declval<void (*&)(SEXPREC*, char const*, ...)>)())((declval<SEXPREC*&>)(), (declval<char const*&&>)())) cpp11::detail::apply<void (*&)(SEXPREC*, char const*, ...), SEXPREC*&, char const*&&>(void (*&)(SEXPREC*, char const*, ...), std::tuple<SEXPREC*&, char const*&&>&&) (protect.hpp:131) ==3131== by 0xD8E6999: cpp11::detail::closure<void (SEXPREC*, char const*, ...), SEXPREC*&, char const*&&>::operator()() && (protect.hpp:144) ==3131== by 0xD8E6112: void cpp11::unwind_protect<cpp11::detail::closure<void (SEXPREC*, char const*, ...), SEXPREC*&, char const*&&>, void>(cpp11::detail::closure<void (SEXPREC*, char const*, ...), SEXPREC*&, char const*&&>&&)::{lambda()#1}::operator()() const (protect.hpp:76) ==3131== by 0xD8E69F1: SEXPREC* cpp11::unwind_protect<void cpp11::unwind_protect<cpp11::detail::closure<void (SEXPREC*, char const*, ...), SEXPREC*&, char const*&&>, void>(cpp11::detail::closure<void (SEXPREC*, char const*, ...), SEXPREC*&, char const*&&>&&)::{lambda()#1}, void>(cpp11::detail::closure<void (SEXPREC*, char const*, ...), SEXPREC*&, char const*&&>&&)::{lambda(void*)#2}::operator()(void cpp11::unwind_protect<cpp11::detail::closure<void (SEXPREC*, char const*, ...), SEXPREC*&, char const*&&>, void>(cpp11::detail::closure<void (SEXPREC*, char const*, ...), SEXPREC*&, char const*&&>&&)::{lambda()#1}) const (protect.hpp:51) ==3131== Uninitialised value was created by a stack allocation ==3131== at 0x4985677: Rf_errorcall (errors.c:898) ==3131== ==3131== Conditional jump or move depends on uninitialised value(s) ==3131== at 0x4DA27B2: __printf_fphex (printf_fphex.c:215) ==3131== by 0x4DB8434: printf_positional (vfprintf-internal.c:2072) [... many (~ 11045) similar valgrind errors] [ FAIL 0 | WARN 6 | SKIP 57 | PASS 3839 ] Warning message: In system("timedatectl", intern = TRUE) : running command 'timedatectl' had status 1 > ==3131== ==3131== HEAP SUMMARY: ==3131== in use at exit: 318,218,757 bytes in 61,489 blocks ==3131== total heap usage: 3,562,658 allocs, 3,501,169 frees, 2,690,774,195 bytes allocated ==3131== ==3131== LEAK SUMMARY: ==3131== definitely lost: 0 bytes in 0 blocks ==3131== indirectly lost: 0 bytes in 0 blocks ==3131== possibly lost: 0 bytes in 0 blocks ==3131== still reachable: 318,218,757 bytes in 61,489 blocks ==3131== of which reachable via heuristic: ==3131== newarray : 4,264 bytes in 1 blocks ==3131== suppressed: 0 bytes in 0 blocks ==3131== Reachable blocks (those to which a pointer was found) are not shown. ==3131== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==3131== ==3131== For lists of detected and suppressed errors, rerun with: -s ==3131== ERROR SUMMARY: 11045 errors from 101 contexts (suppressed: 2 from 1) Found Valgrind errors {code} > [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)