WillAyd commented on PR #518:
URL: https://github.com/apache/arrow-nanoarrow/pull/518#issuecomment-2161499945

   I think I was able to find some more information when running meson with 
`-Db_sanitize=address,undefined`:
   
   ```sh
   ../src/nanoarrow/array.c:753:11: runtime error: signed integer overflow: 
9223372036854775807 + 7 cannot be represented in type 'long int'
   ../src/nanoarrow/array.c:892:9: runtime error: signed integer overflow: 
9223372036854775807 + 7 cannot be represented in type 'long int'
   ```
   
   It looks like the offsets value for the RUN_END_ENCODED parent array_view is 
a junk value, but `ArrowArrayViewValidateMinimal` does not expect this 
   
   
https://github.com/apache/arrow-nanoarrow/blob/e92c364f65f9d6fb029d918b9ff31a8a39b3a1df/src/nanoarrow/array.c#L752
   
   So that is definitely problematic. Haven't quite pieced together the link 
between that and what valgrind is giving us, but maybe there is one


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