Decompression errors with Google search results after shopify/chatgpt fixes
Categories
(Core :: Networking: Cache, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox149 | --- | fixed |
People
(Reporter: jesup, Assigned: jesup)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
Enabling Compression dictionaries after landing the patches to deal with the shopify/chatgpt causes occasional decompression failures, which are resolved on reload
| Assignee | ||
Comment 1•8 months ago
|
||
Possible cause:
Race Condition: The decompressor was being created before checking if the dictionary was ready, causing it to be instantiated without the dictionary attached.
In ContinueProcessNormal2()
The Bug Flow:
- PrepareToConnect() starts dictionary Prefetch() (async)
- Response arrives with Content-Encoding: dcb
- ContinueProcessNormal2() called
- BUG: DoInstallCacheListener() creates decompressor
- Calls mDictionary->GetDictionary().Length() → 0 (still loading)
- Decompressor created without dictionary! - Dictionary check happens too late (after decompressor created)
- Data arrives → decompression fails
- Retry works (dictionary finished loading by then)
It's hard to verify this, ask it's a rare-ish intermittent, but this fits. We meed to avoid calling DoInstallCacheListener until any dictionary we're using has been loaded.
| Assignee | ||
Comment 2•8 months ago
|
||
Updated•8 months ago
|
Comment 4•8 months ago
|
||
Backed out for causing failures at ServoUtils.h.
Backout link: https://hg.mozilla.org/integration/autoland/rev/4f19f9d32fa7
Failure log: https://treeherder.mozilla.org/logviewer?job_id=546313836&repo=autoland&task=FbbOTb49TqalaAmmjXFvnQ.0
Updated•8 months ago
|
Updated•7 months ago
|
Description
•