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

Update flate2 and dependencies #3045

Merged
merged 4 commits into from
Jan 13, 2025
Merged

Update flate2 and dependencies #3045

merged 4 commits into from
Jan 13, 2025

Conversation

badboy
Copy link
Member

@badboy badboy commented Jan 13, 2025

This might unbreak builds on Rust 1.84.0

Which is a bit weird, but ... eh.

@badboy badboy requested a review from a team as a code owner January 13, 2025 12:27
@badboy badboy requested review from chutten and removed request for a team January 13, 2025 12:27
@badboy
Copy link
Member Author

badboy commented Jan 13, 2025

.. aaaand ... it doesn't.

… always

This seems to be some recent regression, possibly in 1.84.0
Debug builds crash the iOS tests, specifically the `testPendingDeletionRequestPingsAreSentOnStartup` test with a real hard crash:

    Thread 2: EXC_BAD_ACCESS (code=2, address=0x16d3ebfb0)

pointing deep inside `library/alloc/src/boxed.rs` here: https://github.com/rust-lang/rust/blob/3ff1b6410e87a237559ab76ecd50f180afbe861f/library/alloc/src/boxed.rs#L1733

Tracing that upwards leads us to `Box::default()` in miniz_oxide, were T
is a struct containing 3 arrays, with a total size of 164098.

I can only assume that this somehow blows the stack.
Why now? I don't know. We had a successful CI run on 29e1722,
followed by failures starting with c46917a.
From my quick look that's the exact same environment: xcode:15.1.0, rustc 1.84.0
Yet it fails on CI. And locally.
rustc 1.83 is fine. So is a release build.
@badboy badboy merged commit 3df4f34 into main Jan 13, 2025
32 checks passed
@badboy badboy deleted the push-lqtyklmorkxw branch January 13, 2025 13:56
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.

2 participants