Closed Bug 1015976 Opened 10 years ago Closed 10 years ago

Flash plugin crashes repeatedly on OS X 10.6 with replace-jemalloc turned on

Categories

(Core Graveyard :: Plug-ins, defect, P3)

32 Branch
x86_64
macOS
defect

Tracking

(firefox31 unaffected, firefox32 unaffected)

RESOLVED DUPLICATE of bug 1019881
Tracking Status
firefox31 --- unaffected
firefox32 --- unaffected

People

(Reporter: dearbear, Unassigned)

References

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:32.0) Gecko/20100101 Firefox/32.0 (Beta/Release)
Build ID: 20140526030202

Steps to reproduce:

Started the latest Firefox Nightly with addons disabled.
Loaded seemingly any page with an embedded Youtube video.


Actual results:

No video was displayed. Instead the flash plugin was seemingly started repeatedly (according to the logs in console.app).
Console output:
===
5/26/14 May 26; 4:30:09 PM	[0x0-0xe60e60].org.mozilla.nightly	###!!! [Parent][MessageChannel::InterruptCall] Error: Channel error: cannot send/recv
5/26/14 May 26; 4:30:09 PM	ReportCrash[47731]	Saved crash report for plugin-container[47739] version ??? (1.0) to /Users/.../Library/Logs/DiagnosticReports/plugin-container_2014-05-26-163009_....crash
5/26/14 May 26; 4:30:09 PM	[0x0-0xe60e60].org.mozilla.nightly	plugin-container(47741,0x7fff70982cc0) malloc: *** error for object 0x108010000: pointer being freed was not allocated
===
The above message is repeated at least in every second until the page with the embedded youtube video is closed. (during that period the UI of nightly is really not responsive so it was really hard to actually get rid of the tab with the video)

Installing some flash blocker completely "fixes" the issue.

Details of my firefox installation (after resuming to normal operation with addons enabled):

Application Basics
------------------

Name: Firefox
Version: 32.0a1
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:32.0) Gecko/20100101 Firefox/32.0

Crash Reports for the Last 3 Days
---------------------------------

All Crash Reports

Extensions
----------

Name: Add-on Compatibility Reporter
Version: 2.0.4
Enabled: true
ID: compatibility@addons.mozilla.org

Name: Exif Viewer
Version: 2.00
Enabled: true
ID: exif_viewer@mozilla.doslash.org

Name: Flashblock
Version: 1.5.17
Enabled: true
ID: {3d7eb24f-2740-49df-8937-200b1cc08f8a}

Name: Ghostery
Version: 5.3.0beta1
Enabled: true
ID: firefox@ghostery.com

Name: gTranslate
Version: 0.9
Enabled: true
ID: {aff87fa2-a58e-4edd-b852-0a20203c1e17}

Name: LeechBlock
Version: 0.6.6
Enabled: true
ID: {a95d8332-e4b4-6e7f-98ac-20b733364387}

Name: Nightly Tester Tools
Version: 3.7
Enabled: true
ID: {8620c15f-30dc-4dba-a131-7c5d20cf4a29}

Name: picNiche Toolbar - Contributor
Version: 1.1.17
Enabled: true
ID: contribtoolbar@picNiche.com

Name: ReloadEvery
Version: 28.0.2
Enabled: true
ID: {888d99e7-e8b5-46a3-851e-1ec45da1e644}

Name: Test Pilot
Version: 1.2.3
Enabled: true
ID: testpilot@labs.mozilla.com

Name: UAControl
Version: 0.1.3.1
Enabled: true
ID: uacontrol@qz.tsugumi.org

Name: User Agent Switcher
Version: 0.7.3
Enabled: true
ID: {e968fc70-8f95-4ab9-9e79-304de2a71ee1}

Name: Adblock Plus
Version: 2.6
Enabled: false
ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}

Name: Flash Video Downloader - Full HD Download
Version: 5.9.1
Enabled: false
ID: artur.dubovoy@gmail.com

Graphics
--------

Device ID: 0x 869
GPU Accelerated Windows: 1/1 OpenGL (OMTC)
Vendor ID: 0x10de
WebGL Renderer: NVIDIA Corporation -- NVIDIA GeForce 9400 OpenGL Engine
windowLayerManagerRemote: true
AzureCanvasBackend: quartz
AzureContentBackend: quartz
AzureFallbackCanvasBackend: none
AzureSkiaAccelerated: 0

Important Modified Preferences
------------------------------

accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.smart_size_cached_value: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.frecency_experiment: 2
browser.places.smartBookmarksVersion: 7
browser.sessionstore.upgradeBackup.latestBuildID: 20140526030202
browser.startup.homepage_override.buildID: 20140526030202
browser.startup.homepage_override.mstone: 32.0a1
browser.tabs.autoHide: false
browser.tabs.warnOnClose: false
dom.mozApps.used: true
dom.w3c_touch_events.expose: false
extensions.checkCompatibility.23.0a: false
extensions.checkCompatibility.24.0a: false
extensions.checkCompatibility.25.0a: false
extensions.checkCompatibility.26.0a: false
extensions.checkCompatibility.27.0a: false
extensions.checkCompatibility.28.0a: false
extensions.checkCompatibility.29.0a: false
extensions.checkCompatibility.30.0a: false
extensions.checkCompatibility.31.0a: false
extensions.checkCompatibility.32.0a: false
extensions.checkCompatibility.nightly: false
extensions.lastAppVersion: 32.0a1
font.internaluseonly.changed: false
gfx.blacklist.webgl.msaa: 4
network.cookie.prefsMigrated: true
places.database.lastMaintenance: 1401050317
places.history.expiration.transient_current_max_pages: 104858
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
plugin.state.adobepdfviewernpapi: 0
plugin.state.flip4mac wmv plugin: 0
print.macosx.pagesetup-2: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIHBsaXN0IFBVQkxJQyAiLS8vQXBwbGUvL0RURCBQTElTVCAxLjAvL0VO
print.print_bgcolor: false
print.print_bgimages: false
print.print_colorspace:
print.print_command:
print.print_downloadfonts: false
print.print_duplex: 0
print.print_evenpages: true
print.print_in_color: true
print.print_margin_bottom: 0.5
print.print_margin_left: 0.5
print.print_margin_right: 0.5
print.print_margin_top: 0.5
print.print_oddpages: true
print.print_orientation: 0
print.print_page_delay: 50
print.print_paper_data: 0
print.print_paper_height: 11.00
print.print_paper_name:
print.print_paper_size_type: 1
print.print_paper_size_unit: 0
print.print_paper_width: 8.50
print.print_plex_name:
print.print_resolution: 0
print.print_resolution_name:
print.print_reversed: false
print.print_scaling: 1.00
print.print_shrink_to_fit: true
print.print_to_file: false
print.print_unwriteable_margin_bottom: 57
print.print_unwriteable_margin_left: 25
print.print_unwriteable_margin_right: 25
print.print_unwriteable_margin_top: 25
privacy.donottrackheader.enabled: true
privacy.sanitize.migrateFx3Prefs: true
security.disable_button.openCertManager: false
security.enable_ssl3: true
security.enable_tls: true
security.mixed_content.block_active_content: false
security.warn_entering_secure: false
security.warn_entering_weak: true
security.warn_leaving_secure: false
security.warn_submit_insecure: false
security.warn_viewing_mixed: false
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1400189310

JavaScript
----------

Incremental GC: true

Accessibility
-------------

Activated: false
Prevent Accessibility: 0

Library Versions
----------------

NSPR
Expected minimum version: 4.10.6 Beta
Version in use: 4.10.6 Beta

NSS
Expected minimum version: 3.16.2 Basic ECC Beta
Version in use: 3.16.2 Basic ECC Beta

NSSSMIME
Expected minimum version: 3.16.2 Basic ECC Beta
Version in use: 3.16.2 Basic ECC Beta

NSSSSL
Expected minimum version: 3.16.2 Basic ECC Beta
Version in use: 3.16.2 Basic ECC Beta

NSSUTIL
Expected minimum version: 3.16.2 Beta
Version in use: 3.16.2 Beta

Experimental Features
---------------------
The same webpages are properly displayed with other browsers (e.g. safari) using the same flash plugin. I did no flash plugin updates in the past 2 weeks.
Could you please check with a new, empty profile:
http://support.mozilla.org/en-US/kb/Managing-profiles#w_starting-the-profile-manager
Also, please provide the link of the test page.
Flags: needinfo?(dearbear)
I checked with an empty profile. I see a similar behavior. There is an exception though: it seems like in some cases the reportcrash process just stops doing its thing after a while.
Example pages: 
- http://hvg.hu (here the reportcrash went on for more than 6 minutes - afterwards I gave up and quit the browser. After creating the new profile, I have immediately started up the browser. Then I have made sure only a single tab is open. In this tab I immediately loaded the url.)
- http://hvg.hu/video (here the reportcrash stops after around 10-15 seconds, but it still produces over a 50 lines of repeated log messages)

Please note that since the report I have already updated my nightly two times. Also, I forgot to mention last time that despite its very bad responsiveness during the reportcrash interference, nightly can still be closed with CMD-Q with a little slowdown.

I don't know whether it is related or helpful but with the empty profile added I also receive the following error in the console during nightly's startup:
5/28/14 May 28; 9:11:50 PM	[0x0-0x152c52b].org.mozilla.nightly	1401304310864	addons.manager	ERROR	Exception calling provider shutdown: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://app/modules/experiments/Experiments.jsm :: this.Experiments.PreviousExperimentProvider.prototype<.shutdown :: line 2091"  data: no] Stack trace: this.Experiments.PreviousExperimentProvider.prototype<.shutdown()@resource://app/modules/experiments/Experiments.jsm:2091 < callProvider()@resource://gre/modules/AddonManager.jsm:194 < AMI_unregisterProvider()@resource://gre/modules/AddonManager.jsm:849 < AMP_unregisterProvider()@resource://gre/modules/AddonManager.jsm:2321 < Experiments.Experiments.prototype._unregisterWithAddonManager()@resource://app/modules/experiments/Experiments.jsm:500 < Experiments.Experiments.prototype.uninit<()@resource://app/modules/experiments/Experiments.jsm:446 < TaskImpl_run()@resource://gre/modules/Task.jsm:282 < TaskImpl_handleResultValue()@resource://gre/modules/Task.jsm:338 < TaskImpl_run()@resource://gre/modules/Task.jsm:290 < TaskImpl()@resource://gre/modules/Task.jsm:247 < createAsyncFunction/asyncFunction()@resource://gre/modules/Task.jsm:224 < Barrier.prototype<._wait()@resource://gre/modules/AsyncShutdown.jsm:552 < Barrier.prototype<.wait()@resource://gre/modules/AsyncShutdown.jsm:518 < Spinner.prototype.observe()@resource://gre/modules/AsyncShutdown.jsm:337 < <file:unknown>
Flags: needinfo?(dearbear)
Everything looks ok to me in nightly 32.0a1 (2014-05-28), Mac OS X 10.6.8 on http://hvg.hu/, http://hvg.hu/video
Component: Untriaged → Plug-ins
Product: Firefox → Core
That sounds like there is a crash in plugin-container or the Flash plugin it loaded.
I don't see where we would trigger loading the plugin again, so this might the page re-instantiating it.

Have you updated to the latest Flash version?
Can you get any info like callstacks from ReportCrash or it's diagnostic logs?
Flags: needinfo?(dearbear)
I have the latest flash according to adobe's website. Version: 13,0,0,214
I also use the latest nightly available: 32.0a1 (2014-06-02)

As mentioned above there are two types of plugin crashes, one that goes on forever, and one that stops. Below, I include a reportcrash output for both of them (Because of length constraints, I have had to strip some of the contents, I hope nothing relevant got lost).

This is a non-repeating crash:
===========================
Process:         plugin-container [9858]
Path:            /Applications/Internet/FirefoxNightly.app/Contents/MacOS/plugin-container.app/Contents/MacOS/plugin-container
Identifier:      org.mozilla.plugincontainer
Version:         ??? (1.0)
Code Type:       X86-64 (Native)
Parent Process:  firefox [9843]

OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
*** error for object 0x108010000: pointer being freed was not allocated
 

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff8565b0b6 __kill + 10
1   libSystem.B.dylib             	0x00007fff856fb9f6 abort + 83
2   libSystem.B.dylib             	0x00007fff856ea62d szone_error + 519
3   libSystem.B.dylib             	0x00007fff8565634c free_large + 1050
4   libobjc.A.dylib               	0x00007fff8077ba9a NXMapInsert + 358
5   libobjc.A.dylib               	0x00007fff8077a0c5 _read_images + 577
6   libobjc.A.dylib               	0x00007fff80790721 map_images_nolock + 1266
7   libobjc.A.dylib               	0x00007fff80779761 map_images + 115
8   dyld                          	0x00007fff5fc039b9 dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*)) + 853
9   dyld                          	0x00007fff5fc0c839 ImageLoader::link(ImageLoader::LinkContext const&, bool, bool, ImageLoader::RPathChain const&) + 201
10  dyld                          	0x00007fff5fc04d48 dyld::link(ImageLoader*, bool, ImageLoader::RPathChain const&) + 118
11  dyld                          	0x00007fff5fc08f68 dlopen + 490
12  libSystem.B.dylib             	0x00007fff85612e40 dlopen + 61
13  com.apple.CoreFoundation      	0x00007fff80389ef7 _CFBundleDlfcnLoadBundle + 231
14  com.apple.CoreFoundation      	0x00007fff80388e97 _CFBundleLoadExecutableAndReturnError + 1191
15  com.apple.Foundation          	0x00007fff8161f355 _NSBundleLoadCode + 638
16  com.apple.Foundation          	0x00007fff8161ec78 -[NSBundle loadAndReturnError:] + 742
17  ...romedia.Flash Player.plugin	0x0000000109fe86ed main + 253
18  ...romedia.Flash Player.plugin	0x0000000109fe7bc3 NP_Initialize + 147
19  ...romedia.Flash Player.plugin	0x0000000109fe7b53 NP_Initialize + 35
20  XUL                           	0x0000000100f6f30e mozilla::plugins::PluginModuleChild::AnswerNP_Initialize(unsigned int const&, short*) + 78
21  XUL                           	0x0000000100534198 mozilla::plugins::PPluginModuleChild::OnCallReceived(IPC::Message const&, IPC::Message*&) + 4392
22  XUL                           	0x000000010033a045 mozilla::ipc::MessageChannel::DispatchInterruptMessage(IPC::Message const&, unsigned long) + 373
23  XUL                           	0x000000010033722f mozilla::ipc::MessageChannel::OnMaybeDequeueOne() + 207
24  XUL                           	0x0000000100308b74 MessageLoop::DeferOrRunPendingTask(MessageLoop::PendingTask const&) + 132
25  XUL                           	0x0000000100308e8a MessageLoop::DoWork() + 170
26  XUL                           	0x000000010032b25a base::MessagePumpCFRunLoopBase::RunWorkSource(void*) + 42
27  com.apple.CoreFoundation      	0x00007fff8038d3d1 __CFRunLoopDoSources0 + 1361
28  com.apple.CoreFoundation      	0x00007fff8038b5c9 __CFRunLoopRun + 873
29  com.apple.CoreFoundation      	0x00007fff8038ad8f CFRunLoopRunSpecific + 575
30  com.apple.HIToolbox           	0x00007fff8a4e17ee RunCurrentEventLoopInMode + 333
31  com.apple.HIToolbox           	0x00007fff8a4e15f3 ReceiveNextEventCommon + 310
32  com.apple.HIToolbox           	0x00007fff8a4e14ac BlockUntilNextEventMatchingListInMode + 59
33  com.apple.AppKit              	0x00007fff84414eb2 _DPSNextEvent + 708
34  com.apple.AppKit              	0x00007fff84414801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
35  com.apple.AppKit              	0x00007fff843da68f -[NSApplication run] + 395
36  XUL                           	0x000000010032c233 base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) + 259
37  XUL                           	0x000000010032b7ba base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 138
38  XUL                           	0x000000010030846e MessageLoop::Run() + 78
39  XUL                           	0x0000000101e1be03 XRE_InitChildProcess + 1379
40  org.mozilla.plugincontainer   	0x0000000100000f1d main + 45
41  org.mozilla.plugincontainer   	0x0000000100000ee4 start + 52

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             	0x00007fff85625c0a kevent + 10
1   libSystem.B.dylib             	0x00007fff85627add _dispatch_mgr_invoke + 154
2   libSystem.B.dylib             	0x00007fff856277b4 _dispatch_queue_invoke + 185
3   libSystem.B.dylib             	0x00007fff856272de _dispatch_worker_thread2 + 252
4   libSystem.B.dylib             	0x00007fff85626c08 _pthread_wqthread + 353
5   libSystem.B.dylib             	0x00007fff85626aa5 start_wqthread + 13

Thread 2:
0   libSystem.B.dylib             	0x00007fff8560cd7a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff8560d3ed mach_msg + 59
2   XUL                           	0x0000000101e55889 google_breakpad::ExceptionHandler::WaitForMessage(void*) + 153
3   libSystem.B.dylib             	0x00007fff85645fd6 _pthread_start + 331
4   libSystem.B.dylib             	0x00007fff85645e89 thread_start + 13

Thread 3:
0   libSystem.B.dylib             	0x00007fff85626a98 start_wqthread + 0

Thread 4:  Chrome_ChildThread
0   libSystem.B.dylib             	0x00007fff85625c0a kevent + 10
1   XUL                           	0x00000001002ef444 kq_dispatch + 660
2   XUL                           	0x00000001002dd653 event_base_loop + 1011
3   XUL                           	0x00000001002f2269 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) + 281
4   XUL                           	0x000000010030846e MessageLoop::Run() + 78
5   XUL                           	0x0000000100315613 base::Thread::ThreadMain() + 163
6   XUL                           	0x00000001002f28ca ThreadFunc(void*) + 10
7   libSystem.B.dylib             	0x00007fff85645fd6 _pthread_start + 331
8   libSystem.B.dylib             	0x00007fff85645e89 thread_start + 13

Thread 5:
0   libSystem.B.dylib             	0x00007fff85626a2a __workq_kernreturn + 10
1   libSystem.B.dylib             	0x00007fff85626e3c _pthread_wqthread + 917
2   libSystem.B.dylib             	0x00007fff85626aa5 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000109ff9000  rcx: 0x00007fff5fbfb228  rdx: 0x0000000000000000
  rdi: 0x0000000000002682  rsi: 0x0000000000000006  rbp: 0x00007fff5fbfb240  rsp: 0x00007fff5fbfb228
   r8: 0x0000000000000e03   r9: 0x0000000000000000  r10: 0x00007fff856570fa  r11: 0x0000000000000206
  r12: 0x0000000000000000  r13: 0x0000000108010000  r14: 0x0000000107c61000  r15: 0x0000000109ff90c0
  rip: 0x00007fff8565b0b6  rfl: 0x0000000000000206  cr2: 0x0000000109ffb000

Binary Images:
       0x100000000 -        0x100000ff7 +org.mozilla.plugincontainer ??? (1.0) <EB9E18A4-515C-348F-B25F-35E1F03FAD57> /Applications/Internet/FirefoxNightly.app/Contents/MacOS/plugin-container.app/Contents/MacOS/plugin-container
       0x100003000 -        0x100004fff +libplugin_child_interpose.dylib ??? (???) <905C5F56-EB5F-38DA-B287-0D8D2833598E> /Applications/Internet/FirefoxNightly.app/Contents/MacOS/libplugin_child_interpose.dylib
       0x100007000 -        0x1041adf8f +XUL ??? (???) <094A9F3A-E0AC-36F3-A0B7-A78441A5EE3F> /Applications/Internet/FirefoxNightly.app/Contents/MacOS/XUL
       0x107888000 -        0x107889fff +libmozalloc.dylib ??? (???) <EA203286-430D-330C-A630-EA6DE997B7F4> /Applications/Internet/FirefoxNightly.app/Contents/MacOS/libmozalloc.dylib
       0x10788d000 -        0x107ad4fff +libnss3.dylib ??? (???) <076E16BE-60E7-3DEC-A261-1D53D1711824> /Applications/Internet/FirefoxNightly.app/Contents/MacOS/libnss3.dylib
       0x107c07000 -        0x107c20ff7 +libmozglue.dylib ??? (???) <AD75768D-7C65-3809-B099-E2FD95ABB46A> /Applications/Internet/FirefoxNightly.app/Contents/MacOS/libmozglue.dylib
       0x109fe7000 -        0x109feaff7 +com.macromedia.Flash Player.plugin 13.0.0.214 (13.0.0.214) <15E5E18A-F7EF-300B-A697-19139B8010BF> /Library/Internet Plug-Ins/Flash Player.plugin/Contents/MacOS/Flash Player
       0x10aefe000 -        0x10af04ff7  com.apple.agl 3.0.12 (AGL-3.0.12) <1AB34F57-2E8D-42FB-A484-5CCB928CA456> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
       0x11c743000 -        0x11dc0afd7 +com.macromedia.FlashPlayer-10.6.plugin 13.0.0.214 (13.0.0.214) <9326E723-8BFF-34BE-A45D-285E130C525D> /Library/Internet Plug-Ins/Flash Player.plugin/Contents/PlugIns/FlashPlayer-10.6.plugin/Contents/MacOS/FlashPlayer-10.6
[...]
===========================

This is a repeating crash:

===========================
Process:         plugin-container [9922]
Path:            /Applications/Internet/FirefoxNightly.app/Contents/MacOS/plugin-container.app/Contents/MacOS/plugin-container
Identifier:      org.mozilla.plugincontainer
Version:         ??? (1.0)
Code Type:       X86-64 (Native)
Parent Process:  firefox-bin [9881]

Date/Time:       2014-06-02 17:05:43.855 +0200
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
*** error for object 0x108010000: pointer being freed was not allocated
 

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff8565b0b6 __kill + 10
1   libSystem.B.dylib             	0x00007fff856fb9f6 abort + 83
2   libSystem.B.dylib             	0x00007fff856ea62d szone_error + 519
3   libSystem.B.dylib             	0x00007fff8565634c free_large + 1050
4   libobjc.A.dylib               	0x00007fff8077ba9a NXMapInsert + 358
5   libobjc.A.dylib               	0x00007fff8077a0c5 _read_images + 577
6   libobjc.A.dylib               	0x00007fff80790721 map_images_nolock + 1266
7   libobjc.A.dylib               	0x00007fff80779761 map_images + 115
8   dyld                          	0x00007fff5fc039b9 dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*)) + 853
9   dyld                          	0x00007fff5fc0c839 ImageLoader::link(ImageLoader::LinkContext const&, bool, bool, ImageLoader::RPathChain const&) + 201
10  dyld                          	0x00007fff5fc04d48 dyld::link(ImageLoader*, bool, ImageLoader::RPathChain const&) + 118
11  dyld                          	0x00007fff5fc08f68 dlopen + 490
12  libSystem.B.dylib             	0x00007fff85612e40 dlopen + 61
13  com.apple.CoreFoundation      	0x00007fff80389ef7 _CFBundleDlfcnLoadBundle + 231
14  com.apple.CoreFoundation      	0x00007fff80388e97 _CFBundleLoadExecutableAndReturnError + 1191
15  com.apple.Foundation          	0x00007fff8161f355 _NSBundleLoadCode + 638
16  com.apple.Foundation          	0x00007fff8161ec78 -[NSBundle loadAndReturnError:] + 742
17  ...romedia.Flash Player.plugin	0x00000001089d86ed main + 253
18  ...romedia.Flash Player.plugin	0x00000001089d7bc3 NP_Initialize + 147
19  ...romedia.Flash Player.plugin	0x00000001089d7b53 NP_Initialize + 35
20  XUL                           	0x0000000100f6f30e mozilla::plugins::PluginModuleChild::AnswerNP_Initialize(unsigned int const&, short*) + 78
21  XUL                           	0x0000000100534198 mozilla::plugins::PPluginModuleChild::OnCallReceived(IPC::Message const&, IPC::Message*&) + 4392
22  XUL                           	0x000000010033a045 mozilla::ipc::MessageChannel::DispatchInterruptMessage(IPC::Message const&, unsigned long) + 373
23  XUL                           	0x000000010033722f mozilla::ipc::MessageChannel::OnMaybeDequeueOne() + 207
24  XUL                           	0x0000000100308b74 MessageLoop::DeferOrRunPendingTask(MessageLoop::PendingTask const&) + 132
25  XUL                           	0x0000000100308e8a MessageLoop::DoWork() + 170
26  XUL                           	0x000000010032b25a base::MessagePumpCFRunLoopBase::RunWorkSource(void*) + 42
27  com.apple.CoreFoundation      	0x00007fff8038d3d1 __CFRunLoopDoSources0 + 1361
28  com.apple.CoreFoundation      	0x00007fff8038b5c9 __CFRunLoopRun + 873
29  com.apple.CoreFoundation      	0x00007fff8038ad8f CFRunLoopRunSpecific + 575
30  com.apple.HIToolbox           	0x00007fff8a4e17ee RunCurrentEventLoopInMode + 333
31  com.apple.HIToolbox           	0x00007fff8a4e15f3 ReceiveNextEventCommon + 310
32  com.apple.HIToolbox           	0x00007fff8a4e14ac BlockUntilNextEventMatchingListInMode + 59
33  com.apple.AppKit              	0x00007fff84414eb2 _DPSNextEvent + 708
34  com.apple.AppKit              	0x00007fff84414801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
35  com.apple.AppKit              	0x00007fff843da68f -[NSApplication run] + 395
36  XUL                           	0x000000010032c233 base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) + 259
37  XUL                           	0x000000010032b7ba base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 138
38  XUL                           	0x000000010030846e MessageLoop::Run() + 78
39  XUL                           	0x0000000101e1be03 XRE_InitChildProcess + 1379
40  org.mozilla.plugincontainer   	0x0000000100000f1d main + 45
41  org.mozilla.plugincontainer   	0x0000000100000ee4 start + 52

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             	0x00007fff85625c0a kevent + 10
1   libSystem.B.dylib             	0x00007fff85627add _dispatch_mgr_invoke + 154
2   libSystem.B.dylib             	0x00007fff856277b4 _dispatch_queue_invoke + 185
3   libSystem.B.dylib             	0x00007fff856272de _dispatch_worker_thread2 + 252
4   libSystem.B.dylib             	0x00007fff85626c08 _pthread_wqthread + 353
5   libSystem.B.dylib             	0x00007fff85626aa5 start_wqthread + 13

Thread 2:
0   libSystem.B.dylib             	0x00007fff8560cd7a mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff8560d3ed mach_msg + 59
2   XUL                           	0x0000000101e55889 google_breakpad::ExceptionHandler::WaitForMessage(void*) + 153
3   libSystem.B.dylib             	0x00007fff85645fd6 _pthread_start + 331
4   libSystem.B.dylib             	0x00007fff85645e89 thread_start + 13

Thread 3:  Dispatch queue: NSOperation low-priority concurrency-limiting queue
0   libSystem.B.dylib             	0x00007fff8560cdb6 semaphore_wait_trap + 10
1   libobjc.A.dylib               	0x00007fff8078a98a lockForMethodLookup + 106
2   libobjc.A.dylib               	0x00007fff80784ccd lookUpMethod + 93
3   libobjc.A.dylib               	0x00007fff8077cfaa objc_msgSend + 198
4   com.apple.Foundation          	0x00007fff816ec05a __cfrelease_object_b_oq_1 + 14
5   libSystem.B.dylib             	0x00007fff85740f7f _dispatch_async_f_redirect2 + 97
6   libSystem.B.dylib             	0x00007fff856272d1 _dispatch_worker_thread2 + 239
7   libSystem.B.dylib             	0x00007fff85626c08 _pthread_wqthread + 353
8   libSystem.B.dylib             	0x00007fff85626aa5 start_wqthread + 13

Thread 4:  Chrome_ChildThread
0   libSystem.B.dylib             	0x00007fff85625c0a kevent + 10
1   XUL                           	0x00000001002ef444 kq_dispatch + 660
2   XUL                           	0x00000001002dd653 event_base_loop + 1011
3   XUL                           	0x00000001002f2269 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) + 281
4   XUL                           	0x000000010030846e MessageLoop::Run() + 78
5   XUL                           	0x0000000100315613 base::Thread::ThreadMain() + 163
6   XUL                           	0x00000001002f28ca ThreadFunc(void*) + 10
7   libSystem.B.dylib             	0x00007fff85645fd6 _pthread_start + 331
8   libSystem.B.dylib             	0x00007fff85645e89 thread_start + 13

Thread 5:
0   libSystem.B.dylib             	0x00007fff85626a2a __workq_kernreturn + 10
1   libSystem.B.dylib             	0x00007fff85626e3c _pthread_wqthread + 917
2   libSystem.B.dylib             	0x00007fff85626aa5 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00000001089f6000  rcx: 0x00007fff5fbfaea8  rdx: 0x0000000000000000
  rdi: 0x00000000000026c2  rsi: 0x0000000000000006  rbp: 0x00007fff5fbfaec0  rsp: 0x00007fff5fbfaea8
   r8: 0x0000000000000e03   r9: 0x0000000000000000  r10: 0x00007fff856570fa  r11: 0x0000000000000202
  r12: 0x0000000000000000  r13: 0x0000000108010000  r14: 0x0000000107c61000  r15: 0x00000001089f60c0
  rip: 0x00007fff8565b0b6  rfl: 0x0000000000000202  cr2: 0x00000001089f8000

Binary Images:
       0x100000000 -        0x100000ff7 +org.mozilla.plugincontainer ??? (1.0) <EB9E18A4-515C-348F-B25F-35E1F03FAD57> /Applications/Internet/FirefoxNightly.app/Contents/MacOS/plugin-container.app/Contents/MacOS/plugin-container
       0x100003000 -        0x100004fff +libplugin_child_interpose.dylib ??? (???) <905C5F56-EB5F-38DA-B287-0D8D2833598E> /Applications/Internet/FirefoxNightly.app/Contents/MacOS/libplugin_child_interpose.dylib
       0x100007000 -        0x1041adf8f +XUL ??? (???) <094A9F3A-E0AC-36F3-A0B7-A78441A5EE3F> /Applications/Internet/FirefoxNightly.app/Contents/MacOS/XUL
       0x107888000 -        0x107889fff +libmozalloc.dylib ??? (???) <EA203286-430D-330C-A630-EA6DE997B7F4> /Applications/Internet/FirefoxNightly.app/Contents/MacOS/libmozalloc.dylib
       0x10788d000 -        0x107ad4fff +libnss3.dylib ??? (???) <076E16BE-60E7-3DEC-A261-1D53D1711824> /Applications/Internet/FirefoxNightly.app/Contents/MacOS/libnss3.dylib
       0x107c07000 -        0x107c20ff7 +libmozglue.dylib ??? (???) <AD75768D-7C65-3809-B099-E2FD95ABB46A> /Applications/Internet/FirefoxNightly.app/Contents/MacOS/libmozglue.dylib
       0x1089d7000 -        0x1089daff7 +com.macromedia.Flash Player.plugin 13.0.0.214 (13.0.0.214) <15E5E18A-F7EF-300B-A697-19139B8010BF> /Library/Internet Plug-Ins/Flash Player.plugin/Contents/MacOS/Flash Player
       0x1089e8000 -        0x1089eeff7  com.apple.agl 3.0.12 (AGL-3.0.12) <1AB34F57-2E8D-42FB-A484-5CCB928CA456> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
       0x11d18d000 -        0x11e654fd7 +com.macromedia.FlashPlayer-10.6.plugin 13.0.0.214 (13.0.0.214) <9326E723-8BFF-34BE-A45D-285E130C525D> /Library/Internet Plug-Ins/Flash Player.plugin/Contents/PlugIns/FlashPlayer-10.6.plugin/Contents/MacOS/FlashPlayer-10.6
[...]
===========================
Flags: needinfo?(dearbear)
Try restarting your computer ... especially if you haven't done this for a day or two.

Also try creating a new account (in the Users & Prefs system pref panel), logging in to it and running Firefox there.
Before producing the log above I did restart the computer (within 2-3 hours).

But just to make sure everything was clean, I created a test user (a standrad one without admin rights), then I restarted the system, logged in and started nightly with the above mentioned pages and I still faced the same issue as before.
I'm stumped.

But it's worth noting that both kinds of crashes are in Flash code.  Jeromie, do you have any ideas?
Flags: needinfo?(jeclark)
I am also having this issue. (I filed the duplicate bug 1019387.) Let me know if you need additional diagnostics.
This is actually a recent regression, so it's at least partly Firefox's fault.

It only happens on OS X 10.6.X.

It started happening with the 2014-05-24-03-02-04-mozilla-central nightly, which gives the following regression range:

http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=e9b2b72f4e6c&tochange=f2f81e83f4ff
Status: UNCONFIRMED → NEW
Ever confirmed: true
I can't find any obvious possible culprits in the regression range from comment #12.
Flags: needinfo?(jeclark)
By the way, I tested (and was able to reproduce these crashes) with an older version of the Flash plugin -- 13.0.0.206.  So this doesn't just happen with the current Flash version (13.0.0.214).
Summary: ReportCrash (apple coreservices) consuming 100% CPU when webpages with flash videos are opened in Nightly 32.0a1 → Flash plugin crashes repeatedly on OS X 10.6
Severity: normal → critical
Interestingly, these crashes don't happen if you run FF in 32-bit mode.
Hardware: x86 → x86_64
Does Mozilla officially support 64-bit Firefox on Mac?  Last time I checked, 64-bit Firefox was experimental and unsupported.
Yes, 64-bit Firefox has been the primary version for several years on mac. We still build a 32/64 universal build for people with older hardware or incompatible plugins.
That totally makes sense, thanks.  

I hadn't caught the comments on 1019387 indicating that this was a regression in Firefox.  Please let me know if you need additional input from us.  

Using: Firefox 32.0a1 (2014-06-02) and Adobe Flash 13.0.0.214 (latest)
This bug was introduced in one of the Nightlies between 5/26 and 5/29; there were no problems prior to this.

The bug is triggered by activating the Flash plugin on any page with Flash content. When this is done, the browser becomes unresponsive. After a while, the "this script is taking too long" dialog pops up; however, choosing to stop the script doesn't do anything.

The OS X Activity Monitor shows that (immediately after Flash is activated), the system process ReportCrash (/System/Library/CoreServices/ReportCrash) begins taking up 100% of the CPU. In fact, it seems that there are multiple crash reports being spawned, one after the other. The list of open files for this process shows many calls to system libraries, but also several Firefox libraries:

- /Applications/FirefoxNightly.app/Contents/MacOS/XUL
- /Applications/FirefoxNightly.app/Contents/MacOS/libmozalloc.dylib
- /Applications/FirefoxNightly.app/Contents/MacOS/libmozglue.dylib
- /Applications/FirefoxNightly.app/Contents/MacOS/XUL
- /Applications/FirefoxNightly.app/Contents/MacOS/libnss3.dylib
> This bug was introduced in one of the Nightlies between 5/26 and 5/29

This isn't true.  The actual regression range is in comment #12.
The change that sticks out for me in comment 12 is the jemalloc/replace-jemalloc stuff from bug 1014300. Unless that doesn't affect mac builds?
Flags: needinfo?(mh+mozilla)
Less likely: Bug 1014961 (Mac IOSurface RGB/BGR)
Yup, it's the replace-jemalloc stuff.  The following patch is the trigger:

 Bug 999913 - Enable replace-malloc on nightly builds. r=mshal
author	Mike Hommey <mh+mozilla@glandium.org>
	Thu May 01 10:57:48 2014 +0900 (at Thu May 01 10:57:48 2014 +0900)

http://hg.mozilla.org/mozilla-central/rev/a9f95997fe57

A simple fix would be to disable replace-jemalloc on OS X 10.6.
Blocks: 999913
Summary: Flash plugin crashes repeatedly on OS X 10.6 → Flash plugin crashes repeatedly on OS X 10.6 with replace-jemalloc turned on
replace-jemalloc isn't just causing plugin crashes.  See bug 1019881.
I expect that any 64-bit plugin would crash on OS X 10.6 like the Flash plugin does ... but I haven't been able to find any examples to test with.
(In reply to Mike Hommey [:glandium] from comment #25)
> Can you try this build?
> http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/mh@glandium.org-9e83137263e6/try-macosx64/firefox-32.0a1.en-US.mac.dmg

I tried it, and the crash still happens with this build.
I have also tried it without success. The problem is still present on my computer also.
(In reply to comment #25)

I see exactly the same symptoms with this build as with current m-c nightlies.  The Flash plugin crashes when loaded, and Cmd-o triggers a crash (bug 1019881).  Neither problem happens running the build in 32-bit mode.

So it seems that jemalloc3 doesn't work properly on OS X 10.6.
Mike, can you take this bug as a regression of bug 999913?
Flags: needinfo?(mh+mozilla)
Priority: -- → P2
See bug 1019881
Flags: needinfo?(mh+mozilla)
(Note this only affects nightly, and doesn't ride the trains)
Ah, thanks, i missed that part.
Depends on: 1019881
Priority: P2 → P3
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.