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

[internal] Add debug output for intermittent abort in poll_workunits #14253

Merged

Conversation

stuhood
Copy link
Member

@stuhood stuhood commented Jan 25, 2022

Adds debug output to attempt to catch what we thought was a panic being converted into an abort, but which might just be an all-natural abort from another source.

See PyO3/pyo3#2102 for some discussion of the relevant problem. Beyond just being debug output, this patch actually seems to avoid the issue for the user who was experiencing it.

[ci skip-build-wheels]

@stuhood stuhood changed the title [internal] Add debug output for intermittent abort poll_workunits [internal] Add debug output for intermittent abort in poll_workunits Jan 25, 2022
[ci skip-build-wheels]
@stuhood stuhood force-pushed the stuhood/log-in-poll-workunits-unwind branch from b17c991 to 592476a Compare March 3, 2022 19:15
@stuhood stuhood marked this pull request as ready for review March 3, 2022 19:16
@stuhood stuhood enabled auto-merge (squash) March 3, 2022 19:17
@stuhood stuhood merged commit 91bf08f into pantsbuild:main Mar 3, 2022
@stuhood stuhood deleted the stuhood/log-in-poll-workunits-unwind branch March 3, 2022 20:45
stuhood added a commit to stuhood/pants that referenced this pull request Mar 3, 2022
…`. (pantsbuild#14253)

Adds debug output to attempt to catch what we thought was a panic being converted into an abort, but which might just be an all-natural abort from another source.

See PyO3/pyo3#2102 for some discussion of the relevant problem. Beyond just being debug output, this patch actually seems to avoid the issue for the user who was experiencing it.

[ci skip-build-wheels]
stuhood added a commit that referenced this pull request Mar 3, 2022
…`. (cherrypick of #14253) (#14692)

Adds debug output to attempt to catch what we thought was a panic being converted into an abort, but which might just be an all-natural abort from another source.

See PyO3/pyo3#2102 for some discussion of the relevant problem. Beyond just being debug output, this patch actually seems to avoid the issue for the user who was experiencing it.

[ci skip-build-wheels]
This was referenced Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants