[ 
https://issues.apache.org/jira/browse/ARROW-10881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17258472#comment-17258472
 ] 

Uwe Korn commented on ARROW-10881:
----------------------------------

With more debug information added, we get this information:

{code}
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS 
(code=1, address=0x0)
    frame #0: 0x00000001009a5340 
libparquet.300.dylib`arrow::internal::BaseSetBitRunReader<false>::LoadFullWord(this=0x000000016fdfce30)
 at bit_run_reader.h:264:5
   261      if (Reverse) {
   262        bitmap_ -= 8;
   263      }
-> 264      memcpy(&word, bitmap_, 8);
   265      if (!Reverse) {
   266        bitmap_ += 8;
   267      }
Target 0: (parquet-encoding-benchmark) stopped.
(lldb) ll
error: 'll' is not a valid command.
(lldb) p word
(uint64_t) $0 = 6171905360
(lldb) p bitmap_
(const uint8_t *) $1 = 0x0000000000000000
{code}

> [C++] EXC_BAD_ACCESS in BaseSetBitRunReader<false>::NextRun
> -----------------------------------------------------------
>
>                 Key: ARROW-10881
>                 URL: https://issues.apache.org/jira/browse/ARROW-10881
>             Project: Apache Arrow
>          Issue Type: Task
>          Components: C++
>    Affects Versions: 2.0.0
>            Reporter: Uwe Korn
>            Priority: Major
>              Labels: osx-arm64
>
> {{./release/parquet-encoding-benchmark}} fails with
> {code}
> 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
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to