Closed Bug 1372993 Opened 8 years ago Closed 8 years ago

Assertion failure: chunkCheck == chunk, at …/netwerk/cache2/CacheFile.cpp:1736

Categories

(Core :: Networking: Cache, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: nbp, Assigned: michal)

References

Details

(Whiteboard: [necko-active])

STR: - about:config: * dom.script_loader.bytecode_cache.enabled = true * dom.script_loader.bytecode_cache.strategy = -1 - visit: https://fossbytes.com/linux-open-source-weekly-news-roundup-fossbytes-8-october/ - Crash with one of the following assertions: - Assertion failure: chunkCheck == chunk, at …/netwerk/cache2/CacheFile.cpp:1736 - Assertion failure: !mListener, at …/netwerk/cache2/CacheFileChunk.cpp:568 These assertions happen after closing all alternate output stream. Unfortunately, I was not able to reproduce it a fourth time for recording the log, and rr has a divergent execution.
Correction, I found the log file for the !mListener assertion: https://drive.google.com/file/d/0B0XdfV25b2n5SHVqWTE2SXJMVTA/view?usp=sharing Which is ending as follow: [Main Thread]: D/cache2 CacheEntry::OpenAlternativeOutputStream [this=0x45a17c0, type=javascript/moz-bytecode-20170614155852] [Main Thread]: D/cache2 CacheFile::Truncate() [this=0x532a960, offset=4853] [Main Thread]: D/cache2 CacheFile::Truncate() - New last chunk 0x42b9180 got from mChunks.
Flags: needinfo?(valentin.gosu)
Flags: needinfo?(valentin.gosu) → needinfo?(michal.novotny)
Assignee: nobody → michal.novotny
Flags: needinfo?(michal.novotny)
Whiteboard: [necko-active]
I reproduce the first assertion by clearing the cache, and reloading quickly ~10 tabs including mastodon / twitter / github websites quickly, and crashed in less than 1 minute. Assertion failure: chunkCheck == chunk, at …/netwerk/cache2/CacheFile.cpp:1736 log: https://drive.google.com/file/d/0B0XdfV25b2n5emtlalR3ekM3UGs/view?usp=sharing
(In reply to Nicolas B. Pierron [:nbp] from comment #1) > Correction, I found the log file for the !mListener assertion: > https://drive.google.com/file/d/0B0XdfV25b2n5SHVqWTE2SXJMVTA/view?usp=sharing > > Which is ending as follow: > > [Main Thread]: D/cache2 CacheEntry::OpenAlternativeOutputStream > [this=0x45a17c0, type=javascript/moz-bytecode-20170614155852] > [Main Thread]: D/cache2 CacheFile::Truncate() [this=0x532a960, offset=4853] > [Main Thread]: D/cache2 CacheFile::Truncate() - New last chunk 0x42b9180 got > from mChunks. This one was fixed in bug 1378083.
(In reply to Nicolas B. Pierron [:nbp] from comment #2) > I reproduce the first assertion by clearing the cache, and reloading quickly > ~10 tabs including mastodon / twitter / github websites quickly, and crashed > in less than 1 minute. > > Assertion failure: chunkCheck == chunk, at > …/netwerk/cache2/CacheFile.cpp:1736 > log: > https://drive.google.com/file/d/0B0XdfV25b2n5emtlalR3ekM3UGs/view?usp=sharing This is a duplicate of 1368887.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.