Re: C++ Segmentation Fault RecordBatchReader::ReadNext in CentOS only

2021-06-11 Thread Eduardo Ponce
RTTI symbol not found for class > > 'std::_Sp_counted_ptr_inplace > >> std::allocator, (__gnu_cxx::_Lock_policy)2>' > > >> warning: RTTI symbol not found for class > > >> 'std::_Sp_counted_ptr_inplace > std::allocator, > > >>

Re: C++ Segmentation Fault RecordBatchReader::ReadNext in CentOS only

2021-06-11 Thread Rares Vernica
ymbol not found for class > >> 'std::_Sp_counted_ptr_inplace std::allocator, > >> (__gnu_cxx::_Lock_policy)2>' > >> std::shared_ptr (count 7, weak 7) 0x7fae680022d0) at XIndex.cpp:284 > >> > >> The plug-in code (i.e., XIndex.cpp) is from here &

Re: C++ Segmentation Fault RecordBatchReader::ReadNext in CentOS only

2021-06-11 Thread Antoine Pitrou
ote: Hi, Could you try building Apache Arrow C++ with -DCMAKE_BUILD_TYPE=Debug and get backtrace again? It will show the source location on segmentation fault. Thanks, -- kou In "C++ Segmentation Fault RecordBatchReader::ReadNext in CentOS only" on Tue, 8 Jun 2021 12:01:27 -0700, Rares

Re: C++ Segmentation Fault RecordBatchReader::ReadNext in CentOS only

2021-06-11 Thread Wes McKinney
with the way > > > the pre-built binaries are generated... > > > > The pre-built binaries are the official RPM packages, right? > > > > They are built with the default gcc-g++ package not g++ from > > devtoolset-3. This may be related. Could you try building > >

Re: C++ Segmentation Fault RecordBatchReader::ReadNext in CentOS only

2021-06-10 Thread Rares Vernica
CMAKE_C_COMPILER=/opt/rh/devtoolset-3/root/usr/bin/gcc > > -DCMAKE_CXX_COMPILER=/opt/rh/devtoolset-3/root/usr/bin/g++ .. > > > > Thanks, > > Rares > > > > On Tue, Jun 8, 2021 at 5:37 PM Sutou Kouhei wrote: > > > >> Hi, > >> > >> Coul

Re: C++ Segmentation Fault RecordBatchReader::ReadNext in CentOS only

2021-06-09 Thread Sutou Kouhei
fault gcc-g++ package not g++ from devtoolset-3. This may be related. Could you try building your program with the default gcc-g++ package? Thanks, -- kou In "Re: C++ Segmentation Fault RecordBatchReader::ReadNext in CentOS only" on Wed, 9 Jun 2021 21:39:04 -0700, Rares Vernica

Re: C++ Segmentation Fault RecordBatchReader::ReadNext in CentOS only

2021-06-09 Thread Rares Vernica
rce location on segmentation fault. > > Thanks, > -- > kou > > In > "C++ Segmentation Fault RecordBatchReader::ReadNext in CentOS only" on > Tue, 8 Jun 2021 12:01:27 -0700, > Rares Vernica wrote: > > > Hello, > > > > We recently migrated our C+

Re: C++ Segmentation Fault RecordBatchReader::ReadNext in CentOS only

2021-06-08 Thread Sutou Kouhei
Hi, Could you try building Apache Arrow C++ with -DCMAKE_BUILD_TYPE=Debug and get backtrace again? It will show the source location on segmentation fault. Thanks, -- kou In "C++ Segmentation Fault RecordBatchReader::ReadNext in CentOS only" on Tue, 8 Jun 2021 12:01:27 -070

C++ Segmentation Fault RecordBatchReader::ReadNext in CentOS only

2021-06-08 Thread Rares Vernica
Hello, We recently migrated our C++ Arrow code from 0.16 to 3.0.0. The code works fine on Ubuntu, but we get a segmentation fault in CentOS while reading Arrow Record Batch files. We can successfully read the files from Python or Ubuntu so the files and the writer are fine. We use Record Batch St