Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-13265

[R] cli valgrind errors in nightlies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 5.0.0
    • C++, R

    Description

      The r-valgrind nightly job has been failing from July 1-today.

      The last known good build was on June 30.

      The following were merged on 30 June so likely one of them is the culprit:
      ARROW-13128: [C#] TimestampArray conversion logic for nano and micro … …
      ARROW-13025: [C++][Python] Add FunctionOptions::Equals/ToString/Seria… …
      ARROW-13095: [C++] Implement trig compute functions …
      MINOR: [C#] Fixing example to use WriteEndAsync instead of WriteFoote… …
      ARROW-13010: [C++][Compute] Support outputting to slices from kleene … …
      ARROW-12996: Add bytes_read() to StreamingReader …
      ARROW-13072: [C++] Add bit-wise arithmetic kernels …
      ARROW-13104: [C++] Fix unsafe cast in ByteStreamSplit implementation …
      ARROW-13134: [C++][CI] Pin aws-sdk-cpp to < 1.9 …

      For reference:
      last commit on June 29: 42048e554056baa7fb3d1159a859f3e08056fc1b
      last commit on June 30: ab5747959d2defeda9ff159155fb4673e3f77e8d

      The error is:

      2021-07-06T09:03:49.4267523Z ==3154== HEAP SUMMARY:
      2021-07-06T09:03:49.4269578Z ==3154==     in use at exit: 322,229,205 bytes in 61,881 blocks
      2021-07-06T09:03:49.4271423Z ==3154==   total heap usage: 3,962,401 allocs, 3,900,520 frees, 2,926,474,902 bytes allocated
      2021-07-06T09:03:49.4273205Z ==3154== 
      2021-07-06T09:03:56.2319948Z ==3154== 336 bytes in 1 blocks are possibly lost in loss record 174 of 3,640
      2021-07-06T09:03:56.2321803Z ==3154==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
      2021-07-06T09:03:56.2323056Z ==3154==    by 0x40149CA: allocate_dtv (dl-tls.c:286)
      2021-07-06T09:03:56.2324056Z ==3154==    by 0x40149CA: _dl_allocate_tls (dl-tls.c:532)
      2021-07-06T09:03:56.2324838Z ==3154==    by 0x5721322: allocate_stack (allocatestack.c:622)
      2021-07-06T09:03:56.2329162Z ==3154==    by 0x5721322: pthread_create@@GLIBC_2.2.5 (pthread_create.c:660)
      2021-07-06T09:03:56.2329726Z ==3154==    by 0x1317E67A: cli__start_thread (thread.c:46)
      2021-07-06T09:03:56.2330502Z ==3154==    by 0x1317E6D6: clic_start_thread (thread.c:63)
      2021-07-06T09:03:56.2331474Z ==3154==    by 0x494214E: R_doDotCall (dotcode.c:604)
      2021-07-06T09:03:56.2331893Z ==3154==    by 0x49B135F: bcEval (eval.c:7671)
      2021-07-06T09:03:56.2332311Z ==3154==    by 0x498C2A2: Rf_eval (eval.c:727)
      2021-07-06T09:03:56.2332712Z ==3154==    by 0x498F011: R_execClosure (eval.c:1897)
      2021-07-06T09:03:56.2333146Z ==3154==    by 0x498ECC4: Rf_applyClosure (eval.c:1823)
      2021-07-06T09:03:56.2333567Z ==3154==    by 0x49A084C: bcEval (eval.c:7083)
      2021-07-06T09:03:56.2333952Z ==3154==    by 0x498C2A2: Rf_eval (eval.c:727)
      2021-07-06T09:03:56.2334279Z ==3154== 
      2021-07-06T09:03:56.2361291Z ==3154== LEAK SUMMARY:
      2021-07-06T09:03:56.2362383Z ==3154==    definitely lost: 0 bytes in 0 blocks
      2021-07-06T09:03:56.2362824Z ==3154==    indirectly lost: 0 bytes in 0 blocks
      2021-07-06T09:03:56.2363239Z ==3154==      possibly lost: 336 bytes in 1 blocks
      2021-07-06T09:03:56.2363802Z ==3154==    still reachable: 322,228,869 bytes in 61,880 blocks
      2021-07-06T09:03:56.2364367Z ==3154==                       of which reachable via heuristic:
      2021-07-06T09:03:56.2365602Z ==3154==                         newarray           : 4,264 bytes in 1 blocks
      2021-07-06T09:03:56.2366369Z ==3154==         suppressed: 0 bytes in 0 blocks
      2021-07-06T09:03:56.2366834Z ==3154== Reachable blocks (those to which a pointer was found) are not shown.
      2021-07-06T09:03:56.2367759Z ==3154== To see them, rerun with: --leak-check=full --show-leak-kinds=all
      2021-07-06T09:03:56.2368331Z ==3154== 
      2021-07-06T09:03:56.2368935Z ==3154== For lists of detected and suppressed errors, rerun with: -s
      2021-07-06T09:03:56.2369460Z ==3154== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 1)
      

      https://dev.azure.com/ursacomputing/crossbow/_build/results?buildId=7714&view=logs&j=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&t=d9b15392-e4ce-5e4c-0c8c-b69645229181&l=13491

      Attachments

        Issue Links

          Activity

            People

              jonkeane Jonathan Keane
              jonkeane Jonathan Keane
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h