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

[C++] EXC_BAD_ACCESS in BaseSetBitRunReader<false>::NextRun

    XMLWordPrintableJSON

Details

    Description

      ./release/parquet-encoding-benchmark fails with

      BM_PlainDecodingFloat/65536                              4206 ns         4206 ns       167354 bytes_per_second=58.0474G/s
      error: libparquet.300.dylib debug map object file '/Users/uwe/Development/arrow/cpp/build/src/parquet/CMakeFiles/parquet_objlib.dir/encoding.cc.o' has changed (actual time is 2020-12-10 22:57:29.000000000, debug map time is 2020-12-10 21:02:52.000000000) since this executable was linked, file will be ignored
      Process 11120 stopped
      * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
          frame #0: 0x000000010047fe04 libparquet.300.dylib`arrow::internal::BaseSetBitRunReader<false>::NextRun() + 192
      libparquet.300.dylib`arrow::internal::BaseSetBitRunReader<false>::NextRun:
      ->  0x10047fe04 <+192>: ldur   x11, [x9, #-0x8]
          0x10047fe08 <+196>: str    x9, [x19]
          0x10047fe0c <+200>: str    x11, [x19, #0x18]
          0x10047fe10 <+204>: rbit   x10, x11
      Target 0: (parquet-encoding-benchmark) stopped.
      (lldb) bt
      * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
        * frame #0: 0x000000010047fe04 libparquet.300.dylib`arrow::internal::BaseSetBitRunReader<false>::NextRun() + 192
          frame #1: 0x000000010047f808 libparquet.300.dylib`parquet::(anonymous namespace)::PlainEncoder<parquet::PhysicalType<(parquet::Type::type)0> >::PutSpaced(bool const*, int, unsigned char const*, long long) + 336
          frame #2: 0x0000000100008970 parquet-encoding-benchmark`parquet::BM_PlainEncodingSpacedBoolean(benchmark::State&) at encoding_benchmark.cc:249:14 [opt]
          frame #3: 0x000000010000881c parquet-encoding-benchmark`parquet::BM_PlainEncodingSpacedBoolean(state=0x000000016fdfd4b8) at encoding_benchmark.cc:257 [opt]
          frame #4: 0x00000001001614f4 libbenchmark.0.dylib`benchmark::internal::BenchmarkInstance::Run(unsigned long long, int, benchmark::internal::ThreadTimer*, benchmark::internal::ThreadManager*) const + 68
          frame #5: 0x0000000100173ae8 libbenchmark.0.dylib`benchmark::internal::(anonymous namespace)::RunInThread(benchmark::internal::BenchmarkInstance const*, unsigned long long, int, benchmark::internal::ThreadManager*) + 80
          frame #6: 0x00000001001723c8 libbenchmark.0.dylib`benchmark::internal::RunBenchmark(benchmark::internal::BenchmarkInstance const&, std::__1::vector<benchmark::BenchmarkReporter::Run, std::__1::allocator<benchmark::BenchmarkReporter::Run> >*) + 1284
          frame #7: 0x000000010015ee7c libbenchmark.0.dylib`benchmark::RunSpecifiedBenchmarks(benchmark::BenchmarkReporter*, benchmark::BenchmarkReporter*) + 1824
          frame #8: 0x000000010014beec libbenchmark_main.0.dylib`main + 76
          frame #9: 0x000000019e270f54 libdyld.dylib`start + 4
      

      Attachments

        Issue Links

          Activity

            People

              uwe Uwe Korn
              uwe Uwe Korn
              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 - 1.5h
                  1.5h