Closed Bug 1271711 Opened 8 years ago Closed 8 years ago

Bypass read of cache data after shutdown

Categories

(Core :: Networking: Cache, defect)

defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 1276930

People

(Reporter: mayhemer, Assigned: mayhemer)

Details

(Whiteboard: [necko-active])

https://crash-stats.mozilla.com/report/index/16549b6f-324c-471e-9cf7-02aa12160503#allthreads

To mitigate shutdown crash @ ShutdownEvent::PostAndWait

KiFastSystemCallRet
NtCreateFile
CreateFileW
CreateFileWImplementation
OpenFile(nsString const&, int, int, bool, PRFileDesc**)
nsLocalFile::OpenNSPRFileDescMaybeShareDelete(int, int, bool, PRFileDesc**)
nsLocalFile::OpenNSPRFileDesc(int, int, PRFileDesc**)
mozilla::net::CacheFileIOManager::OpenNSPRHandle(mozilla::net::CacheFileHandle*, bool)
mozilla::net::CacheFileIOManager::ReadInternal(mozilla::net::CacheFileHandle*, __int64, char*, int)
mozilla::net::ReadEvent::Run()
mozilla::net::CacheIOThread::LoopOneLevel(unsigned int)
mozilla::net::CacheIOThread::ThreadFunc()
mozilla::net::CacheIOThread::ThreadFunc(void*)

We can use the same bypass logic as we use for reads/erases.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.