Closed
Bug 795452
Opened 14 years ago
Closed 14 years ago
crash on osx in HttpCacheQuery::OpenCacheInputStream
Categories
(Core :: Networking: Cache, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 770243
People
(Reporter: mixedpuppy, Assigned: briansmith)
Details
(Keywords: crash, regression)
Crash Data
I'm able to reproduce this crash in my debug build of nightly, though the repro might be a bit funky for others, it has to do with loading mobile.twitter.com into the social sidebar.
The crash reporter does not kick in, but I get the apple crash report (below).
The console output shows:
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /Users/shanec/moz/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp, line 2964
WARNING: cache check failed: file /Users/shanec/moz/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp, line 2928
++DOMWINDOW == 25 (0x11bd42080) [serial = 35] [outer = 0x115f52800]
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /Users/shanec/moz/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp, line 2964
WARNING: cache check failed: file /Users/shanec/moz/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp, line 2928
WARNING: SQLite returned error code 1 , Storage will convert it to NS_ERROR_FAILURE: file /Users/shanec/moz/mozilla-central/storage/src/mozStoragePrivateHelpers.cpp, line 79
WARNING: SQLite returned error code 1 , Storage will convert it to NS_ERROR_FAILURE: file /Users/shanec/moz/mozilla-central/storage/src/mozStoragePrivateHelpers.cpp, line 79
WARNING: NS_ENSURE_TRUE(mOSHE) failed: file /Users/shanec/moz/mozilla-central/docshell/base/nsDocShell.cpp, line 10093
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /Users/shanec/moz/mozilla-central/dom/base/nsHistory.cpp, line 282
JavaScript error: https://mobile.twitter.com/, line 200: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHistory.pushState]
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /Users/shanec/moz/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp, line 2964
WARNING: cache check failed: file /Users/shanec/moz/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp, line 2928
Assertion failure: mCachedSecurityInfo, at /Users/shanec/moz/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp:3345
dist/NightlyDebug.app/Contents/MacOS/firefox-bin -P build &
[2] 65265
[1] Segmentation fault: 11 dist/NightlyDebug.app/Contents/MacOS/firefox-bin -P build
Process: firefox-bin [65265]
Path: /Users/USER/*/NightlyDebug.app/Contents/MacOS/firefox-bin
Identifier: org.mozilla.nightlydebug
Version: 18.0a1 (1812.9.24)
Code Type: X86-64 (Native)
Parent Process: bash [356]
Date/Time: 2012-09-28 11:40:42.793 -0700
OS Version: Mac OS X 10.7.4 (11E53)
Report Version: 9
Interval Since Last Report: 4748208 sec
Crashes Since Last Report: 62
Per-App Interval Since Last Report: 55087 sec
Per-App Crashes Since Last Report: 3
Anonymous UUID: 37BE1717-F920-48B2-985E-CC5400673E32
Crashed Thread: 17 Cache I/O
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0:
-->
__TEXT 0000000100000000-0000000100008000 [ 32K] r-x/rwx SM=COW /Users/USER/*/NightlyDebug.app/Contents/MacOS/firefox-bin
Application Specific Information:
objc[65265]: garbage collection is OFF
Thread 17 Crashed:: Cache I/O
0 XUL 0x000000010137708c mozilla::net::HttpCacheQuery::OpenCacheInputStream(bool) + 380 (nsHttpChannel.cpp:3345)
1 XUL 0x0000000101376cf8 mozilla::net::HttpCacheQuery::CheckCache() + 6120 (nsHttpChannel.cpp:3232)
2 XUL 0x00000001013754a4 mozilla::net::HttpCacheQuery::OnCacheEntryAvailable(nsICacheEntryDescriptor*, int, tag_nsresult) + 596 (nsHttpChannel.cpp:2926)
3 XUL 0x0000000101376e8b non-virtual thunk to mozilla::net::HttpCacheQuery::OnCacheEntryAvailable(nsICacheEntryDescriptor*, int, tag_nsresult) + 59
4 XUL 0x00000001012ca9ea nsCacheListenerEvent::Run() + 58 (nsCacheService.cpp:1799)
5 XUL 0x00000001034de96d nsThread::ProcessNextEvent(bool, bool*) + 1373 (nsThread.cpp:613)
6 XUL 0x000000010344c4ef NS_ProcessNextEvent_P(nsIThread*, bool) + 159 (nsThreadUtils.cpp:220)
7 XUL 0x00000001034dd557 nsThread::ThreadFunc(void*) + 295 (nsThread.cpp:256)
8 libnspr4.dylib 0x00000001000c47c3 _pt_root + 355 (ptthread.c:159)
9 libsystem_c.dylib 0x00007fff94b848bf _pthread_start + 335
10 libsystem_c.dylib 0x00007fff94b87b75 thread_start + 13
Updated•14 years ago
|
Severity: normal → critical
Crash Signature: [@ mozilla::net::HttpCacheQuery::OpenCacheInputStream]
Keywords: crash
Hardware: x86 → x86_64
Version: unspecified → Trunk
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → bsmith
Keywords: regression
| Assignee | ||
Comment 1•14 years ago
|
||
Shane wrote:
> Assertion failure: mCachedSecurityInfo, at
> /Users/shanec/moz/mozilla-central/netwerk/protocol/http/nsHttpChannel.cpp:
> 3345
> dist/NightlyDebug.app/Contents/MacOS/firefox-bin -P build &
> [2] 65265
> [1] Segmentation fault: 11
> dist/NightlyDebug.app/Contents/MacOS/firefox-bin -P build
A fix for this just landed:
https://hg.mozilla.org/mozilla-central/rev/e2da1a9124b6
Please try again with a TBPL build from here, to make sure that it solve the case you're experiencing too:
https://tbpl.mozilla.org/?rev=d6d935e301cb
That fix assumed that the problem can occur only with appcached resources. Is the Twitter social sidebar thing using AppCache?
| Reporter | ||
Comment 2•14 years ago
|
||
(In reply to Brian Smith (:bsmith) from comment #1)
> That fix assumed that the problem can occur only with appcached resources.
> Is the Twitter social sidebar thing using AppCache?
mobile.twitter.com may well be using appcache, the socialapi itself doesn't do anything around that.
| Reporter | ||
Comment 3•14 years ago
|
||
The fix mentioned in comment 1 fixes this crash.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 4•14 years ago
|
||
<mixedpuppy> yes, twitter is listed as using offline data
<mixedpuppy> and I no longer crash
Resolution: FIXED → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•