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
rayon-core panics in 32-bit windows #827
Comments
It appears you updated from rayon 1.2 / rayon-core 1.6. The biggest difference in The next thing that maybe deserves scrutiny is |
@cuviper is there something in rayon 32-bit specific somehow? The only target-pointer-dependent thing I see is the |
Anything |
We tried switching to rayon 1.4 to narrow down what change may have introduced the problem and we get panics with overflow here:
|
Ok, so we have a bit more data. We still see these crashes with rayon-core 1.8.1 / 1.4 (so far lower volume, but beta users are way less so...). |
Is it possible to reproduce this in a more contained way? Perhaps in a direct stress-test of the crate using rayon? |
On the possibility of this being in However, that CVE is not 32-bit specific, and your previous |
@emilio Is this still a problem? That crash report link is not available anymore. I just opened #934 to fix a use-after-free, which could account for any sort of memory corruption, but it is especially close to the job |
We're not seeing this anymore. Looking at the crash rates, this went away when we updated crossbeam-deque for GHSA-pqqp-xmhj-wgcw |
Hi,
We updated rayon to 1.5 in https://bugzilla.mozilla.org/show_bug.cgi?id=1683294, and we're seeing more-frequent-than-usual crashes, particularly in 32-bit windows, deep in the guts of rayon, with the unwrap() here failing:
https://hg.mozilla.org/releases/mozilla-release/annotate/89345511871ef6489580b994be21189e84462393/third_party/rust/rayon-core/src/job.rs#l166
You can see one of the crash reports here or click "More reports" for the others.
Of course this might be other things other than a bug in rayon (think, some other memory corruption going on), but it seems it correlates with the rayon update, so I thought it could be useful to get some eyes from other people more knowledgeable in the rayon internals than me to see if these crashes ring a bell to someone.
The text was updated successfully, but these errors were encountered: