Closed Bug 836399 Opened 12 years ago Closed 11 years ago

B2G fails to boot with ASSERTION: Existing entry in disk StartupCache.: 'zipItem == nullptr'

Categories

(Firefox OS Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bjacob, Unassigned)

Details

Attachments

(1 file)

Attached file my startupCache.4.little (deleted) —
Here B2G fails to boot on Otoro, and I see this in logcat: I/Gecko ( 105): ###!!! ASSERTION: Existing entry in disk StartupCache.: 'zipItem == nullptr', file /hack/mozilla-graphics/startupcache/StartupCache.cpp, line 356 I'm getting this with a heavily patched B2G (gfx layers refactoring + bug 835920) so who knows what's causing it. I re-flashed the device, and got that again. Attaching my startupCache from adb pull /data/b2g/mozilla/hqiiogd5.default/startupCache
Got a stack: Breakpoint 2, mozilla::scache::StartupCache::PutBuffer (this=0x40404860, id=0x4374c100 "jar-last-modified-time", inbuf=0xbebcd0c0 "\030\361\b\215<\001", len=8) at /hack/mozilla-graphics/startupcache/StartupCache.cpp:358 358 NS_ASSERTION(zipItem == nullptr, "Existing entry in disk StartupCache."); (gdb) p zipItem $1 = (nsZipItem *) 0x45132034 (gdb) p *zipItem $2 = {next = 0x0, central = 0x44cf0080, nameLength = 22, isSynthetic = false} (gdb) bt #0 mozilla::scache::StartupCache::PutBuffer (this=0x40404860, id=0x4374c100 "jar-last-modified-time", inbuf=0xbebcd0c0 "\030\361\b\215<\001", len=8) at /hack/mozilla-graphics/startupcache/StartupCache.cpp:358 #1 0x424006ec in ExtractFontsFromJar (aLocalDir=0x47821230) at /hack/mozilla-graphics/gfx/thebes/gfxFT2FontList.cpp:981 #2 0x42400a2a in gfxFT2FontList::FindFonts (this=0x4607ddf0) at /hack/mozilla-graphics/gfx/thebes/gfxFT2FontList.cpp:1086 #3 0x42400f0a in gfxFT2FontList::InitFontList (this=0x4607ddf0) at /hack/mozilla-graphics/gfx/thebes/gfxFT2FontList.cpp:1219 #4 0x423fb8e6 in gfxAndroidPlatform::CreatePlatformFontList (this=0x47192700) at /hack/mozilla-graphics/gfx/thebes/gfxAndroidPlatform.cpp:180 #5 0x423e5684 in gfxPlatformFontList::Init () at /hack/mozilla-graphics/gfx/thebes/gfxPlatformFontList.h:92 #6 0x423e65f2 in gfxPlatform::Init () at /hack/mozilla-graphics/gfx/thebes/gfxPlatform.cpp:335 #7 0x423e63b6 in gfxPlatform::GetPlatform () at /hack/mozilla-graphics/gfx/thebes/gfxPlatform.cpp:260 #8 0x41dbdf66 in nsWindow (this=0x4782e500) at /hack/mozilla-graphics/widget/gonk/nsWindow.cpp:192 #9 0x41dbd414 in nsWindowConstructor (aOuter=0x0, aIID=..., aResult=0xbebcd43c) at /hack/mozilla-graphics/widget/gonk/nsWidgetFactory.cpp:39 #10 0x422935b6 in mozilla::GenericFactory::CreateInstance (this=0x471f83f0, aOuter=0x0, aIID=..., aResult=0xbebcd43c) at /hack/b2g/B2G/objdir-gecko/xpcom/build/GenericFactory.cpp:16 #11 0x422e22cc in nsComponentManagerImpl::CreateInstance (this=0x40440200, aClass=..., aDelegate=0x0, aIID=..., aResult=0xbebcd43c) at /hack/mozilla-graphics/xpcom/components/nsComponentManager.cpp:949 #12 0x42286c0a in CallCreateInstance (aCID=..., aDelegate=0x0, aIID=..., aResult=0xbebcd43c) at /hack/b2g/B2G/objdir-gecko/xpcom/build/nsComponentManagerUtils.cpp:125 #13 0x42286dac in nsCreateInstanceByCID::operator() (this=0xbebcd56c, aIID=..., aInstancePtr=0xbebcd43c) at /hack/b2g/B2G/objdir-gecko/xpcom/build/nsComponentManagerUtils.cpp:167 #14 0x40b7d420 in nsCOMPtr<nsIRDFDelegateFactory>::assign_from_helper (this=0x461b8e48, helper=..., aIID=...) at ../../dist/include/nsCOMPtr.h:1223 #15 0x41c0f758 in nsCOMPtr<nsIWidget>::operator= (this=0x461b8e48, rhs=...) at ../../../dist/include/nsCOMPtr.h:691 #16 0x41c25722 in nsWebShellWindow::Initialize (this=0x461b8e20, aParent=0x0, aOpener=0x0, aUrl=0x45e897c0, aInitialWidth=100, aInitialHeight=100, aIsHiddenWindow=true, widgetInitData=...) at /hack/mozilla-graphics/xpfe/appshell/src/nsWebShellWindow.cpp:148 #17 0x41c22e1a in nsAppShellService::JustCreateTopWindow (this=0x471ffe40, aParent=0x0, aUrl=0x45e897c0, aChromeMask=4094, aInitialWidth=100, aInitialHeight=100, aIsHiddenWindow=true, aResult=0xbebcd740) at /hack/mozilla-graphics/xpfe/appshell/src/nsAppShellService.cpp:402 #18 0x41c2285e in nsAppShellService::CreateHiddenWindowHelper (this=0x471ffe40, aIsPrivate=false) at /hack/mozilla-graphics/xpfe/appshell/src/nsAppShellService.cpp:128 #19 0x41c2272e in nsAppShellService::CreateHiddenWindow (this=0x471ffe40) at /hack/mozilla-graphics/xpfe/appshell/src/nsAppShellService.cpp:86 #20 0x41c398c4 in nsAppStartup::CreateHiddenWindow (this=0x452fcd90) at /hack/mozilla-graphics/toolkit/components/startup/nsAppStartup.cpp:257 #21 0x40b87368 in XREMain::XRE_mainRun (this=0xbebcd990) at /hack/mozilla-graphics/toolkit/xre/nsAppRunner.cpp:3758 #22 0x40b877cc in XREMain::XRE_main (this=0xbebcd990, argc=1, argv=0xbebcfba4, aAppData=0x373d4) at /hack/mozilla-graphics/toolkit/xre/nsAppRunner.cpp:3890 #23 0x40b8799a in XRE_main (argc=1, argv=0xbebcfba4, aAppData=0x373d4, aFlags=0) at /hack/mozilla-graphics/toolkit/xre/nsAppRunner.cpp:4093 #24 0x0000a550 in do_main (argc=1, argv=0xbebcfba4) at /hack/mozilla-graphics/b2g/app/nsBrowserApp.cpp:164 #25 0x0000a804 in main (argc=1, argv=0xbebcfba4) at /hack/mozilla-graphics/b2g/app/nsBrowserApp.cpp:249
What's actually killing B2G shortly after this seems to be bug 836441.
No longer blocks: 834916
Otoro is now an obsolete platform and the code path that rilclient died on that caused this bug didn't ship in v1. Obsoleting.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: