Sutou Kouhei created ARROW-5765:
-----------------------------------

             Summary: [C++] TestDictionary.Validate test is crashed with 
release build
                 Key: ARROW-5765
                 URL: https://issues.apache.org/jira/browse/ARROW-5765
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: Sutou Kouhei
             Fix For: 0.14.0


Here is a backtrace:

{noformat}
(gdb) bt
#0  0x00007ffff76b3bba in 
arrow::DictionaryArray::DictionaryArray(std::shared_ptr<arrow::DataType> 
const&, std::shared_ptr<arrow::Array> const&, std::shared_ptr<arrow::Array> 
const&) ()
   from /home/kou/work/cpp/arrow.kou/cpp/build/release/libarrow.so.14
#1  0x00005555557ba6c3 in arrow::TestDictionary_Validate_Test::TestBody() ()
#2  0x00007ffff7fa725a in void 
testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, 
void>(testing::Test*, void (testing::Test::*)(), char const*) ()
   from /home/kou/work/cpp/arrow.kou/cpp/build/release/libarrow_testing.so.14
#3  0x00007ffff7f9db5a in testing::Test::Run() ()
   from /home/kou/work/cpp/arrow.kou/cpp/build/release/libarrow_testing.so.14
#4  0x00007ffff7f9dca8 in testing::TestInfo::Run() ()
   from /home/kou/work/cpp/arrow.kou/cpp/build/release/libarrow_testing.so.14
#5  0x00007ffff7f9dd85 in testing::TestCase::Run() ()
   from /home/kou/work/cpp/arrow.kou/cpp/build/release/libarrow_testing.so.14
#6  0x00007ffff7f9e29c in testing::internal::UnitTestImpl::RunAllTests() ()
   from /home/kou/work/cpp/arrow.kou/cpp/build/release/libarrow_testing.so.14
#7  0x00007ffff7fa776a in bool 
testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
 bool>(testing::internal::UnitTestImpl*, bool 
(testing::internal::UnitTestImpl::*)(), char const*) ()
   from /home/kou/work/cpp/arrow.kou/cpp/build/release/libarrow_testing.so.14
#8  0x00007ffff7f9e3cc in testing::UnitTest::Run() ()
   from /home/kou/work/cpp/arrow.kou/cpp/build/release/libarrow_testing.so.14
#9  0x000055555568eb90 in main ()
{noformat}

It's not occurred with debug build.

Here are CMake options I used:

{noformat}
rm -rf build
mkdir -p build
cd build
CUDA_TOOLKIT_ROOT=/usr \
  cmake .. \
  -G Ninja \
  -DCMAKE_INSTALL_PREFIX=/tmp/local \
  -DCMAKE_BUILD_TYPE=release \
  -DARROW_PYTHON=on \
  -DPythonInterp_FIND_VERSION=on \
  -DPythonInterp_FIND_VERSION_MAJOR=3 \
  -DARROW_PLASMA=on \
  -DARROW_CUDA=on \
  -DARROW_EXTRA_ERROR_CONTEXT=on \
  -DARROW_ORC=on \
  -DARROW_PARQUET=on \
  -DARROW_GANDIVA=on \
  -DARROW_BUILD_TESTS=on \
  -DARROW_FLIGHT=on
{noformat}



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

Reply via email to