-
Notifications
You must be signed in to change notification settings - Fork 248
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
[query] Intermittent segfault arising from orjson #14299
Comments
danking
pushed a commit
to danking/hail
that referenced
this issue
Feb 15, 2024
CHANGELOG: Require `orjson<3.9.12` to avoid a segfault introduced in orjson 3.9.12. See hail-is#14299 for details.
danking
added a commit
that referenced
this issue
Feb 15, 2024
CHANGELOG: Require `orjson<3.9.12` to avoid a segfault introduced in orjson 3.9.12. See #14299 for details.
This appears to persist in 3.9.11. We are further dropping back to 3.9.10 in #14310. |
When ijl/orjson#457 merges and is released, we can update to that latest version of orjson. Do not update before that happens. |
Apparently orjson closes stale PRs very aggressively, the relevant one is now ijl/orjson#459 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
Executive Summary
We will pin to
orjson<=3.9.11
until ijl/orjson#457 merges and addresses the root cause of these segfaults. This issue is resolved when orjson merges orjson#457, releases a new version, and we upgrade to it.Details
Tests that use the py4j_backend and thus rely on orjson to (de)serialize data have been intermittently segfaulting:
Line 217 only does one thing: call
orjson.dumps
.hail/hail/python/hail/backend/py4j_backend.py
Lines 216 to 218 in b3df763
Indeed,
orjson
has had this issue since 3.9.12 and we just recently updated orjson from 3.9.10 to 3.9.12:The relevant part of the diff:
orjson reduced the frequency of this segfault in 3.9.13 by eliding some of the code that caused buffer overheads; however, the problem persists. I complete fix is currently awaiting pull request review.
Reports:
Batches:
Version
0.2.127
Relevant log output
The text was updated successfully, but these errors were encountered: