Antoine Pitrou created ARROW-3091:
-------------------------------------

             Summary: [C++] Segfault in io-hdfs-test
                 Key: ARROW-3091
                 URL: https://issues.apache.org/jira/browse/ARROW-3091
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
    Affects Versions: 0.10.0
            Reporter: Antoine Pitrou


I've upgraded to Ubuntu 18.04.1 and now I get segfaults in io-hdfs-test:

{code}
(gdb) run
Starting program: /home/antoine/arrow/cpp/build-test/debug/io-hdfs-test 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Running main() from gtest_main.cc
[==========] Running 24 tests from 2 test cases.
[----------] Global test environment set-up.
[----------] 12 tests from TestHadoopFileSystem/0, where TypeParam = 
arrow::io::JNIDriver
[ RUN      ] TestHadoopFileSystem/0.ConnectsAgain

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff75a15ae in boost::filesystem::path::m_append_separator_if_needed() ()
   from /home/antoine/miniconda3/envs/pyarrow/lib/libboost_filesystem.so.1.67.0
(gdb) bt
#0  0x00007ffff75a15ae in 
boost::filesystem::path::m_append_separator_if_needed() ()
   from /home/antoine/miniconda3/envs/pyarrow/lib/libboost_filesystem.so.1.67.0
#1  0x00007ffff75a2917 in 
boost::filesystem::path::operator/=(boost::filesystem::path const&) ()
   from /home/antoine/miniconda3/envs/pyarrow/lib/libboost_filesystem.so.1.67.0
#2  0x0000000000549647 in boost::filesystem::operator/ (lhs=..., rhs=...)
    at 
/home/antoine/miniconda3/envs/pyarrow/include/boost/filesystem/path.hpp:792
#3  0x0000000000547b2d in 
arrow::io::TestHadoopFileSystem<arrow::io::JNIDriver>::SetUp (this=0x7143c0) at 
../src/arrow/io/io-hdfs-test.cc:98
#4  0x000000000065e98e in 
testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void> 
(object=0x7143c0, 
    method=&virtual testing::Test::SetUp(), location=0x66a48a "SetUp()")
    at 
/home/antoine/arrow/cpp/build-test/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:2402
#5  0x000000000064a7e5 in 
testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void> 
(object=0x7143c0, 
    method=&virtual testing::Test::SetUp(), location=0x66a48a "SetUp()")
    at 
/home/antoine/arrow/cpp/build-test/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:2438
#6  0x0000000000632a14 in testing::Test::Run (this=0x7143c0)
    at 
/home/antoine/arrow/cpp/build-test/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:2470
#7  0x00000000006336fd in testing::TestInfo::Run (this=0x710420)
    at 
/home/antoine/arrow/cpp/build-test/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:2656
#8  0x0000000000633dbc in testing::TestCase::Run (this=0x7108f0)
    at 
/home/antoine/arrow/cpp/build-test/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:2774
#9  0x000000000063b331 in testing::internal::UnitTestImpl::RunAllTests 
(this=0x710590)
    at 
/home/antoine/arrow/cpp/build-test/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:4649
#10 0x000000000066208e in 
testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
 bool> (object=0x710590, 
    method=(bool 
(testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 
0x63b050 <testing::internal::UnitTestImpl::RunAllTests()>, location=0x66ac25 
"auxiliary test code (environments or event listeners)")
    at 
/home/antoine/arrow/cpp/build-test/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:2402
#11 0x000000000064c945 in 
testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
 bool> (object=0x710590, 
    method=(bool 
(testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 
0x63b050 <testing::internal::UnitTestImpl::RunAllTests()>, location=0x66ac25 
"auxiliary test code (environments or event listeners)")
    at 
/home/antoine/arrow/cpp/build-test/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:2438
#12 0x000000000063b003 in testing::UnitTest::Run (this=0x6fcd48 
<testing::UnitTest::GetInstance()::instance>)
    at 
/home/antoine/arrow/cpp/build-test/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest.cc:4257
#13 0x0000000000666481 in RUN_ALL_TESTS ()
    at 
/home/antoine/arrow/cpp/build-test/googletest_ep-prefix/src/googletest_ep/googletest/include/gtest/gtest.h:2233
#14 0x000000000066644c in main (argc=1, argv=0x7fffffffd878)
    at 
/home/antoine/arrow/cpp/build-test/googletest_ep-prefix/src/googletest_ep/googletest/src/gtest_main.cc:37
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to