@wesm FYI. The last commit is the test code trying to add the glog lib but disable it in code. There is only a call to `InitGoogleLogging` from `StartArrowLog` to get glog linked, but it is never called from cython code. However, the crash still exists...
I managed to repro the core dump. The information is not enough because it crashed at an early stage. It looks like one std::string was released twice. ``` [root@479af1cb9e78 arrow]# python -c "import pyarrow.parquet;import pyarrow.plasma;import pyarrow.orc;" *** glibc detected *** python: double free or corruption (fasttop): 0x00000000022d8f40 *** ======= Backtrace: ========= /lib64/libc.so.6[0x7f67fa6474af] /lib64/libc.so.6(cfree+0x4b)[0x7f67fa64b7ab] /usr/lib64/libstdc++.so.6(_ZNSsD1Ev+0x3a)[0x7f67e6ccbbca] /lib64/libc.so.6(exit+0xe5)[0x7f67fa609255] /lib64/libc.so.6(__libc_start_main+0xfb)[0x7f67fa5f39fb] python[0x400999] ======= Memory map: ======== ... ``` Suspicious core dump info which is similar to the call stack: ``` Thread 1 (Thread 0x7f0d0d9cf6e0 (LWP 86948)): #0 0x00007f0d0c4f0fc5 in raise () from /lib64/libc.so.6 No symbol table info available. #1 0x00007f0d0c4f2a70 in abort () from /lib64/libc.so.6 No symbol table info available. #2 0x00007f0d0c52a94b in __libc_message () from /lib64/libc.so.6 No symbol table info available. #3 0x00007f0d0c5324af in _int_free () from /lib64/libc.so.6 No symbol table info available. #4 0x00007f0d0c5367ab in free () from /lib64/libc.so.6 No symbol table info available. #5 0x00007f0cf8bb6bca in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() () from /usr/lib64/libstdc++.so.6 No symbol table info available. #6 0x00007f0d0c4f4255 in exit () from /lib64/libc.so.6 No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #7 0x00007f0d0c4de9fb in __libc_start_main () from /lib64/libc.so.6 No symbol table info available. #8 0x0000000000400999 in _start () No symbol table info available. ``` [ Full content available at: https://github.com/apache/arrow/pull/2522 ] This message was relayed via gitbox.apache.org for [email protected]
