pitrou commented on issue #38626:
URL: https://github.com/apache/arrow/issues/38626#issuecomment-1802076050

   Ok, here is the full backtrace:
   ```
   #0  0x0000555555724ded in new_threadstate (interp=0x0, init=init@entry=1) at 
/usr/local/src/conda/python-3.10.12/Python/pystate.c:624
   #1  0x00005555555fc6d2 in PyThreadState_New (interp=<optimized out>) at 
/usr/local/src/conda/python-3.10.12/Python/pystate.c:692
   #2  PyGILState_Ensure () at 
/usr/local/src/conda/python-3.10.12/Python/pystate.c:1512
   #3  0x00007ffff66fa064 in arrow::py::PyAcquireGIL::acquire 
(this=0x7fffffffbaf0) at 
/home/antoine/arrow/dev/python/pyarrow/src/arrow/python/common.h:115
   #4  0x00007ffff66fa025 in arrow::py::PyAcquireGIL::PyAcquireGIL 
(this=0x7fffffffbaf0) at 
/home/antoine/arrow/dev/python/pyarrow/src/arrow/python/common.h:109
   #5  0x00007ffff66fa1e5 in arrow::py::OwnedRefNoGIL::~OwnedRefNoGIL 
(this=0x555555d905f8, __in_chrg=<optimized out>)
       at /home/antoine/arrow/dev/python/pyarrow/src/arrow/python/common.h:233
   #6  0x00007ffff67b1c8b in arrow::py::PyExtensionType::~PyExtensionType 
(this=0x555555d90580, __in_chrg=<optimized out>)
       at 
/home/antoine/arrow/dev/python/pyarrow/src/arrow/python/extension_type.h:31
   #7  0x00007ffff67b1cc4 in arrow::py::PyExtensionType::~PyExtensionType 
(this=0x555555d90580, __in_chrg=<optimized out>)
       at 
/home/antoine/arrow/dev/python/pyarrow/src/arrow/python/extension_type.h:31
   #8  0x00007ffff67b23c8 in std::_Sp_counted_ptr<arrow::py::PyExtensionType*, 
(__gnu_cxx::_Lock_policy)2>::_M_dispose (this=0x555555e3c8c0)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/shared_ptr_base.h:428
   #9  0x00007ffff3a5f76b in 
std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release_last_use 
(this=0x555555e3c8c0)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/shared_ptr_base.h:175
   #10 0x00007ffff3a5bfe0 in 
std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release_last_use_cold 
(this=0x555555e3c8c0)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/shared_ptr_base.h:199
   #11 0x00007ffff3a57327 in 
std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release 
(this=0x555555e3c8c0)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/shared_ptr_base.h:353
   #12 0x00007ffff3a5c291 in 
std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count 
(this=0x555555e489d0, __in_chrg=<optimized out>)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/shared_ptr_base.h:1071
   #13 0x00007ffff3e1e746 in std::__shared_ptr<arrow::ExtensionType, 
(__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=0x555555e489c8, 
__in_chrg=<optimized out>)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/shared_ptr_base.h:1524
   #14 0x00007ffff3e1e762 in std::shared_ptr<arrow::ExtensionType>::~shared_ptr 
(this=0x555555e489c8, __in_chrg=<optimized out>)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/shared_ptr.h:175
   #15 0x00007ffff3e21b96 in std::pair<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const, 
std::shared_ptr<arrow::ExtensionType> >::~pair (this=0x555555e489a8, 
__in_chrg=<optimized out>) at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/stl_pair.h:185
   #16 0x00007ffff3e21bc2 in 
std::__new_allocator<std::__detail::_Hash_node<std::pair<std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const, 
std::shared_ptr<arrow::ExtensionType> >, true> 
>::destroy<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const, std::shared_ptr<arrow::ExtensionType> > > 
(this=0x555555bdf390, __p=0x555555e489a8)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/new_allocator.h:181
   #17 0x00007ffff3e21453 in 
std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const, 
std::shared_ptr<arrow::ExtensionType> >, true> > 
>::destroy<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const, std::shared_ptr<arrow::ExtensionType> > > 
(__a=..., __p=0x555555e489a8)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/alloc_traits.h:535
   #18 0x00007ffff3e208dd in 
std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const, 
std::shared_ptr<arrow::ExtensionType> >, true> > >::_M_deallocate_node 
(this=0x555555bdf390, __n=0x555555e489a0)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/hashtable_policy.h:1984
   #19 0x00007ffff3e1ff70 in 
std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const, 
std::shared_ptr<arrow::ExtensionType> >, true> > >::_M_deallocate_nodes 
(this=0x555555bdf390, __n=0x555555e44120)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/hashtable_policy.h:2006
   #20 0x00007ffff3e1f67b in std::_Hashtable<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >, 
std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const, std::shared_ptr<arrow::ExtensionType> >, 
std::allocator<std::pair<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const, 
std::shared_ptr<arrow::ExtensionType> > >, std::__detail::_Select1st, 
std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > >, std::hash<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >, 
std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, 
std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, 
false, true> >::clear (
       this=0x555555bdf390) at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/hashtable.h:2500
   #21 0x00007ffff3e1f145 in std::_Hashtable<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >, 
std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const, std::shared_ptr<arrow::ExtensionType> >, 
std::allocator<std::pair<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const, 
std::shared_ptr<arrow::ExtensionType> > >, std::__detail::_Select1st, 
std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > >, std::hash<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >, 
std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, 
std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, 
false, true> >::~_Hashtable (
       this=0x555555bdf390, __in_chrg=<optimized out>) at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/hashtable.h:1584
   #22 0x00007ffff3e1e45f in 
std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, std::shared_ptr<arrow::ExtensionType>, 
std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >, 
std::allocator<std::pair<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const, 
std::shared_ptr<arrow::ExtensionType> > > >::~unordered_map 
(this=0x555555bdf390, __in_chrg=<optimized out>)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/unordered_map.h:102
   #23 0x00007ffff3e2237a in 
arrow::ExtensionTypeRegistryImpl::~ExtensionTypeRegistryImpl 
(this=0x555555bdf360, __in_chrg=<optimized out>)
       at /home/antoine/arrow/dev/cpp/src/arrow/extension_type.cc:97
   #24 0x00007ffff3e22648 in std::_Destroy<arrow::ExtensionTypeRegistryImpl> 
(__pointer=0x555555bdf360)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/stl_construct.h:151
   #25 0x00007ffff3e22626 in std::allocator_traits<std::allocator<void> 
>::destroy<arrow::ExtensionTypeRegistryImpl> (__p=0x555555bdf360)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/alloc_traits.h:648
   #26 0x00007ffff3e224f5 in 
std::_Sp_counted_ptr_inplace<arrow::ExtensionTypeRegistryImpl, 
std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_M_dispose (
       this=0x555555bdf350) at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/shared_ptr_base.h:613
   #27 0x00007ffff3a5728b in 
std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release 
(this=0x555555bdf350)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/shared_ptr_base.h:346
   #28 0x00007ffff3a5c291 in 
std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count 
(this=0x7ffff63f7d98 <arrow::g_registry+8>, __in_chrg=<optimized out>)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/shared_ptr_base.h:1071
   #29 0x00007ffff3e1e8e0 in std::__shared_ptr<arrow::ExtensionTypeRegistry, 
(__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=0x7ffff63f7d90 
<arrow::g_registry>, 
       __in_chrg=<optimized out>) at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/shared_ptr_base.h:1524
   #30 0x00007ffff3e1ed76 in 
std::shared_ptr<arrow::ExtensionTypeRegistry>::~shared_ptr (this=0x7ffff63f7d90 
<arrow::g_registry>, __in_chrg=<optimized out>)
       at 
/home/antoine/mambaforge/envs/pyarrow/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/shared_ptr.h:175
   #31 0x00007ffff7cb5495 in __run_exit_handlers (status=0, 
listp=0x7ffff7e89838 <__exit_funcs>, 
run_list_atexit=run_list_atexit@entry=true, 
       run_dtors=run_dtors@entry=true) at ./stdlib/exit.c:113
   #32 0x00007ffff7cb5610 in __GI_exit (status=<optimized out>) at 
./stdlib/exit.c:143
   #33 0x00007ffff7c99d97 in __libc_start_call_main 
(main=main@entry=0x55555571f4e0 <main>, argc=argc@entry=3, 
argv=argv@entry=0x7fffffffc0b8)
       at ../sysdeps/nptl/libc_start_call_main.h:74
   #34 0x00007ffff7c99e40 in __libc_start_main_impl (main=0x55555571f4e0 
<main>, argc=3, argv=0x7fffffffc0b8, init=<optimized out>, fini=<optimized 
out>, 
       rtld_fini=<optimized out>, stack_end=0x7fffffffc0a8) at 
../csu/libc-start.c:392
   #35 0x000055555571f421 in _start ()
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to