[ 
https://issues.apache.org/jira/browse/ARROW-14301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17427824#comment-17427824
 ] 

Antoine Pitrou commented on ARROW-14301:
----------------------------------------

Here is the gdb backtrace. It looks like some possible bug in {{absl::any}} 
(the crash is in the default constructor for {{google::cloud::v1::Options}}).

{code}
#0  0x00007fc556b4a0dc in absl::lts_20210324::any::any (this=0x558c65a31360, 
other=...) at /build/cpp/absl_ep-install/include/absl/types/any.h:214
#1  0x00007fc556b57743 in std::pair<std::type_index const, 
absl::lts_20210324::any>::pair (this=0x558c65a31358) at 
/usr/include/c++/9/bits/stl_pair.h:303
#2  0x00007fc556b57791 in 
__gnu_cxx::new_allocator<std::__detail::_Hash_node<std::pair<std::type_index 
const, absl::lts_20210324::any>, false> >::construct<std::pair<std::type_index 
const, absl::lts_20210324::any>, std::pair<std::type_index const, 
absl::lts_20210324::any> const&> (this=0x7ffd223c6290, __p=0x558c65a31358)
    at /usr/include/c++/9/ext/new_allocator.h:147
#3  0x00007fc556b54ae0 in 
std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<std::type_index
 const, absl::lts_20210324::any>, false> > 
>::construct<std::pair<std::type_index const, absl::lts_20210324::any>, 
std::pair<std::type_index const, absl::lts_20210324::any> const&> (__a=..., 
__p=0x558c65a31358)
    at /usr/include/c++/9/bits/alloc_traits.h:484
#4  0x00007fc556b50db9 in 
std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<std::type_index
 const, absl::lts_20210324::any>, false> > 
>::_M_allocate_node<std::pair<std::type_index const, absl::lts_20210324::any> 
const&> (this=0x7ffd223c6290) at /usr/include/c++/9/bits/hashtable_policy.h:2086
#5  0x00007fc556b4ce23 in std::_Hashtable<std::type_index, 
std::pair<std::type_index const, absl::lts_20210324::any>, 
std::allocator<std::pair<std::type_index const, absl::lts_20210324::any> >, 
std::__detail::_Select1st, std::equal_to<std::type_index>, 
std::hash<std::type_index>, std::__detail::_Mod_range_hashing, 
std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, 
std::__detail::_Hashtable_traits<false, false, true> 
>::_Hashtable(std::_Hashtable<std::type_index, std::pair<std::type_index const, 
absl::lts_20210324::any>, std::allocator<std::pair<std::type_index const, 
absl::lts_20210324::any> >, std::__detail::_Select1st, 
std::equal_to<std::type_index>, std::hash<std::type_index>, 
std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, 
std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, 
false, true> > 
const&)::{lambda(std::__detail::_Hash_node<std::pair<std::type_index const, 
absl::lts_20210324::any>, false> 
const*)#1}::operator()(std::__detail::_Hash_node<std::pair<std::type_index 
const, absl::lts_20210324::any>, false> const*) const (this=0x7ffd223c6290, 
__n=0x558c65a33440)
    at /usr/include/c++/9/bits/hashtable.h:1243
#6  0x00007fc556b50f24 in std::_Hashtable<std::type_index, 
std::pair<std::type_index const, absl::lts_20210324::any>, 
std::allocator<std::pair<std::type_index const, absl::lts_20210324::any> >, 
std::__detail::_Select1st, std::equal_to<std::type_index>, 
std::hash<std::type_index>, std::__detail::_Mod_range_hashing, 
std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, 
std::__detail::_Hashtable_traits<false, false, true> 
>::_M_assign<std::_Hashtable<std::type_index, std::pair<std::type_index const, 
absl::lts_20210324::any>, std::allocator<std::pair<std::type_index const, 
absl::lts_20210324::any> >, std::__detail::_Select1st, 
std::equal_to<std::type_index>, std::hash<std::type_index>, 
std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, 
std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, 
false, true> >::_M_assign(std::_Hashtable<std::type_index, 
std::pair<std::type_index const, absl::lts_20210324::any>, 
std::allocator<std::pair<std::type_index const, absl::lts_20210324::any> >, 
std::__detail::_Select1st, std::equal_to<std::type_index>, 
std::hash<std::type_index>, std::__detail::_Mod_range_hashing, 
std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, 
std::__detail::_Hashtable_traits<false, false, true> > 
const&)::{lambda(std::__detail::_Hash_node<std::pair<std::type_index const, 
absl::lts_20210324::any>, false> const*)#1}>(std::_Hashtable<std::type_index, 
std::pair<std::type_index const, absl::lts_20210324::any>, 
std::allocator<std::pair<std::type_index const, absl::lts_20210324::any> >, 
std::__detail::_Select1st, std::equal_to<std::type_index>, 
std::hash<std::type_index>, std::__detail::_Mod_range_hashing, 
std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, 
std::__detail::_Hashtable_traits<false, false, true> > const&, 
std::_Hashtable<std::type_index, std::pair<std::type_index const, 
absl::lts_20210324::any>, std::allocator<std::pair<std::type_index const, 
absl::lts_20210324::any> >, std::__detail::_Select1st, 
std::equal_to<std::type_index>, std::hash<std::type_index>, 
std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, 
std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, 
false, true> >::_M_assign(std::_Hashtable<std::type_index, 
std::pair<std::type_index const, absl::lts_20210324::any>, 
std::allocator<std::pair<std::type_index const, absl::lts_20210324::any> >, 
std::__detail::_Select1st, std::equal_to<std::type_index>, 
std::hash<std::type_index>, std::__detail::_Mod_range_hashing, 
std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, 
std::__detail::_Hashtable_traits<false, false, true> > 
const&)::{lambda(std::__detail::_Hash_node<std::pair<std::type_index const, 
absl::lts_20210324::any>, false> const*)#1} const&) (this=0x7ffd223c6290, 
    __ht=..., __node_gen=...) at /usr/include/c++/9/bits/hashtable.h:1136
#7  0x00007fc556b4cf09 in std::_Hashtable<std::type_index, 
std::pair<std::type_index const, absl::lts_20210324::any>, 
std::allocator<std::pair<std::type_index const, absl::lts_20210324::any> >, 
std::__detail::_Select1st, std::equal_to<std::type_index>, 
std::hash<std::type_index>, std::__detail::_Mod_range_hashing, 
std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, 
std::__detail::_Hashtable_traits<false, false, true> >::_Hashtable 
(this=0x7ffd223c6290, __ht=...)
    at /usr/include/c++/9/bits/hashtable.h:1241
#8  0x00007fc556b4b00f in std::unordered_map<std::type_index, 
absl::lts_20210324::any, std::hash<std::type_index>, 
std::equal_to<std::type_index>, std::allocator<std::pair<std::type_index const, 
absl::lts_20210324::any> > >::unordered_map (this=0x7ffd223c6290) at 
/usr/include/c++/9/bits/unordered_map.h:181
#9  0x00007fc556b4b039 in google::cloud::v1::Options::Options 
(this=0x7ffd223c6290)
    at 
/build/cpp/google_cloud_cpp_ep-prefix/src/google_cloud_cpp_ep/google/cloud/options.h:90
#10 0x00007fc556b6018a in google::cloud::storage::v1::internal::DefaultOptions 
(credentials=
    std::shared_ptr<google::cloud::storage::v1::oauth2::Credentials> (empty) = 
{...}, opts=...)
    at 
/build/cpp/google_cloud_cpp_ep-prefix/src/google_cloud_cpp_ep/google/cloud/storage/client_options.cc:183
#11 0x00007fc556b61039 in 
google::cloud::storage::v1::internal::DefaultOptionsWithCredentials (opts=...)
    at 
/build/cpp/google_cloud_cpp_ep-prefix/src/google_cloud_cpp_ep/google/cloud/storage/client_options.cc:231
#12 0x00007fc556b44490 in google::cloud::storage::v1::Client::Client 
(this=0x558c65a196c0, opts=...)
    at 
/build/cpp/google_cloud_cpp_ep-prefix/src/google_cloud_cpp_ep/google/cloud/storage/client.cc:41
#13 0x00007fc556683d9b in arrow::fs::GcsFileSystem::Impl::Impl 
(this=0x558c65a19680, o=...) at /arrow/cpp/src/arrow/filesystem/gcsfs.cc:46
#14 0x00007fc5566865e7 in 
__gnu_cxx::new_allocator<arrow::fs::GcsFileSystem::Impl>::construct<arrow::fs::GcsFileSystem::Impl,
 arrow::fs::GcsOptions const&> (
    this=0x7ffd223c64ef, __p=0x558c65a19680) at 
/usr/include/c++/9/ext/new_allocator.h:147
#15 0x00007fc556686296 in 
std::allocator_traits<std::allocator<arrow::fs::GcsFileSystem::Impl> 
>::construct<arrow::fs::GcsFileSystem::Impl, arrow::fs::GcsOptions const&> 
(__a=..., __p=0x558c65a19680) at /usr/include/c++/9/bits/alloc_traits.h:484
#16 0x00007fc556685f0c in 
std::_Sp_counted_ptr_inplace<arrow::fs::GcsFileSystem::Impl, 
std::allocator<arrow::fs::GcsFileSystem::Impl>, 
(__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<arrow::fs::GcsOptions 
const&> (this=0x558c65a19670, __a=...) at 
/usr/include/c++/9/bits/shared_ptr_base.h:548
#17 0x00007fc5566857a4 in 
std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<arrow::fs::GcsFileSystem::Impl,
 std::allocator<arrow::fs::GcsFileSystem::Impl>, arrow::fs::GcsOptions const&> 
(this=0x558c65a19660, __p=@0x558c65a19658: 0x0, __a=...) at 
/usr/include/c++/9/bits/shared_ptr_base.h:679
#18 0x00007fc556684ff0 in std::__shared_ptr<arrow::fs::GcsFileSystem::Impl, 
(__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<arrow::fs::GcsFileSystem::Impl>,
 arrow::fs::GcsOptions const&> (this=0x558c65a19658, __tag=...) at 
/usr/include/c++/9/bits/shared_ptr_base.h:1344
#19 0x00007fc556684753 in 
std::shared_ptr<arrow::fs::GcsFileSystem::Impl>::shared_ptr<std::allocator<arrow::fs::GcsFileSystem::Impl>,
 arrow::fs::GcsOptions const&> (
    this=0x558c65a19658, __tag=...) at /usr/include/c++/9/bits/shared_ptr.h:359
#20 0x00007fc556684367 in std::allocate_shared<arrow::fs::GcsFileSystem::Impl, 
std::allocator<arrow::fs::GcsFileSystem::Impl>, arrow::fs::GcsOptions const&> 
(__a=...)
    at /usr/include/c++/9/bits/shared_ptr.h:702
#21 0x00007fc55668406d in std::make_shared<arrow::fs::GcsFileSystem::Impl, 
arrow::fs::GcsOptions const&> () at /usr/include/c++/9/bits/shared_ptr.h:718
#22 0x00007fc556683770 in arrow::fs::GcsFileSystem::GcsFileSystem 
(this=0x558c65a19610, options=..., context=...) at 
/arrow/cpp/src/arrow/filesystem/gcsfs.cc:139
#23 0x00007fc5566837e8 in arrow::fs::internal::MakeGcsFileSystemForTest 
(options=...) at /arrow/cpp/src/arrow/filesystem/gcsfs.cc:146
#24 0x0000558c64223eaa in arrow::fs::(anonymous 
namespace)::GcsFileSystem_FileSystemCompare_Test::TestBody 
(this=0x558c659d76e0) at /arrow/cpp/src/arrow/filesystem/gcsfs_test.cc:49
#25 0x00007fc553ee0634 in 
testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void> 
(object=0x558c659d76e0, method=&virtual testing::Test::TestBody(), 
location=0x7fc553ef757b "the test body") at 
/build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:2607
#26 0x00007fc553ed832b in 
testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void> 
(object=0x558c659d76e0, method=&virtual testing::Test::TestBody(), 
location=0x7fc553ef757b "the test body") at 
/build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:2643
#27 0x00007fc553eac5ec in testing::Test::Run (this=0x558c659d76e0) at 
/build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:2682
#28 0x00007fc553ead02e in testing::TestInfo::Run (this=0x558c65a18d30) at 
/build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:2861
#29 0x00007fc553ead948 in testing::TestSuite::Run (this=0x558c65a18c20) at 
/build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:3015
#30 0x00007fc553ebd3f6 in testing::internal::UnitTestImpl::RunAllTests 
(this=0x558c65a18980) at 
/build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:5855
#31 0x00007fc553ee1b62 in 
testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
 bool> (object=0x558c65a18980, method=(bool 
(testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 
0x7fc553ebcfc2 <testing::internal::UnitTestImpl::RunAllTests()>, 
location=0x7fc553ef8068 "auxiliary test code (environments or event 
listeners)") at 
/build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:2607
#32 0x00007fc553ed9569 in 
testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
 bool> (object=0x558c65a18980, method=(bool 
(testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 
0x7fc553ebcfc2 <testing::internal::UnitTestImpl::RunAllTests()>, 
location=0x7fc553ef8068 "auxiliary test code (environments or event 
listeners)") at 
/build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:2643
#33 0x00007fc553ebbb0d in testing::UnitTest::Run (this=0x7fc553f25ba0 
<testing::UnitTest::GetInstance()::instance>) at 
/build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:5438
#34 0x00007fc553f2729a in RUN_ALL_TESTS () at 
/build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/include/gtest/gtest.h:2490
#35 0x00007fc553f2721c in main (argc=1, argv=0x7ffd223c6cf8) at 
/build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest_main.cc:52
#36 0x00007fc553a410b3 in __libc_start_main () from 
/lib/x86_64-linux-gnu/libc.so.6
#37 0x0000558c642237ce in _start ()
{code}


> [C++][CI] "test-ubuntu-20.04-cpp-17" nightly build crash in GCSFS test
> ----------------------------------------------------------------------
>
>                 Key: ARROW-14301
>                 URL: https://issues.apache.org/jira/browse/ARROW-14301
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Continuous Integration
>            Reporter: Antoine Pitrou
>            Priority: Major
>             Fix For: 6.0.0
>
>
> See https://github.com/ursacomputing/crossbow/runs/3866932533



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to