Closed Bug 706343 Opened 11 years ago Closed 4 years ago

startup crash PR_JoinThread | mozilla::scache::StartupCache::WaitOnWriteThread

Categories

(Toolkit :: Startup and Profile System, defect)

x86
Windows Vista
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: wsmwk, Unassigned)

References

Details

(Keywords: crash, Whiteboard: [startupcrash][tbird crash])

Crash Data

83% of crashes are startup. 
currently #24 crash for TB v8.
note, perhaps 40-50% or more (based on my small examination of ~8 crashes) have nokia suite installed, which has been known to cause crashes

my crash is bp-b1403a66-cf5f-47ab-b6f7-5152a2111129 below, having just installed and started http://ftp.mozilla.org/pub/mozilla.org/thunderbird/try-builds/mconley@mozilla.com-1b6eedda6ea5/try-comm-central-win32/thunderbird-11.0a1.en-US.win32.installer.exe from bug 508776

0	nspr4.dll	PR_JoinThread	nsprpub/pr/src/threads/combined/pruthr.c:1545
1	xul.dll	mozilla::scache::StartupCache::WaitOnWriteThread	startupcache/StartupCache.cpp:445
2	xul.dll	mozilla::scache::StartupCache::GetBuffer	startupcache/StartupCache.cpp:258
3	xul.dll	nsXULPrototypeCache::GetInputStream	content/xul/document/src/nsXULPrototypeCache.cpp:440
4	xul.dll	nsXULPrototypeCache::GetPrototype	content/xul/document/src/nsXULPrototypeCache.cpp:186
5	xul.dll	nsXULDocument::LoadOverlayInternal	content/xul/document/src/nsXULDocument.cpp:2713
6	xul.dll	nsXULDocument::ResumeWalk	content/xul/document/src/nsXULDocument.cpp:3100
7	xul.dll	nsXULDocument::OnStreamComplete	content/xul/document/src/nsXULDocument.cpp:3594
8	xul.dll	nsStreamLoader::OnStopRequest	netwerk/base/src/nsStreamLoader.cpp:125 

I frequently update thunderbird, never had this crash before, none of my addons updated, nor do I have nokia suite installed. would seem to be a cache issue.

xref Bug 640968 - Start-up crash [@ mozilla::scache::StartupCache::WaitOnWriteThread] when showing profile locked dialog
Depends on: 716345
Firefox crashes with this stack too, e.g. bp-d35a1db2-1243-4c2c-a04f-d21f82120304
Guessing at a component, please reassign as appropriate.
Component: General → Startup and Profile System
Product: Thunderbird → Toolkit
QA Contact: general → startup
Whiteboard: [startupcrash][tbird topcrash]
Crash Signature: [@ PR_JoinThread] → [@ PR_JoinThread] [@ PR_JoinThread | mozilla::scache::StartupCache::WaitOnWriteThread()]
Blocks: 586859
This is piking for User updating from Thunderbird 12.0.1 to 13.
Nathan, do you have any ideas about this? Could it be a corrupted startup cache?
(In reply to David :Bienvenu from comment #3)
> Nathan, do you have any ideas about this? Could it be a corrupted startup
> cache?

No idea.  The stack looks mildly similar to that in bug 640968.
Wayne, so your crash was a one time thing, not repeated on subsequent startup? Nathan, do we effectively invalidate the startup cache in case of corruption crash so that a crash loading the cache will result in a cacheless startup the next time?
(In reply to David :Bienvenu from comment #5)
> Wayne, so your crash was a one time thing, not repeated on subsequent
> startup? 

correct
(In reply to David :Bienvenu from comment #5)
> Nathan, do we effectively invalidate the startup cache in case of
> corruption crash so that a crash loading the cache will result in a
> cacheless startup the next time?

I believe so, see http://mxr.mozilla.org/mozilla-central/source/startupcache/StartupCache.cpp#208
It's #113 top browser crasher in TB 17.0.
Keywords: topcrash
Whiteboard: [startupcrash][tbird topcrash] → [startupcrash][tbird crash]
#1 crash for TB19.0b1
Crash Signature: [@ PR_JoinThread] [@ PR_JoinThread | mozilla::scache::StartupCache::WaitOnWriteThread()] → [@ PR_JoinThread] [@ PR_JoinThread | mozilla::scache::StartupCache::WaitOnWriteThread()] [@ PR_JoinThread | mozilla::scache::StartupCache::WaitOnWriteThread]
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INACTIVE
No Thunderbird crashes since 17.0.8
Resolution: INACTIVE → WORKSFORME
You need to log in before you can comment on or make changes to this bug.