pitrou commented on pull request #12537:
URL: https://github.com/apache/arrow/pull/12537#issuecomment-1077337983


   I get a sporadic crash when running the benchmarks:
   ```console
   $ ./build-release/relwithdebinfo/arrow-compute-tpch-benchmark 
   2022-03-24T08:53:30+01:00
   Running ./build-release/relwithdebinfo/arrow-compute-tpch-benchmark
   Run on (24 X 3800 MHz CPU s)
   CPU Caches:
     L1 Data 32 KiB (x12)
     L1 Instruction 32 KiB (x12)
     L2 Unified 512 KiB (x12)
     L3 Unified 16384 KiB (x4)
   Load Average: 7.97, 7.82, 4.27
   ***WARNING*** CPU scaling is enabled, the benchmark real time measurements 
may be noisy and will incur extra overhead.
   /home/antoine/arrow/dev/cpp/src/arrow/result.cc:28: ValueOrDie called on an 
error: Cancelled: Ignoring task added after the task group has been ended
   
/home/antoine/miniconda3/envs/pyarrow/lib/libarrow.so.800(+0x59505a)[0x7f2d0027605a]
   
/home/antoine/miniconda3/envs/pyarrow/lib/libarrow.so.800(+0x594ff8)[0x7f2d00275ff8]
   
/home/antoine/miniconda3/envs/pyarrow/lib/libarrow.so.800(+0x595019)[0x7f2d00276019]
   
/home/antoine/miniconda3/envs/pyarrow/lib/libarrow.so.800(_ZN5arrow4util8ArrowLogD1Ev+0x21)[0x7f2d00275f31]
   
/home/antoine/miniconda3/envs/pyarrow/lib/libarrow.so.800(_ZN5arrow8internal17InvalidValueOrDieERKNS_6StatusE+0x175)[0x7f2d00105c55]
   ./build-release/relwithdebinfo/arrow-compute-tpch-benchmark[0x40fb69]
   
/home/antoine/miniconda3/envs/pyarrow/lib/libbenchmark.so.1(_ZNK9benchmark8internal17BenchmarkInstance3RunEmiPNS0_11ThreadTimerEPNS0_13ThreadManagerEPNS0_23PerfCountersMeasurementE+0xa8)[0x7f2d01a724c8]
   
/home/antoine/miniconda3/envs/pyarrow/lib/libbenchmark.so.1(+0x4536d)[0x7f2d01a8f36d]
   
/home/antoine/miniconda3/envs/pyarrow/lib/libbenchmark.so.1(_ZN9benchmark8internal15BenchmarkRunner13DoNIterationsEv+0x3ad)[0x7f2d01a8fa6d]
   
/home/antoine/miniconda3/envs/pyarrow/lib/libbenchmark.so.1(_ZN9benchmark8internal15BenchmarkRunner15DoOneRepetitionEv+0x11e)[0x7f2d01a91f9e]
   
/home/antoine/miniconda3/envs/pyarrow/lib/libbenchmark.so.1(+0x25d84)[0x7f2d01a6fd84]
   
/home/antoine/miniconda3/envs/pyarrow/lib/libbenchmark.so.1(_ZN9benchmark22RunSpecifiedBenchmarksEPNS_17BenchmarkReporterES1_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x582)[0x7f2d01a710e2]
   
/home/antoine/miniconda3/envs/pyarrow/lib/libbenchmark.so.1(_ZN9benchmark22RunSpecifiedBenchmarksEv+0x7b)[0x7f2d01a712fb]
   
/home/antoine/miniconda3/envs/pyarrow/lib/libbenchmark_main.so.1(main+0x37)[0x7f2d01abf067]
   /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f2cff9200b3]
   ./build-release/relwithdebinfo/arrow-compute-tpch-benchmark[0x40432e]
   Abandon (core dumped)
   ```
   Here is the gdb traceback:
   ```
   (gdb) bt
   #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
   #1  0x00007f2cff91e859 in __GI_abort () at abort.c:79
   #2  0x00007f2d00275ffe in arrow::util::CerrLog::~CerrLog (this=0x1654e80) at 
/home/antoine/arrow/dev/cpp/src/arrow/util/logging.cc:72
   #3  0x00007f2d00276019 in arrow::util::CerrLog::~CerrLog (this=0x1654e80) at 
/home/antoine/arrow/dev/cpp/src/arrow/util/logging.cc:66
   #4  0x00007f2d00275f31 in arrow::util::ArrowLog::~ArrowLog 
(this=0x7fffebdf4a50) at 
/home/antoine/arrow/dev/cpp/src/arrow/util/logging.cc:250
   #5  0x00007f2d00105c55 in arrow::internal::DieWithMessage (msg="ValueOrDie 
called on an error: Cancelled: Ignoring task added after the task group has 
been ended")
       at /home/antoine/arrow/dev/cpp/src/arrow/result.cc:28
   #6  arrow::internal::InvalidValueOrDie (st=...) at 
/home/antoine/arrow/dev/cpp/src/arrow/result.cc:31
   #7  0x000000000040fb69 in 
arrow::Result<std::vector<arrow::compute::ExecBatch, 
std::allocator<arrow::compute::ExecBatch> > >::ValueOrDie() && 
(this=0x7f2c980105b0)
       at /home/antoine/arrow/dev/cpp/src/arrow/result.h:339
   #8  arrow::Result<std::vector<arrow::compute::ExecBatch, 
std::allocator<arrow::compute::ExecBatch> > >::operator*() && 
(this=0x7f2c980105b0)
       at /home/antoine/arrow/dev/cpp/src/arrow/result.h:343
   #9  arrow::compute::internal::BM_Tpch_Q1 (st=...) at 
/home/antoine/arrow/dev/cpp/src/arrow/compute/exec/tpch_benchmark.cc:116
   #10 0x00007f2d01a724c8 in 
benchmark::internal::BenchmarkInstance::Run(unsigned long, int, 
benchmark::internal::ThreadTimer*, benchmark::internal::ThreadManager*, 
benchmark::internal::PerfCountersMeasurement*) const () from 
/home/antoine/miniconda3/envs/pyarrow/lib/libbenchmark.so.1
   #11 0x00007f2d01a8f36d in benchmark::internal::(anonymous 
namespace)::RunInThread(benchmark::internal::BenchmarkInstance const*, unsigned 
long, int, benchmark::internal::ThreadManager*, 
benchmark::internal::PerfCountersMeasurement*) () from 
/home/antoine/miniconda3/envs/pyarrow/lib/libbenchmark.so.1
   #12 0x00007f2d01a8fa6d in 
benchmark::internal::BenchmarkRunner::DoNIterations() () from 
/home/antoine/miniconda3/envs/pyarrow/lib/libbenchmark.so.1
   #13 0x00007f2d01a91f9e in 
benchmark::internal::BenchmarkRunner::DoOneRepetition() () from 
/home/antoine/miniconda3/envs/pyarrow/lib/libbenchmark.so.1
   #14 0x00007f2d01a6fd84 in benchmark::internal::(anonymous 
namespace)::RunBenchmarks(std::vector<benchmark::internal::BenchmarkInstance, 
std::allocator<benchmark::internal::BenchmarkInstance> > const&, 
benchmark::BenchmarkReporter*, benchmark::BenchmarkReporter*) () from 
/home/antoine/miniconda3/envs/pyarrow/lib/libbenchmark.so.1
   #15 0x00007f2d01a710e2 in 
benchmark::RunSpecifiedBenchmarks(benchmark::BenchmarkReporter*, 
benchmark::BenchmarkReporter*, std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >) () from 
/home/antoine/miniconda3/envs/pyarrow/lib/libbenchmark.so.1
   #16 0x00007f2d01a712fb in benchmark::RunSpecifiedBenchmarks() () from 
/home/antoine/miniconda3/envs/pyarrow/lib/libbenchmark.so.1
   #17 0x00007f2d01abf067 in main () from 
/home/antoine/miniconda3/envs/pyarrow/lib/libbenchmark_main.so.1
   #18 0x00007f2cff9200b3 in __libc_start_main (main=0x7f2d01abf030 <main>, 
argc=1, argv=0x7fffebdf7f08, init=<optimized out>, fini=<optimized out>, 
       rtld_fini=<optimized out>, stack_end=0x7fffebdf7ef8) at 
../csu/libc-start.c:308
   #19 0x000000000040432e in _start () at 
/home/antoine/arrow/dev/cpp/src/arrow/compute/exec/tpch_benchmark.cc:120
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to