Skip to content

Conversation

@lidavidm
Copy link
Member

@lidavidm lidavidm commented May 3, 2021

An uninitialized StopToken caused segfaults if you ever called read_csv with cancellation disabled or when not on the main thread (e.g. if used in a Flight server). If we have a 4.0.1 I think this qualifies as a regression.

@lidavidm lidavidm changed the title ARROW-12622: [Python] Fix read_csv when not on main thread ARROW-12622: [Python] Fix segfault in read_csv when not on main thread May 3, 2021
@github-actions
Copy link

github-actions bot commented May 3, 2021

Copy link
Member

@pitrou pitrou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this!

@pitrou
Copy link
Member

pitrou commented May 3, 2021

@pitrou pitrou closed this in 5159d2b May 3, 2021
@lidavidm lidavidm deleted the arrow-12622 branch May 3, 2021 15:07
kszucs pushed a commit to kszucs/arrow that referenced this pull request May 17, 2021
An uninitialized StopToken caused segfaults if you ever called read_csv with cancellation disabled or when not on the main thread (e.g. if used in a Flight server). If we have a 4.0.1 I think this qualifies as a regression.

Closes apache#10227 from lidavidm/arrow-12622

Authored-by: David Li <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
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