-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
GH-44071: [C++] Leak S3 structures if finalization happens too late #44090
Conversation
@github-actions crossbow submit -g cpp |
@github-actions crossbow submit wheelcp312* |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Revision: e7d9ea5 Submitted crossbow builds: ursacomputing/crossbow @ actions-de41ec5070 |
Need #44093 before we can properly test S3 on Windows wheel builds Edit: it's now merged |
e7d9ea5
to
052e196
Compare
@github-actions crossbow submit wheelcp312* |
This comment was marked as outdated.
This comment was marked as outdated.
I notice that S3 is similarly untested on macOS Python builds: #44111 Edit: fixed now |
052e196
to
236c551
Compare
@github-actions crossbow submit wheel-macos* |
This comment was marked as outdated.
This comment was marked as outdated.
@github-actions crossbow submit -g cpp -g python -g wheel |
This comment was marked as outdated.
This comment was marked as outdated.
This is very hackish but solves the issue of using PyArrow under uwsgi. @felipecrv What is your opinion?
|
236c551
to
380c531
Compare
@github-actions crossbow submit -g cpp -g python -g wheel |
This comment was marked as outdated.
This comment was marked as outdated.
@github-actions crossbow submit wheelmacos wheellinux |
This comment was marked as outdated.
This comment was marked as outdated.
@github-actions crossbow submit -g python |
This comment was marked as outdated.
This comment was marked as outdated.
5589451
to
c078ac5
Compare
@github-actions crossbow submit wheelmacoscp312* wheellinuxcp312* wheelmacoscp313* wheellinuxcp313* |
@github-actions crossbow submit -g python |
@github-actions crossbow submit -g wheel |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
d997350
to
8946c1a
Compare
@github-actions crossbow submit -g wheel -g python |
This comment was marked as outdated.
This comment was marked as outdated.
The C/GLib failure looks unrelated:
What do you think @kou ? |
|
@github-actions crossbow submit -g cpp |
@jorisvandenbossche Can you take a look at the Python test? |
Revision: 8946c1a Submitted crossbow builds: ursacomputing/crossbow @ actions-60301353eb |
It's unrelated. I'll fix it by #44153. |
Fixed. |
…happens too late
8946c1a
to
07cc766
Compare
@github-actions crossbow submit wheelmacos wheellinux |
@github-actions crossbow submit -g python |
Revision: 07cc766 Submitted crossbow builds: ursacomputing/crossbow @ actions-4f61f433c5 |
Revision: 07cc766 Submitted crossbow builds: ursacomputing/crossbow @ actions-7df153a302 |
CI is green. @jorisvandenbossche Are you available to take a quick look at the Python test? |
Looks good! |
After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 0f7b5e5. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 9 possible false positives for unstable benchmarks that are known to sometimes produce them. |
Rationale for this change
Leaking S3 structures at shutdown can be better than inducing a segfault because those structures' destructors run too late at process exit.
This seems to avoid the crash when run under
uwsgi
in #44071Are these changes tested?
Yes.
Are there any user-facing changes?
Hopefully not.