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

Antoine Pitrou commented on ARROW-11904:
----------------------------------------

Here is the distilled traceback. In short, the Buffer destructor is called at 
process teardown:
{code}
#0  0x00007f0098cf0fb7 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f0098cf2921 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f0099904957 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007f009990aae6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007f009990ab21 in std::terminate() () from 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007f009990b8ff in __cxa_pure_virtual () from 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x000055e0bb3edfb4 in arrow::PoolBuffer::~PoolBuffer (this=0x55e0bdc79350, 
__in_chrg=<optimized out>) at /arrow/cpp/src/arrow/buffer.cc:185
#7  0x000055e0bb3edfdc in arrow::PoolBuffer::~PoolBuffer (this=0x55e0bdc79350, 
__in_chrg=<optimized out>) at /arrow/cpp/src/arrow/buffer.cc:187
[...]
#32 0x000055e0bb45808c in arrow::SimpleRecordBatch::~SimpleRecordBatch 
(this=0x55e0bdc79aa0, __in_chrg=<optimized out>) at 
/arrow/cpp/src/arrow/record_batch.cc:55
[...]
#40 0x000055e0bb28a7d2 in arrow::csv::TestParams::~TestParams 
(this=0x55e0bdc7a808, __in_chrg=<optimized out>) at 
/arrow/cpp/src/arrow/csv/writer_test.cc:35
#41 0x000055e0bb2930c6 in 
testing::internal::ParameterizedTestFactory<arrow::csv::TestWriteCSV_TestWrite_Test>::~ParameterizedTestFactory
 (this=0x55e0bdc7a800, 
    __in_chrg=<optimized out>) at 
googletest_ep-prefix/include/gtest/internal/gtest-param-util.h:392
#42 0x000055e0bb2930ee in 
testing::internal::ParameterizedTestFactory<arrow::csv::TestWriteCSV_TestWrite_Test>::~ParameterizedTestFactory
 (this=0x55e0bdc7a800, 
    __in_chrg=<optimized out>) at 
googletest_ep-prefix/include/gtest/internal/gtest-param-util.h:392
[...]
#54 0x00007f0099e95746 in testing::UnitTest::~UnitTest (this=0x7f009a0ef220 
<testing::UnitTest::GetInstance()::instance>, __in_chrg=<optimized out>)
    at 
/build/cpp/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:4979
#55 0x00007f0098cf5161 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#56 0x00007f0098cf525a in exit () from /lib/x86_64-linux-gnu/libc.so.6
#57 0x00007f0098cd3bfe in __libc_start_main () from 
/lib/x86_64-linux-gnu/libc.so.6
#58 0x000055e0bb19d7aa in _start ()
{code}


> [C++] "pure virtual method called" crash at the end of arrow-csv-test
> ---------------------------------------------------------------------
>
>                 Key: ARROW-11904
>                 URL: https://issues.apache.org/jira/browse/ARROW-11904
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Antoine Pitrou
>            Priority: Blocker
>             Fix For: 4.0.0
>
>
> Originally found by [~kszucs], reproducible using:
> {code}
> $ archery docker run -e ARROW_BUILD_STATIC=on -e ARROW_BUILD_SHARED=off -e 
> ARROW_TEST_LINKAGE=static -e UBUNTU=18.04 ubuntu-cpp
> {code}



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

Reply via email to