Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
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'
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'
Attachments
Issue Links
- links to