ryanbagwell commented on issue #153: URL: https://github.com/apache/pulsar-client-python/issues/153#issuecomment-1743086792
@gromsterus Many thanks for the investigation and suggested workarounds. Just wanted to mention the following in case it's helpful: - this appears to be an issue starting in Python 3.9 - here's a piece from one of the uwsgi core dump files that might be helpful: ``` Thread 2 (Thread 0x7f479172e7c0 (LWP 55)): #0 0x00007f4793a040c9 in _int_free (av=0x7f4793b40c60 <main_arena>, p=<optimized out>, have_lock=<optimized out>, have_lock@entry=0) at ./malloc/malloc.c:4698 #1 0x00007f4793a06d9f in __GI___libc_free (mem=<optimized out>) at ./malloc/malloc.c:3385 #2 0x00007f477dd7d869 in ?? () from /lib/x86_64-linux-gnu/libgdal.so.32 #3 0x00007f477dd816ab in std::map<char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<char>, std::allocator<std::pair<char const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::~map() () from /lib/x86_64-linux-gnu/libgdal.so.32 #4 0x00007f47939ac4dd in __run_exit_handlers (status=1, listp=0x7f4793b40820 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at ./stdlib/exit.c:116 #5 0x00007f47939ac61a in __GI_exit (status=<optimized out>) at ./stdlib/exit.c:146 #6 0x0000561a24866f6f in uwsgi_exit () #7 0x0000561a248b10b2 in uwsgi_segfault () #8 <signal handler called> #9 0x0000561a289e5730 in ?? () #10 0x00007f478ed8c87d in pulsar::ProducerImpl::~ProducerImpl() () from /usr/local/lib/python3.11/site-packages/pulsar_client.libs/libpulsar-2dce0d9f.so #11 0x00007f478f625752 in pybind11::class_<pulsar::Producer>::dealloc(pybind11::detail::value_and_holder&) () from /usr/local/lib/python3.11/site-packages/_pulsar.cpython-311-x86_64-linux-gnu.so #12 0x00007f478f5c999e in pybind11::detail::clear_instance(_object*) () from /usr/local/lib/python3.11/site-packages/_pulsar.cpython-311-x86_64-linux-gnu.so #13 0x00007f478f5ca5ef in pybind11_object_dealloc () from /usr/local/lib/python3.11/site-packages/_pulsar.cpython-311-x86_64-linux-gnu.so #14 0x00007f4793d77f8a in _PyType_SUPPORTS_WEAKREFS (type=0x561a280e3bc0) at ./Include/internal/pycore_object.h:242 #15 PyObject_ClearWeakRefs (object=0x561a28244760) at Objects/weakrefobject.c:948 #16 0x00007f479400ad00 in _Py_TrueStruct () from /usr/local/lib/libpython3.11.so.1.0 #17 0x0000000000000000 in ?? () ``` -- 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]
