Flash plugin causes a deadlock on Firefox exit




11 years ago
10 years ago


(Reporter: Toli Kuznets, Assigned: Michelle Sintov)



1.8 Branch
Mac OS X

Firefox Tracking Flags

(Not tracked)



(6 attachments)



11 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv: Gecko/20070309 Firefox/
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv: Gecko/20070309 Firefox/

After running Firefox for a few days and accessing a few flash sites (YouTube, any other video/audio streaming site) it usually starts hemorrhaging memory (up to 600MB real and 1.55G virtual memory used).

When you try to close Firefox, it shows up with 17 threads in Activity Monitor (Mac App). After a few minutes it's marked as "non reponsive", goes down to 15 threads but stays at same 600MB/1.55G virtual mem.

Sampling it results in the attached call graph, with 2 threads deadlocked.

I have Flash 9.0 plugin installed (Shockwave Flash 9.0 r28).

Firefox never exits and needs to be killed off (kill -9).

Reproducible: Sometimes

Steps to Reproduce:
1.Open Firefox, use multiple tabs with javascript (gmail, corp. gmail, calendar)
2. Use some flash sites (you tube, etc). open/close those windows often
3. wait for firefox to leak memory overy 1G, close it.

Actual Results:  
Firefox never quits

Expected Results:  
Firefox should quit. Probably shouldn't leak memory either, but that's a different story and may be the fault of extensions.

Comment 1

11 years ago
Created attachment 262152 [details]
Thread call graph showing deadlock
Component: General → Plug-ins
Product: Firefox → Core
QA Contact: general → plugins
Version: unspecified → 1.8 Branch


11 years ago
Keywords: hang

Comment 2

11 years ago
Created attachment 262923 [details]
and another stacktrace showing same deadlock

Comment 3

11 years ago
Created attachment 264893 [details]
CrashReporter dump

Apple CrashReporter log for a crash while exiting.
Shows a problem in same Flash plugin

Comment 4

11 years ago
Created attachment 265306 [details]
another day, another crash dump

this time loaded Google Finance (heavy on Flash animation) and tried to exit.

deadlocks on exit. yay!


11 years ago
Assignee: nobody → msintov

Comment 5

11 years ago
Does the current Flash Player 9 release (version 9.0.45) exhibit the same problem? It can be downloaded from here: www.adobe.com/go/getflashplayer

We will also investigate the bug in-house. Thanks for the bug report.

Comment 6

11 years ago
downloading and installing the Flash 9.0.45 update, will let you know how it goes. give me a few days of use.
thanks for looking into this.

Comment 7

11 years ago
Sorry to disappoint you, but i was able to reproduce the same problem.
After using FF for a day, visiting a few flash sites (YouTube, Google Finance) and shutting it down, got a deadlock again. 
see the new stacktrace, but it looks similar.

Comment 8

11 years ago
Created attachment 265825 [details]
deadlock in flash plugin v9.0.45

Comment 9

11 years ago
Created attachment 266084 [details]
another crash for Flash: 9.0 r45

just in case you need another example: this wasn't on exit, i just tried opening a new tab.

any idea where i can get FF 1.0 bins? that used to run much better :)

Comment 10

11 years ago
This should now be fixed in the Flash Player 9 beta:

Comment 11

10 years ago
I've been using Flash 9.0r60 and Mac-optimized FF ( and it seems to work fine. sorry i haven't closed this out earlier
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.