Open Bug 1752507 Opened 3 years ago Updated 2 years ago

Firefox Hangs on Launch on macOS 12.3 beta With Unsupported Security Settings

Categories

(Core :: Widget: Cocoa, defect, P3)

Firefox 97
defect

Tracking

()

UNCONFIRMED

People

(Reporter: leo.natan, Unassigned)

Details

Attachments

(1 file)

Attached file FirefoxSample.txt

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15

Steps to reproduce:

I updated my arm64 M1 Max MBP macOS to 12.3 beta.

Actual results:

Firefox hangs on launch. See attached process sample. The issue reproduces with standard Firefox 96 and Firefox Beta 97.

Expected results:

Should work.

I've also opened FB9861639 with Apple for this issue.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Cocoa' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Widget: Cocoa
Product: Firefox → Core

Do any of the suggestions in this article help? https://support.mozilla.org/en-US/kb/firefox-hangs-or-not-responding

Severity: -- → S2
Flags: needinfo?(leo.natan)
Priority: -- → P2

I have just upgraded my machine to macOS 12.3 beta as well and I'm unable to reproduce.

I don't think that link is relevant. Firefox hangs on launch, and cannot be used at all. CPU usage isn't high, and it seems from the process sample like it is stalled with a pthread_cond_wait deadlock.

Starting Firefox with -safe-mode launch argument reproduces the issue.

If you want me to run a debug build, I am willing to.

Flags: needinfo?(leo.natan)

I see this in the log:

[Parent 6864, IPC Launch #1] WARNING: parent MachReceivePortSendRight failed: 0x10004003 (ipc/rcv) timed out: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:1308
[Parent 6864, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:756
[Parent 6864, IPC Launch #1] WARNING: parent MachReceivePortSendRight failed: 0x10004003 (ipc/rcv) timed out: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:1308
[Parent 6864, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:756
[Parent 6864, IPC Launch #1] WARNING: parent MachReceivePortSendRight failed: 0x10004003 (ipc/rcv) timed out: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:1308
[Parent 6864, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:756
[Parent 6864, IPC Launch #1] WARNING: parent MachReceivePortSendRight failed: 0x10004003 (ipc/rcv) timed out: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:1308
[Parent 6864, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:756
[Parent 6864, IPC Launch #1] WARNING: parent MachReceivePortSendRight failed: 0x10004003 (ipc/rcv) timed out: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:1308
[Parent 6864, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:756
[Parent 6864, IPC Launch #1] WARNING: parent MachReceivePortSendRight failed: 0x10004003 (ipc/rcv) timed out: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:1308
[Parent 6864, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:756
[Parent 6864, IPC Launch #1] WARNING: parent MachReceivePortSendRight failed: 0x10004003 (ipc/rcv) timed out: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:1308
[Parent 6864, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:756
[Parent 6864, IPC Launch #1] WARNING: parent MachReceivePortSendRight failed: 0x10004003 (ipc/rcv) timed out: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:1308
[Parent 6864, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:756

This seems related to amfi_get_out_of_my_way=1 bootarg. I have another issue that has not been looked at by Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1722827

Seeing as only Firefox suffers from these issues with amfi_get_out_of_my_way=1 on Monterey, I'd say Firefox has become very hostile to my environment.

Severity: S2 → S4
Priority: P2 → P3
Summary: Firefox Hangs on Launch on macOS 12.3 beta → Firefox Hangs on Launch on macOS 12.3 beta With Unsupported Security Settings

i am also using amfi_get_out_of_my_way=1 and firefox hangs on launch. after some time i can click something, however every interaction causes another hang (with spinning beachball for > 10sek). websites don't open at all. i am on macOS Ventura 13.3.1

Interestingly, LibreWolf is working without issue. I was trying it out since i need Firefox on my mac. it is in sync with the lastest firefox version - so whatever is causing the problem is related to what LibreWolf is removing: https://librewolf.net

For me, adding the following boot arg fixed the issue:

ipc_control_port_options=0

thanks! that works. that should narrow down the issue significantly for whoever is fixing this

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: