oliviermeslin commented on PR #37709:
URL: https://github.com/apache/arrow/pull/37709#issuecomment-1764767973

   @amoeba : I could finally install arrow with my patch (on Linux/Ubuntu). I 
re-ran my my patch with using the `gdb` debugger and got the same error as you. 
The debugger output is the following:
   
   ```
   arrow::acero::RowArrayMerge::CopyVaryingLength (target=<optimized out>, 
source=..., first_target_row_id=<optimized out>, 
first_target_row_offset=<optimized out>, 
source_rows_permutation=0x7ffcc8052020) at 
/home/onyxia/work/arrow/cpp/src/arrow/acero/swiss_join.cc:605
   605             *target_row_ptr++ = *source_row_ptr++;
   ```
   
   [Line 605 of 
swiss_join.cc](https://github.com/oliviermeslin/arrow/blob/fb2617833200d9c90b6d79a85ae9e840b41938da/cpp/src/arrow/acero/swiss_join.cc#L604)
 is part of the following loop, where the content of source rows is iteratively 
added to target rows:
   
   ```
   for (uint32_t word = 0; word < length / sizeof(uint64_t); ++word) {
     *target_row_ptr++ = *source_row_ptr++;
   }
   ```
   
   As I am completly new to C++, I'm not sure what this bug means.  My 
intuition is that we're trying to add too much to the `target_row_ptr` pointer 
given its type. Would you or @westonpace have any clue on what is going wrong?


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