Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legacy reader: reading non written region causes segfault. #4253

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

KiterLuc
Copy link
Contributor

@KiterLuc KiterLuc commented Aug 8, 2023

This fixes an issue with legacy dense reads where reading a region that is not written causes segfault. In this case, the reader generates a cell slab with a nullptr tile, which signals the copy function to return the fill value for those cells. The nullptr value was causing an issue when trying to determine if a field is present or not.


TYPE: IMPROVEMENT
DESC: Legacy reader: reading non written region causes segfault.

This fixes an issue with legacy dense reads where reading a region that is not written causes segfault. In this case, the reader generates a cell slab with a nullptr tile, which signals the copy function to return the fill value for those cells. The nullptr value was causing an issue when trying to determine if a field is present or not.

---
TYPE: IMPROVEMENT
DESC: Legacy reader: reading non written region causes segfault.
@KiterLuc KiterLuc requested a review from ihnorton August 8, 2023 16:29
@shortcut-integration
Copy link

@KiterLuc KiterLuc merged commit 64b2f64 into dev Aug 8, 2023
@KiterLuc KiterLuc deleted the lr/legacy-non-written-region-fix/ch30952 branch August 8, 2023 18:14
github-actions bot pushed a commit that referenced this pull request Aug 8, 2023
This fixes an issue with legacy dense reads where reading a region that is not written causes segfault. In this case, the reader generates a cell slab with a nullptr tile, which signals the copy function to return the fill value for those cells. The nullptr value was causing an issue when trying to determine if a field is present or not.

---
TYPE: IMPROVEMENT
DESC: Legacy reader: reading non written region causes segfault.

(cherry picked from commit 64b2f64)
github-actions bot pushed a commit that referenced this pull request Aug 8, 2023
This fixes an issue with legacy dense reads where reading a region that is not written causes segfault. In this case, the reader generates a cell slab with a nullptr tile, which signals the copy function to return the fill value for those cells. The nullptr value was causing an issue when trying to determine if a field is present or not.

---
TYPE: IMPROVEMENT
DESC: Legacy reader: reading non written region causes segfault.

(cherry picked from commit 64b2f64)
KiterLuc added a commit that referenced this pull request Aug 8, 2023
…4255)

This fixes an issue with legacy dense reads where reading a region that is not written causes segfault. In this case, the reader generates a cell slab with a nullptr tile, which signals the copy function to return the fill value for those cells. The nullptr value was causing an issue when trying to determine if a field is present or not.

---
TYPE: IMPROVEMENT
DESC: Legacy reader: reading non written region causes segfault.

(cherry picked from commit 64b2f64)

Co-authored-by: KiterLuc <[email protected]>
KiterLuc added a commit that referenced this pull request Aug 8, 2023
…4254)

This fixes an issue with legacy dense reads where reading a region that is not written causes segfault. In this case, the reader generates a cell slab with a nullptr tile, which signals the copy function to return the fill value for those cells. The nullptr value was causing an issue when trying to determine if a field is present or not.

---
TYPE: IMPROVEMENT
DESC: Legacy reader: reading non written region causes segfault.

(cherry picked from commit 64b2f64)

Co-authored-by: KiterLuc <[email protected]>
davisp pushed a commit to davisp/TileDB that referenced this pull request Sep 6, 2023
…c#4253)

This fixes an issue with legacy dense reads where reading a region that is not written causes segfault. In this case, the reader generates a cell slab with a nullptr tile, which signals the copy function to return the fill value for those cells. The nullptr value was causing an issue when trying to determine if a field is present or not.

---
TYPE: IMPROVEMENT
DESC: Legacy reader: reading non written region causes segfault.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants