Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
None
-
None
-
None
Description
We're seeing a sanitizer error in the test for as_datetime()
Start test: `as_datetime()` /usr/include/c++/10/ext/new_allocator.h:150:4: runtime error: load of value 2084644819, which is not a valid value for type 'Ambiguous' #0 0x7fe940f2ee78 in void __gnu_cxx::new_allocator<arrow::compute::AssumeTimezoneOptions>::construct<arrow::compute::AssumeTimezoneOptions, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, arrow::compute::AssumeTimezoneOptions::Ambiguous&, arrow::compute::AssumeTimezoneOptions::Nonexistent&>(arrow::compute::AssumeTimezoneOptions*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, arrow::compute::AssumeTimezoneOptions::Ambiguous&, arrow::compute::AssumeTimezoneOptions::Nonexistent&) /usr/include/c++/10/ext/new_allocator.h:150 #1 0x7fe940f281be in void std::allocator_traits<std::allocator<arrow::compute::AssumeTimezoneOptions> >::construct<arrow::compute::AssumeTimezoneOptions, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, arrow::compute::AssumeTimezoneOptions::Ambiguous&, arrow::compute::AssumeTimezoneOptions::Nonexistent&>(std::allocator<arrow::compute::AssumeTimezoneOptions>&, arrow::compute::AssumeTimezoneOptions*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, arrow::compute::AssumeTimezoneOptions::Ambiguous&, arrow::compute::AssumeTimezoneOptions::Nonexistent&) /usr/include/c++/10/bits/alloc_traits.h:512 #2 0x7fe940f1a98f in std::_Sp_counted_ptr_inplace<arrow::compute::AssumeTimezoneOptions, std::allocator<arrow::compute::AssumeTimezoneOptions>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, arrow::compute::AssumeTimezoneOptions::Ambiguous&, arrow::compute::AssumeTimezoneOptions::Nonexistent&>(std::allocator<arrow::compute::AssumeTimezoneOptions>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, arrow::compute::AssumeTimezoneOptions::Ambiguous&, arrow::compute::AssumeTimezoneOptions::Nonexistent&) /usr/include/c++/10/bits/shared_ptr_base.h:551 #3 0x7fe940f07418 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<arrow::compute::AssumeTimezoneOptions, std::allocator<arrow::compute::AssumeTimezoneOptions>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, arrow::compute::AssumeTimezoneOptions::Ambiguous&, arrow::compute::AssumeTimezoneOptions::Nonexistent&>(arrow::compute::AssumeTimezoneOptions*&, std::_Sp_alloc_shared_tag<std::allocator<arrow::compute::AssumeTimezoneOptions> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, arrow::compute::AssumeTimezoneOptions::Ambiguous&, arrow::compute::AssumeTimezoneOptions::Nonexistent&) /usr/include/c++/10/bits/shared_ptr_base.h:682 #4 0x7fe940efb43d in std::__shared_ptr<arrow::compute::AssumeTimezoneOptions, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<arrow::compute::AssumeTimezoneOptions>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, arrow::compute::AssumeTimezoneOptions::Ambiguous&, arrow::compute::AssumeTimezoneOptions::Nonexistent&>(std::_Sp_alloc_shared_tag<std::allocator<arrow::compute::AssumeTimezoneOptions> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, arrow::compute::AssumeTimezoneOptions::Ambiguous&, arrow::compute::AssumeTimezoneOptions::Nonexistent&) /usr/include/c++/10/bits/shared_ptr_base.h:1371 #5 0x7fe940ef3259 in std::shared_ptr<arrow::compute::AssumeTimezoneOptions>::shared_ptr<std::allocator<arrow::compute::AssumeTimezoneOptions>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, arrow::compute::AssumeTimezoneOptions::Ambiguous&, arrow::compute::AssumeTimezoneOptions::Nonexistent&>(std::_Sp_alloc_shared_tag<std::allocator<arrow::compute::AssumeTimezoneOptions> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, arrow::compute::AssumeTimezoneOptions::Ambiguous&, arrow::compute::AssumeTimezoneOptions::Nonexistent&) /usr/include/c++/10/bits/shared_ptr.h:408 #6 0x7fe940eeb2e9 in std::shared_ptr<arrow::compute::AssumeTimezoneOptions> std::allocate_shared<arrow::compute::AssumeTimezoneOptions, std::allocator<arrow::compute::AssumeTimezoneOptions>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, arrow::compute::AssumeTimezoneOptions::Ambiguous&, arrow::compute::AssumeTimezoneOptions::Nonexistent&>(std::allocator<arrow::compute::AssumeTimezoneOptions> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, arrow::compute::AssumeTimezoneOptions::Ambiguous&, arrow::compute::AssumeTimezoneOptions::Nonexistent&) (/usr/local/RDsan/lib/R/site-library/arrow/libs/arrow.so+0x1d5672e9) #7 0x7fe940edfe79 in std::shared_ptr<arrow::compute::AssumeTimezoneOptions> std::make_shared<arrow::compute::AssumeTimezoneOptions, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, arrow::compute::AssumeTimezoneOptions::Ambiguous&, arrow::compute::AssumeTimezoneOptions::Nonexistent&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, arrow::compute::AssumeTimezoneOptions::Ambiguous&, arrow::compute::AssumeTimezoneOptions::Nonexistent&) /usr/include/c++/10/bits/shared_ptr.h:876 #8 0x7fe940ec76fc in make_compute_options(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, cpp11::r_vector<SEXPREC*>) /tmp/RtmpimXBIq/R.INSTALL14ad3d70aebb/arrow/src/compute.cpp:406 #9 0x7fe940ff80ba in compute___expr__call(std::__cxx11::bas
Likely this is in C++ and was there before this PR was merged, but this is the first thing to test it.
Attachments
Issue Links
- is superceded by
-
ARROW-16313 [R] test-fedora-r-clang-sanitizer - uninitialized options for assume_timezone kernel
- Resolved