Closed Bug 570150 Opened 14 years ago Closed 6 years ago

Firefox Crash [@ nsToolkitProfileService::Release() ]

Categories

(Toolkit :: Startup and Profile System, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WONTFIX
Tracking Status
blocking2.0 --- -

People

(Reporter: chofmann, Unassigned)

References

Details

(Keywords: crash, Whiteboard: [startupcrash])

Crash Data

spotted while checking out 3.6.4 crash data but looks like its been around for awhile, and maybe related to profile corruption.   about 0-14 crashes per day.

checking --- nsToolkitProfileService::Release 20100507-crashdata.csv
found in: 3.6 3.5.5 3.6.3 3.5.8
release total-crashes
              nsToolkitProfileService::Release crashes
                         pct.
all     359610  14      3.89311e-05
3.6     14394   7       0.000486314
3.5.5   1663    4       0.00240529
3.6.3   246565  2       8.11145e-06
3.5.8   1586    1       0.000630517

os breakdown
nsToolkitProfileService::ReleaseTotal 14
Win5.1  100%

happens within about 7 seconds of start up, and maybe repeatedly to users once they hit the condition.

top times when the nsToolkitProfileService::Release 

count time(sec)after_startup  sig
   5    0                     nsToolkitProfileService::Release()
   4    5                     nsToolkitProfileService::Release()
   2    1                     nsToolkitProfileService::Release()
   1    7                     nsToolkitProfileService::Release()
   1    4                     nsToolkitProfileService::Release()
   1    2                     nsToolkitProfileService::Release()
  14 total crashes


http://crash-stats.mozilla.com/report/index/6ffa927b-34bc-4658-8973-f070c2100507

Frame  	Module  	Signature [Expand]  	Source
0 	xul.dll 	nsToolkitProfileService::Release 	toolkit/profile/src/nsToolkitProfileService.cpp:375
1 	xul.dll 	nsRefPtr<nsIRunnable>::~nsRefPtr<nsIRunnable> 	obj-firefox/dist/include/nsAutoPtr.h:956
2 	xul.dll 	SelectProfile 	toolkit/xre/nsAppRunner.cpp:2007
3 		@0x2f2cfff 



more at http://crash-stats.mozilla.com/report/list?signature=nsToolkitProfileService::Release%28%29

looks like there might be several forms of the stack for the signature with the ranking looking something like below and the most frequent crash looking like the stack above.


   7 nsToolkitProfileService::Release() 
     nsRefPtr&lt;nsIRunnable&gt;::~nsRefPtr&lt;nsIRunnable&gt;()
     SelectProfile           

   4 nsToolkitProfileService::Release()  
nsRefPtr&lt;nsIDOMEventListener&gt;::~nsRefPtr&lt;nsIDOMEventListener&gt;()          SelectProfile
     XRE_main
     wmain   __t
     mainCRTStartup   
     BaseProcessStart        

   4 nsToolkitProfileService::Release()
     arena_dalloc_small
     arena_dalloc
     nsLocalFile::Release() 
     nsCOMPtr_base::~nsCOMPtr_base()
     ProcessUpdates(nsIFile *,nsIFile *,nsIFile *,int,char * *,char const * &amp;) 
     XRE_main        

   2 nsToolkitProfileService::Release() 
     nsRefPtr&lt;nsImageLoader&gt;::~nsRefPtr&lt;nsImageLoader&gt;() 
     SelectProfile
     XRE_main
     wmain 
      __tmainCRTStartup
      BaseProcessStart        

   2 nsToolkitProfileService::Release() 
     nsCOMPtr_base::~nsCOMPtr_base() SelectProfile   
     XRE_main 
     wmain   
     __tmainCRTStartup
     BaseProcessStart   

since this happens so close to start up there really aren't any useful comment or urls.   code inspection might be the only way to guess what might be going on.
blocking2.0: --- → ?
Component: Preferences → Startup and Profile System
QA Contact: preferences → startup
I don't see a single crash report for Firefox 4 so I don't think this should block.
blocking2.0: ? → -
Crash Signature: [@ nsToolkitProfileService::Release() ]
(In reply to Dave Townsend (:Mossop) from comment #1)
> I don't see a single crash report for Firefox 4 

indeed. More recently, the crash signature seem to end at about Firefox 10. 
Looks like it continues as nsToolkitProfile::Release(). Do you agree?
For example bp-6a26d8e2-a55a-4070-9906-f66bd2130119 stack is similar to bp-f44b2b86-32d4-4a14-8847-d95c52130119

Several forms of the stacks mentioned in comment 0 still exist, such as
bp-6a26d8e2-a55a-4070-9906-f66bd2130119
0	xul.dll	nsToolkitProfile::Release	toolkit/profile/nsToolkitProfileService.cpp:183
1	xul.dll	nsRefPtr<nsIRunnable>::~nsRefPtr<nsIRunnable>	obj-firefox/dist/include/nsAutoPtr.h:874
2	xul.dll	SelectProfile	toolkit/xre/nsAppRunner.cpp:2075 

bp-76941000-0bbf-4a33-ab3b-aec482130125
0	xul.dll	nsToolkitProfile::Release	toolkit/profile/nsToolkitProfileService.cpp:183
1	xul.dll	nsCOMPtr_base::~nsCOMPtr_base	obj-firefox/dist/include/nsCOMPtr.h:408
2	xul.dll	SelectProfile	toolkit/xre/nsAppRunner.cpp:2095
Severity: normal → critical
Whiteboard: [startupcrash]
Crash Signature: [@ nsToolkitProfileService::Release() ] → [@ nsToolkitProfileService::Release() ] [@ nsToolkitProfileService::Release ]
Closing because no crash reported since 12 weeks.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.