jorisvandenbossche commented on issue #41016: URL: https://github.com/apache/arrow/issues/41016#issuecomment-2042524924
@unj1m Thanks for the report! The direct cause of this crash is because inside the `null_count` method, we are incorrectly checking the array's `null_count` attribute to take a different code path, but when this attribute is still set to "unknown" (-1), this leads us to a code path that actually accesses the non-existing validity bitmap buffer. Now, an additional underlying issue is that the binary "and" kernel (and I assume this is true for all simple binary kernels) should not produce a result with the `null_count` set to -1 if it didn't need to allocate any validity bitmap. I seem to recall a previous issue where this also came up, but don't directly find it. -- 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]
