Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-5765

[C++] TestDictionary.Validate test is crashed with release build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.14.0
    • C++

    Description

      Here is a backtrace:

      (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 ()
      

      It's not occurred with debug build.

      Here are CMake options I used:

      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
      

      Attachments

        Issue Links

          Activity

            People

              wesm Wes McKinney
              kou Kouhei Sutou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h