Apple launches Apple Store app in India

The Apple Store app provides customers with the most personalized way to shop for Apple’s innovative lineup of products and services. Learn more >

You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Final Cut Pro constantly beachballing and hanging at nearly every action

I don't know if it is action-specific, mostly because it happens so frequently that I can't even get 3 or 4 simple cuts with the blade tool and it hangs, never coming out of it, I have to force quit. It has also happened while duplicating a project. What I've tried:

  • I have deleted FCP entirely, including all caches, preferences, containers, and application support and did a fresh install.
  • I have disconnected every USB drive except my FCP Library drive.
  • I have verified with Blackmagic Speed Test that the drive is operating fine, and can easily handle the video I'm editing.
  • I have plenty of disk space on both my internal drive and the external Library.
  • I've scoured all locations for Google Keystone garbage, no traces I can find, and Chrome isn't installed.
  • I've turned off background rendering in FCP


I could really use some suggestions. EtreCheck report attached.


MacBook Pro 14″, macOS 15.1

Posted on Dec 10, 2024 5:16 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 22, 2024 1:31 PM

Derek, the spindump indicates that during a blade edit operation, an audio effect initiated a failure cascade that hung the main UI thread. Sequence:

  • The operation started as a blade edit (-[TLKSplitItemsHandler splitAtCurrentLocation:])
  • This triggered an audio unit effect activation (-[FFAudioUnitEffect effectActivated:])
  • The hang occurred during parameter synchronization in AudioUnitGetParameter
  • The thread is stuck waiting for a response from an XPC service call (mach_msg2_trap)


Multiple audio processing threads are involved, suggesting a complex audio effect chain. This pattern suggests the hang may be due to one of these scenarios:


  1. An audio unit (effect/plugin) is not responding properly during the parameter retrieval
  2. There's a deadlock in the audio processing chain during the effect state copying
  3. The XPC communication with the audio service is timing out. With Apple Silicon, all third-party plugins must be run in a separate host process and communicate with FCP via XPC calls. This reduces the chance of a buggy plugin crashing/hanging FCP, but does not totally prevent it.
  4. Verify you are not running FCP itself in Rosetta2. Some misguided audio Fx vendors have not updated their AU effects to Apple Silicon and have covertly given guidance to customers to run FCP under Rosetta, which enables the use of their x86 plugin without them updating it to Apple Silicon. However, this often results in instability. Use Activity Monitor's CPU tab and examine FCP in the "Kind" column. That should say "Apple", not "Intel."


Suggestions:


  • Reboot MacOS -- it's been up for 10 days
  • Remove all possible audio effects and examine behavior
  • Duplicate the timeline, open the duplicate, select all clips with CMD+A, remove all audio effects with Edit>Remove Attributes>(select effects to remove). Examine behavior.
16 replies
Question marked as Top-ranking reply

Dec 22, 2024 1:31 PM in response to Derek Jones3

Derek, the spindump indicates that during a blade edit operation, an audio effect initiated a failure cascade that hung the main UI thread. Sequence:

  • The operation started as a blade edit (-[TLKSplitItemsHandler splitAtCurrentLocation:])
  • This triggered an audio unit effect activation (-[FFAudioUnitEffect effectActivated:])
  • The hang occurred during parameter synchronization in AudioUnitGetParameter
  • The thread is stuck waiting for a response from an XPC service call (mach_msg2_trap)


Multiple audio processing threads are involved, suggesting a complex audio effect chain. This pattern suggests the hang may be due to one of these scenarios:


  1. An audio unit (effect/plugin) is not responding properly during the parameter retrieval
  2. There's a deadlock in the audio processing chain during the effect state copying
  3. The XPC communication with the audio service is timing out. With Apple Silicon, all third-party plugins must be run in a separate host process and communicate with FCP via XPC calls. This reduces the chance of a buggy plugin crashing/hanging FCP, but does not totally prevent it.
  4. Verify you are not running FCP itself in Rosetta2. Some misguided audio Fx vendors have not updated their AU effects to Apple Silicon and have covertly given guidance to customers to run FCP under Rosetta, which enables the use of their x86 plugin without them updating it to Apple Silicon. However, this often results in instability. Use Activity Monitor's CPU tab and examine FCP in the "Kind" column. That should say "Apple", not "Intel."


Suggestions:


  • Reboot MacOS -- it's been up for 10 days
  • Remove all possible audio effects and examine behavior
  • Duplicate the timeline, open the duplicate, select all clips with CMD+A, remove all audio effects with Edit>Remove Attributes>(select effects to remove). Examine behavior.

Dec 11, 2024 1:25 AM in response to Derek Jones3

You do have at least some remnants to the keystone stuff:



  [Not Loaded] com.google.keystone.agent.plist (Not signed - installed 2024-11-14)
    <Empty>

  [Not Loaded] com.google.keystone.xpcservice.plist (Not signed - installed 2024-11-14)
    <Empty>


  [Not Loaded] com.google.GoogleUpdater.wake.plist (Google LLC - installed 2024-07-31)
    Command: ~/Library/Application Support/Google/GoogleUpdater/Current/GoogleUpdater.app/Contents/MacOS/GoogleUpdater --wake-all --enable-logging --vmodule=*/components/update_client/*=2,*/chrome/updater/*=2



Also, you seem to have both Google Drive and DropBox.


Make sure that you are not using your libraries or media in any file location that is actively being synced to an online storage.


You have plenty of stuff from homebrew. This may or not be all right - sometimes different versions of some libraries are installed with homebrew and they may be used instead of the system ones, causing a big mess.


There was a kernel panic. This could be a hardware problem, but it seems more likely to be related to some of the installed daemons or extensions.

Dec 13, 2024 4:53 AM in response to Derek Jones3

On 2024-11-13 you had a kernel panic, which is normally an OS or hardware problem. However that was a month ago. Your disk space is adequate.


Please reproduce the FCP hang problem and take a spindump on FCP and post that on a file sharing site I can access. To take the spindump, during the beachball phase, select the FCP process in Activity Monitor and press CTRL+OPT+CMD+S. That will take about 10-15 sec to run, so practice the procedure in advance to ensure it completes while FCP is in the beachball state.


Your description implies it's easy to reproduce, so at least it's easy to get troubleshooting data. Please do the above procedure twice and send me two spindumps, that way I can compare them.

Jan 9, 2025 4:55 PM in response to Derek Jones3

Derek were the RX plugins iZotope RX? If so, what version? I vaguely remember some past versions of the iZotope RX plugins would destabilize FCP, but that was a few years ago.


I just upgraded to RX 11 Advanced, and it installed a bunch of FCP plugins, but I haven't tested them thoroughly yet. In general, due to fear of stability problems, I only use the external iZotope RX app, not the plugins.

Dec 12, 2024 1:07 PM in response to Luis Sequeira1

Thanks for looking. I saw the Keystone and Google files too and was concerned but they do indicate that they are not loaded, but I deleted all of them EtreCheck indicated. Not sure how they came back, does Google Drive install that junk too? Unfortunately my client uses GDrive for all original media and communication for their projects. But I definitely do not use those files in FCP, I copy them to my SSD, then add them to my FCP project, and work from consolidated media in my library exclusively.


I went through and got rid of a TON of old apps and lingering extensions and plugins, whether loaded or not, so that was a good review. Then I restarted, launched FCP only, made one cut and it immediately hung again :(


Here's an updated report from EtreCheck. It's no longer saying that my MacBook is taking too long to run the report 😅. I don't have any performance issues in general, incidentally, I'm guessing that was from having such a long list of apps and plugins to scan before.


I should add that no other actions in FCP cause it. I can playback, move the playhead, edit clip properties, add and delete clips from the timelines, add effects and transitions, etc. It ONLY happens when making a cut.


Dec 23, 2024 10:33 AM in response to joema

Thank you very much for this detailed response, I saw that "splitAtCurrentLocation" and followed it to it being some sort of AU issue perhaps, but is far as I got.


So I have now:


  • removed a TON of unused launch items and apps
  • removed ALL AudioUnits Components except mission critical (iZotope RX)—I have over 100 related to working in Ableton, but it uses VSTs and FCP does not, so I thought that would help isolate the issue without impacting either environment.
  • confirmed that FCP is running natively and not under Rosetta
  • cleared all caches, rebooted, and verified that neither macOS nor FCP are loading any AUs except RX


Unfortunately, my timeline is all synchronized and multicam clips that have base effects (vocal compression, de-mouth-clicks, de-esser) applied across the board, so without clicking into 500 or so individual cuts, I don't see a way to easily remove the effects on this project. Unless there is a way to remove effects from the master clips all at once in addition to the ones applied on the timeline(?), I will have to drudge through this project and try your suggestion on the next. Or could it be simulated by temporarily moving the RX components out of the plugins folder, rebooting, and loading the project without those AU effects being available?

Dec 23, 2024 12:09 PM in response to Derek Jones3

I only examined the FCP portion of your spindumps. Upon closer study, a separate process AUHostingServiceXPC_arrow runs your plugins, which in turn communicates via XPC to a VST "wrapper" plugin within the FCP address space, which presents the appearance of AUs to FCP. Actual AUs can run within FCP's address space, which is a different scheme than video plugins which FXPlug4 mandates must be out-of-process. However your spindumps did not show in-process AU plugins.


However -- at the time of the spindump when FCP was hung, the separate process AUHostingServiceXPC_arrow was deranged, and was running 269 threads related to audio plugins.


Even though the separate process attempts to isolate FCP from a buggy plugin, if the AU host process goes completely crazy, that can crash FCP.


FCP still needs to maintain tight synchronization with that AU host process for real-time audio processing.


This communication happens through XPC messages that must be handled on both sides. If something disrupts this careful dance, problems cascade quickly. The presence of 269 threads suggests each plugin instance might have created multiple threads for processing. While these threads run in the separate hosting process, FCP still needs to:


  • Maintain XPC connections to each plugin instance
  • Manage shared memory regions for audio data transfer
  • Handle synchronization messages and callbacks
  • Coordinate timing and buffer management
  • Process UI updates based on plugin parameter changes


If the hosting service becomes overwhelmed (perhaps due to those 269 threads competing for resources), it might stop responding to FCP's messages promptly. FCP, waiting for these responses, could:


  • Block its audio processing thread while waiting for data
  • Deadlock while trying to synchronize multiple plugin responses
  • Run out of buffer space while waiting for processed audio
  • Become unresponsive while trying to maintain XPC connections


A suite of plugins can work more-or-less OK on a given version of MacOS and FCP, then the updated OS or FCP may expose existing problems or compatibility issues with the plugins, which just never manifested. In general the OS or app (FCP) cannot be updated to fix a plugin problem, rather the plugin must be fixed whenever cases like this are encountered.


What is the history of this problem? Did it start upon upgrading a MacOS or FCP version?


It would be a good idea to update all audio plugins to the latest versions. That is a typical procedure when a plugin incompatibility is encountered.

Dec 12, 2024 10:48 PM in response to Derek Jones3

Then I restarted, launched FCP only, made one cut and it immediately hung again

Derek Jones3 is a 2021 model and my MacBookPro is a 2020 model. These are old people who are on the verge of being excluded from development. Even with the latest OS, the old system remains all over the place, so I don't think throwing away apps and plugins will solve the problem.


I think the cause of the crash is complex and not just a problem with FCP. Also consider doing a clean install of a stable old OS (Sonoma/Ventura).

Jan 8, 2025 2:40 PM in response to joema

Thank you joema for your help. I finally had a clean project this week and by working through these things systematically I determined it was indeed the use of RX as plugins in the project. This last project I exported to the RX app and reimported the final audio into the timeline. Not a single hang or hiccup. Not sure why they offer these as AUs if they are going to cause so many problems when actually used. ¯\_(ツ)_/¯

Jan 8, 2025 2:47 PM in response to joema

Thank you joema for your help. I finally had a clean project this week and by working through these things systematically I determined it was indeed the use of RX as plugins in the project. This last project I exported to the RX app and reimported the final audio into the timeline. Not a single hang or hiccup. Not sure why they offer these as AUs if they are going to cause so many problems when actually used. ¯\_(ツ)_/¯

Final Cut Pro constantly beachballing and hanging at nearly every action

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.