Closed
Bug 1379080
Opened 8 years ago
Closed 8 years ago
Crash in MatchEntry
Categories
(Core :: Networking: Cache, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1382688
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox54 | --- | unaffected |
firefox55 | --- | unaffected |
firefox56 | --- | wontfix |
People
(Reporter: philipp, Assigned: mayhemer)
References
Details
(Keywords: crash, regression)
Crash Data
This bug was filed from the Socorro interface and is
report bp-2469564c-0119-470b-8006-f80690170706.
=============================================================
Crashing Thread (40), Name: Cache I/O
Frame Module Signature Source
0 xul.dll MatchEntry netwerk/cache/nsDiskCacheBinding.cpp:38
1 xul.dll PLDHashTable::SearchTable<0>(void const*, unsigned __int64) xpcom/ds/PLDHashTable.cpp:398
2 xul.dll PLDHashTable::Search(void const*) xpcom/ds/PLDHashTable.cpp:530
3 xul.dll nsDiskCacheBindery::FindActiveBinding(unsigned int) netwerk/cache/nsDiskCacheBinding.cpp:200
4 xul.dll nsDiskCacheDevice::FindEntry(nsCString*, bool*) netwerk/cache/nsDiskCacheDevice.cpp:473
5 xul.dll nsCacheService::SearchCacheDevices(nsCString*, int, bool*) netwerk/cache/nsCacheService.cpp:2223
6 xul.dll nsCacheService::ActivateEntry(nsCacheRequest*, nsCacheEntry**, nsCacheEntry**) netwerk/cache/nsCacheService.cpp:2121
7 xul.dll nsCacheService::ProcessRequest(nsCacheRequest*, bool, nsICacheEntryDescriptor**) netwerk/cache/nsCacheService.cpp:1948
8 xul.dll nsCacheService::OpenCacheEntry(nsCacheSession*, nsACString const&, int, bool, nsICacheListener*, nsICacheEntryDescriptor**) netwerk/cache/nsCacheService.cpp:2079
9 xul.dll nsCacheSession::AsyncOpenCacheEntry(nsACString const&, int, nsICacheListener*, bool) netwerk/cache/nsCacheSession.cpp:105
10 xul.dll mozilla::net::_OldCacheLoad::Run() netwerk/cache2/OldWrappers.cpp:776
11 xul.dll nsThread::ProcessNextEvent(bool, bool*) xpcom/threads/nsThread.cpp:1437
12 xul.dll NS_ProcessNextEvent(nsIThread*, bool) xpcom/threads/nsThreadUtils.cpp:489
13 xul.dll mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) ipc/glue/MessagePump.cpp:339
14 xul.dll MessageLoop::RunHandler() ipc/chromium/src/base/message_loop.cc:313
15 xul.dll MessageLoop::Run() ipc/chromium/src/base/message_loop.cc:293
16 xul.dll nsThread::ThreadFunc(void*) xpcom/threads/nsThread.cpp:506
17 nss3.dll PR_NativeRunThread nsprpub/pr/src/threads/combined/pruthr.c:397
18 nss3.dll pr_root nsprpub/pr/src/md/windows/w95thred.c:95
19 ucrtbase.dll o__strtoui64
20 kernel32.dll BaseThreadInitThunk
21 ntdll.dll RtlUserThreadStart
crashes with this signature are regressing since 56.0a1 build 20170705095941.
Comment 1•8 years ago
|
||
This is a crash in an old cache code which isn't use anymore unless user enables it in about:config. We're not going to do any change in this code.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Reporter | ||
Comment 2•8 years ago
|
||
which preference controls this (in case an affected user ends up reading this bug)?
Comment 3•8 years ago
|
||
browser.cache.use_new_backend
![]() |
Assignee | |
Comment 4•8 years ago
|
||
(In reply to Michal Novotny (:michal) from comment #3)
> browser.cache.use_new_backend
To be more precise, the old backend is used iff:
browser.cache.use_new_backend == false && browser.cache.use_new_backend_temp == 0
The crash is really the old disk cache (not appcache!), so I can confirm a WONTFIX here.
Comment hidden (typo) |
Comment 7•8 years ago
|
||
(In reply to Michal Purzynski [:michal`] (use NEEDINFO) from comment #6)
> You're looking for a different Michal ;)
oops. Sorry!
(In reply to Michal Novotny (:michal) from comment #1)
> This is a crash in an old cache code which isn't use anymore unless user
> enables it in about:config. We're not going to do any change in this code.
Michal, are there plans to remove this old disk cache code or disable the pref check? This MatchEntry crash signature appears to be new in Nightly 56. From the 100+ crash reports, it looks like about a dozen different users (unique install times) were affected.
Flags: needinfo?(michal.novotny)
Comment 8•8 years ago
|
||
(In reply to Chris Peterson [:cpeterson] from comment #7)
> Michal, are there plans to remove this old disk cache code or disable the
> pref check? This MatchEntry crash signature appears to be new in Nightly 56.
> From the 100+ crash reports, it looks like about a dozen different users
> (unique install times) were affected.
We plan to remove the old code once we remove the app cache (see bug 913828). There is IMO no reason to allow anybody to use the old cache because it's now obsolete and unmaintained. We should simply ignore the pref and return always true in CacheObserver::UseNewCache(). Honza, what's your opinion?
Flags: needinfo?(michal.novotny) → needinfo?(honzab.moz)
![]() |
Assignee | |
Comment 9•8 years ago
|
||
I first want to figure out why this has regressed recently.
AppCache is not about to be removed any time sooner, big players still use it.
I'm afraid it would be too much work to remove this particular code that is crashing here and preserve appcache to work.
Assignee: nobody → honzab.moz
Status: RESOLVED → UNCONFIRMED
Ever confirmed: false
Flags: needinfo?(honzab.moz)
Resolution: WONTFIX → ---
Comment 10•8 years ago
|
||
(In reply to Honza Bambas (:mayhemer) from comment #9)
> I'm afraid it would be too much work to remove this particular code that is
> crashing here and preserve appcache to work.
Agree, that's why I proposed to ignore browser.cache.use_new_backend pref and not to remove old disk and memory cache code while keeping app cache.
![]() |
Assignee | |
Comment 11•8 years ago
|
||
(In reply to Michal Novotny (:michal) from comment #10)
> (In reply to Honza Bambas (:mayhemer) from comment #9)
> > I'm afraid it would be too much work to remove this particular code that is
> > crashing here and preserve appcache to work.
>
> Agree, that's why I proposed to ignore browser.cache.use_new_backend pref
> and not to remove old disk and memory cache code while keeping app cache.
Yes, but it's pretty weird we suddenly started to crash in a code that should not be used at all. Something has changed and I would like to know what exactly.
Comment 12•8 years ago
|
||
Not sure what you exactly mean. If you believe that the code is called even when the old cache is disabled by the pref, then this could be easily verified by ignoring the pref. If the crash persists, we have a problem. If it's gone, then this is WONTFIX.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → FIXED
![]() |
Assignee | |
Comment 13•8 years ago
|
||
(In reply to Michal Novotny (:michal) from comment #12)
> Not sure what you exactly mean. If you believe that the code is called even
> when the old cache is disabled by the pref, then this could be easily
> verified by ignoring the pref. If the crash persists, we have a problem. If
> it's gone, then this is WONTFIX.
OK, file a bug!
![]() |
Assignee | |
Comment 14•8 years ago
|
||
This could be a duplicate of bug 1379353, since all of the crashes are happening on x64 and now I noticed they all very likely come from a single user :) Hence, removing the pref will fix this.
Resolution: FIXED → DUPLICATE
Comment 15•8 years ago
|
||
Mark Firefox 56 tracking flag as wontfix based on comment 12, as it's no longer seen in 56.
You need to log in
before you can comment on or make changes to this bug.
Description
•