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

[R] Sanitizer failures with duration type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0
    • R

    Description

      After ARROW-14941, we are seeing sanitizer failures:

      One example from the clang sanitizer:

      SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /arrow/r/libarrow/arrow-6.0.1.9000/include/arrow/type.h:1192:40 in 
      datatype.cpp:321:16: runtime error: member call on address 0x60800002d2b8 which does not point to an object of type 'arrow::TimeType'
      0x60800002d2b8: note: object is of type 'arrow::DurationType'
       00 00 00 00  70 96 6b 36 43 7f 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  21 00 00 00
                    ^~~~~~~~~~~~~~~~~~~~~~~
                    vptr for 'arrow::DurationType'
      

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

      One example from the gcc sanitizer:

      datatype.cpp:321:20: runtime error: member call on address 0x607000071d10 which does not point to an object of type 'TimeType'
      0x607000071d10: note: object is of type 'arrow::DurationType'
       01 00 00 00  48 19 19 23 8e 7f 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  21 00 00 00
                    ^~~~~~~~~~~~~~~~~~~~~~~
                    vptr for 'arrow::DurationType'
       

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

      Attachments

        Issue Links

          Activity

            People

              paleolimbot Dewey Dunnington
              jonkeane Jonathan Keane
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 2h 20m
                  2h 20m