You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FromEntropy::from_entropy() failed: All entropy sources failed (permanently unavailable); cause: OS RNG not yet seeded (not ready yet); cause: Try again (os error 11)
We've seen similar RNG errors in Firefox on Android and Linux tests when was unable to open /dev/urandom because we hit some fd limit. 95% of these crash reports are from Android. 5% are from Linux.
To avoid Windows RNG error crashes, @Manishearth changed Stylo's hashmaps use FNV hash instead of an RNG/cryptographically secure hasher since hashmap DOS is not a problem for browsers:
parking_lot could probably do the same for its HashTables. We probably don't have enough threads in the parking_lot for hashtable DOS to be a risk. Threads are heavier weight than a big hashtable.
OTOH, if the OS RNG is failing in parking_lot code and we sidestep this panic, some other code will probably fail reading the OS RNG soon after.
Firefox on Android and Linux is hitting a rare parking_lot panic (just 590 crash reports over the last six months): https://bugzilla.mozilla.org/show_bug.cgi?id=1584043
FromEntropy::from_entropy() failed: All entropy sources failed (permanently unavailable); cause: OS RNG not yet seeded (not ready yet); cause: Try again (os error 11)
We've seen similar RNG errors in Firefox on Android and Linux tests when was unable to open /dev/urandom because we hit some fd limit. 95% of these crash reports are from Android. 5% are from Linux.
To avoid Windows RNG error crashes, @Manishearth changed Stylo's hashmaps use FNV hash instead of an RNG/cryptographically secure hasher since hashmap DOS is not a problem for browsers:
rust-random/rand#180 (comment)
parking_lot could probably do the same for its HashTables. We probably don't have enough threads in the parking_lot for hashtable DOS to be a risk. Threads are heavier weight than a big hashtable.
OTOH, if the OS RNG is failing in parking_lot code and we sidestep this panic, some other code will probably fail reading the OS RNG soon after.
Partial stack trace from a Firefox for Android crash report: https://crash-stats.mozilla.com/report/index/5742d966-7264-4325-90e2-3f0760190926#tab-details
The text was updated successfully, but these errors were encountered: