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

ARROW-12622: [Python] Fix segfault in read_csv when not on main thread #10227

Closed
wants to merge 1 commit into from

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
DileepSrigiri pushed a commit to DileepSrigiri/arrow that referenced this pull request May 6, 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]>
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]>
michalursa pushed a commit to michalursa/arrow that referenced this pull request Jun 10, 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]>
michalursa pushed a commit to michalursa/arrow that referenced this pull request Jun 13, 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