Closed Bug 864105 Opened 12 years ago Closed 10 years ago

crash in nsCacheService::Init with abort message: "Can't create cache IO thread"

Categories

(Core :: Networking: Cache, defect)

ARM
Android
defect
Not set
critical

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox20 --- affected
firefox22 --- affected
firefox23 --- affected
firefox24 --- affected
firefox25 --- affected
firefox26 --- affected

People

(Reporter: scoobidiver, Unassigned)

Details

(Keywords: crash, Whiteboard: [native-crash])

Crash Data

It first showed up in 23.0a1/20130410065939 but is discontinuous across builds. It's not a startup crash. Signature mozalloc_abort(char const*) | NS_DebugBreak More Reports Search UUID 6f18a78f-f315-4f3b-82de-6a5552130411 Date Processed 2013-04-11 09:45:59 Uptime 1782 Last Crash 29.8 minutes before submission Install Age 40.1 minutes since version was first installed. Install Time 2013-04-11 09:05:47 Product FennecAndroid Version 23.0a1 Build ID 20130410065939 Release Channel nightly OS Android OS Version 0.0.0 Linux 3.0.31-CM-ga94557c-dirty #2 SMP PREEMPT Thu Apr 4 22:07:49 HKT 2013 armv7l samsung/GT-i815/GT-i815:4.0.4/IMM76D/XXLPQ1:user/release-keys Build Architecture arm Build Architecture Info Crash Reason SIGSEGV Crash Address 0x0 App Notes AdapterDescription: 'ARM -- Mali-400 MP -- OpenGL ES 2.0 -- Model: GT-i815, Product: i815, Manufacturer: samsung, Hardware: smdk4210' GL Layers! EGL? EGL+ GL Context? GL Context+ GL Layers+ Stagefright! Stagefright+ WebGL? WebGL+ xpcom_runtime_abort(###!!! ABORT: Can't create cache IO thread: file ../../../netwerk/cache/nsCacheService.cpp, line 1147) samsung GT-i815 samsung/GT-i815/GT-i815:4.0.4/IMM76D/XXLPQ1:user/release-keys Processor Notes sp-processor03.phx1.mozilla.com_18816:2012; MDSW emitted too many frames, triggering truncation; exploitability tool failed: 127 EMCheckCompatibility True Adapter Vendor ID ARM Adapter Device ID Mali-400 MP Device samsung GT-i815 Android API Version 17 (REL) Android CPU ABI armeabi-v7a Frame Module Signature Source 0 libmozalloc.so mozalloc_abort memory/mozalloc/mozalloc_abort.cpp:30 1 libxul.so NS_DebugBreak xpcom/base/nsDebugImpl.cpp:430 ... 40 libnss3.so PR_Unlock ptsynch.c:205 41 libxul.so MutexLock::Unlock obj-firefox/dist/include/mozilla/Mutex.h:83 42 libxul.so nsComponentManagerImpl::GetServiceByContractID obj-firefox/dist/include/nsCOMPtr.h:853 43 libmozglue.so arena_malloc memory/mozjemalloc/jemalloc.c:4167 44 libxul.so nsCacheService::Init netwerk/cache/nsCacheService.cpp:1147 45 libxul.so nsAppShell::ProcessNextNativeEvent widget/android/nsAppShell.cpp:394 46 libnss3.so PR_Unlock ptsynch.c:205 47 libxul.so nsAppShell::ProcessNextNativeEvent widget/android/nsAppShell.cpp:535 48 libxul.so nsThreadManager::GetIsMainThread xpcom/threads/nsThreadManager.cpp:272 49 libnss3.so PR_Unlock ptsynch.c:205 50 libmozglue.so arena_dalloc memory/mozjemalloc/jemalloc.c:4675 51 libxul.so nsTArrayInfallibleResult nsTArray_base<nsTArrayInfallibleAllocator>::SwapArrayEl obj-firefox/dist/include/nsTArray-inl.h:390 52 libmozglue.so arena_dalloc memory/mozjemalloc/jemalloc.c:4675 53 libxul.so nsTArray_base<nsTArrayInfallibleAllocator>::ShrinkCapacity obj-firefox/dist/include/nsTArray.h:190 54 libmozglue.so __udivdi3 libgcc2.c:927 55 libxul.so nsBaseAppShell::DoProcessNextNativeEvent widget/xpwidgets/nsBaseAppShell.cpp:139 56 libxul.so nsBaseAppShell::OnProcessNextEvent widget/xpwidgets/nsBaseAppShell.cpp:280 57 libxul.so nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:600 58 libxul.so NS_ProcessNextEvent obj-firefox/xpcom/build/nsThreadUtils.cpp:238 59 libxul.so nsThread::Shutdown xpcom/threads/nsThread.cpp:474 60 libxul.so nsThread::RemoveObserver obj-firefox/dist/include/nsTArray.h:812 61 libxul.so nsThreadManager::Shutdown xpcom/threads/nsThreadManager.cpp:128 62 libxul.so nsThreadManager::RegisterCurrentThread obj-firefox/dist/include/mozilla/Mutex.h:83 63 libxul.so nsObserverService::Create obj-firefox/dist/include/nsAutoPtr.h:880 64 libxul.so mozilla::ShutdownXPCOM xpcom/build/nsXPComInit.cpp:593 65 libxul.so nsObserverService::~nsObserverService xpcom/ds/nsObserverService.cpp:62 66 libxul.so ScopedXPCOMStartup::~ScopedXPCOMStartup toolkit/xre/nsAppRunner.cpp:1122 67 libxul.so XREMain::XRE_main toolkit/xre/nsAppRunner.cpp:3973 68 libxul.so XRE_main toolkit/xre/nsAppRunner.cpp:4153 More reports at: https://crash-stats.mozilla.com/report/list?product=FennecAndroid&signature=mozalloc_abort%28char+const*%29+|+NS_DebugBreak
It's not a recent regression or maybe it spiked recently. It's #434 crasher in 20.0.1. Here is a non buggy stack trace: Frame Module Signature Source 0 libmozalloc.so mozalloc_abort memory/mozalloc/mozalloc_abort.cpp:30 1 libxul.so NS_DebugBreak_P xpcom/base/nsDebugImpl.cpp:422 2 libxul.so nsCacheService::Init netwerk/cache/nsCacheService.cpp:1161 3 libxul.so nsAppShell::ProcessNextNativeEvent widget/android/nsAppShell.cpp:525 4 libxul.so nsBaseAppShell::DoProcessNextNativeEvent widget/xpwidgets/nsBaseAppShell.cpp:139 5 libxul.so nsBaseAppShell::OnProcessNextEvent widget/xpwidgets/nsBaseAppShell.cpp:280 6 libxul.so nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:600 7 libxul.so NS_ProcessNextEvent_P obj-firefox/xpcom/build/nsThreadUtils.cpp:238 8 libxul.so nsThread::Shutdown xpcom/threads/nsThread.cpp:474 9 libxul.so nsThreadManager::Shutdown xpcom/threads/nsThreadManager.cpp:128 10 libxul.so mozilla::ShutdownXPCOM xpcom/build/nsXPComInit.cpp:577 11 libxul.so ScopedXPCOMStartup::~ScopedXPCOMStartup toolkit/xre/nsAppRunner.cpp:1124 12 libxul.so XREMain::XRE_main toolkit/xre/nsAppRunner.cpp:3915 13 libxul.so XRE_main toolkit/xre/nsAppRunner.cpp:4093 14 libxul.so GeckoStart toolkit/xre/nsAndroidStartup.cpp:73 More reports at: https://crash-stats.mozilla.com/report/list?signature=mozalloc_abort%28char+const*%29+|+NS_DebugBreak_P+|+nsCacheService%3A%3AInit%28%29
Crash Signature: [@ mozalloc_abort(char const*) | NS_DebugBreak] [@ mozalloc_abort(char const*) | NS_DebugBreak | nsExpirationTracker<nsGfxScrollFrameInner, int>::ExpirationTrackerObserver::Observe(nsISupports*, char const*, unsigned short const*) ] [@ mozalloc_abort(ch… → [@ mozalloc_abort(char const*) | NS_DebugBreak_P | nsCacheService::Init() ] [@ mozalloc_abort(char const*) | NS_DebugBreak] [@ mozalloc_abort(char const*) | NS_DebugBreak | nsExpirationTracker<nsGfxScrollFrameInner, int>::ExpirationTrackerObserver::Obs…
Keywords: regression
Version: 23 Branch → Trunk
Crash Signature: [@ mozalloc_abort(char const*) | NS_DebugBreak_P | nsCacheService::Init() ] [@ mozalloc_abort(char const*) | NS_DebugBreak] [@ mozalloc_abort(char const*) | NS_DebugBreak | nsExpirationTracker<nsGfxScrollFrameInner, int>::ExpirationTrackerObserver::Obs… → [@ mozalloc_abort(char const*) | NS_DebugBreak] [@ mozalloc_abort(char const*) | NS_DebugBreak | nsExpirationTracker<nsGfxScrollFrameInner, int>::ExpirationTrackerObserver::Observe(nsISupports*, char const*, unsigned short const*) ] [@ mozalloc_abort(ch…
It's #27 crasher in 23.0b2, #10 in 24.0a2 and #15 in 25.0a1.
Crash Signature: , unsigned short const*) ] [@ mozalloc_abort(char const*) | NS_DebugBreak | nsTableCellMap::Synchronize(nsTableFrame*) ] [@ mozalloc_abort(char const*) | NS_DebugBreak_P | nsCacheService::Init() ] [@ mozalloc_abort(char const*) | NS_DebugBreak | nsCac… → , unsigned short const*) ] [@ mozalloc_abort(char const*) | NS_DebugBreak | nsTableCellMap::Synchronize(nsTableFrame*) ] [@ mozalloc_abort(char const*) | NS_DebugBreak_P | nsCacheService::Init() ] [@ mozalloc_abort(char const*) | NS_DebugBreak | nsCach…
Juts got that one.
Note that we have some plans to remove the old cache code with appcache support. See bug 1237782.
old cache code is going away
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.