fbpx
fcp.co logo transparent
fcp clapperboard
Welcome, Guest
Username: Password: Remember me
{JFBCLogin}
25 Jan 2021
New boarders will have their posts moderated - Don't worry if you cannot see your post immediately.
Read More...
  • Page:
  • 1

TOPIC:

FCPX is crashing on a 2hr 4K timeline 29 Jul 2021 15:03 #115573

I cut down the timeline and removed 45 mins of my time line, still fcpx crashed.
Big Sur
10.5.4
I used to run on Mojave and my machine is constantly crashing, took it apple store they changed the logic board. When I try to run the same time line it was crashing and one of the Genius Bar technican told me it is due to power, so I have remove the cable from surge protector and plugged into the wall. Now I don't have crashes due to power but I am getting various crashes.

I removed the audio plugin which was the culprit for the crashes and I made sure that there is no clip in my timeline refers to the plugin removed which was the culprit.

Now I reduced the timeline, removed the plugins, still I am getting crashed but this time the messages are different. Any help in guiding to identify the issue will be greatly appreciated

Audio Plug -- Accusonus ERA5

I will attach the core dump in the attachment section.

Thanks
Attachments:

Please Log in to join the conversation.

FCPX is crashing on a 2hr 4K timeline 29 Jul 2021 16:09 #115574

  • joema
  • joema's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 1967
  • Karma: 27
  • Thank you received: 456
Thread 32 crashed due to memory heap corruption. That doesn't mean damaged RAM. An application uses memory in four main categories: code, data, stack and heap. The heap is the portion that is dynamically allocated. To try and protect from programming errors the heap is fenced by "guard values". If those are changed, then some thread within the app did that inappropriately.

Since any thread within an app has full access to all of the app's memory, any plugin thread can crash the entire app. The exception is some brand new plugins that have moved to the FxPlug 4 framework which run in a separate host process. You could ask why did they design it that way, but the debate over in-process vs out-of-process extensions is an old one in computer science that dates back many decades.

I don't see any "usual suspects" of poorly-behaved plugins but the crash dump was converted to a .PDF which wrapped lines and is difficult to read.

I suggest you make a duplicate of the timeline, open that duplicate timeline, then remove all effects by CMD+A to select all clips, and Edit>Remove Effects to remove those. Then do operations on that clean timeline with no effects and see if it crashes.

If it does not, then repeat the above procedure but remove effects on 1/2 of the timeline, then the other 1/2, then 1/4, etc, until you find what region is implicated.

Unfortunately some plugins and effects will be in FCP memory even if they are not used on any clip. So the above procedure is not guaranteed to find the problem, but it is a common troubleshooting method.

Other possible steps include resetting FCP preferences (#11 on this page): support.apple.com/en-us/HT203477 

Also create a new MacOS user ID, log in to that and see if FCP crashes. Sometimes problems are isolated to a certain Mac user ID.

Other details seen in log:

iMac 19,1 6-core, i5, 3.7Ghz, 32GB, Radeon Pro 580X (2019 iMac 27)AirPort wireless card27 Bluetooth devicesSerial ATA Device: APPLE HDD ST2000DM001, 2 TB
FCP 10.5.4MacOS 11.5.1Crashed thread 32
Final Cut Pro(855,0x700002c9f000) malloc: Heap corruption detected, free list is damaged at 0x600002697a40*** Incorrect guard value: 242245113707076
FxFactoryLogicUIKitLots of audio references

Please Log in to join the conversation.

FCPX is crashing on a 2hr 4K timeline 29 Jul 2021 16:21 #115575

Thanks for your input

Following are my comments
I have removed the audio plugin altogether from the system and made sure that the effects selection are removed from the clips. Also I have created a new user and removed all the plugins from the timeline. I will try your suggestions and post it here.

Looks like to me, fcpx issue but I want to rule hardware issue because I just got the logic board replaced and cleanuped my Mac and installed Big Sur.

I will upload the dump in a text file for your reference.

Regards
Satish
Attachments:

Please Log in to join the conversation.

FCPX is crashing on a 2hr 4K timeline 29 Jul 2021 16:37 #115576

Hi Joema,
Thanks for your quick response and really appreciate it. Following are the activities that I have already performed

1) Created a new user and run the export from the new user.. even after that it is failing
2) Recently got the logic board replaced
3) Apologize for the dump in PDF, will reattach it in txt format.

I will try to remove all the effects and run the export and see how it works and update the forum

Thanks
Satish
Attachments:

Please Log in to join the conversation.

FCPX is crashing on a 2hr 4K timeline 29 Jul 2021 22:43 #115579

  • joema
  • joema's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 1967
  • Karma: 27
  • Thank you received: 456
Please attach any new crash logs so I can compare them.

Are you using Apple or 3rd-party RAM? We just had a case where we spent a huge amount of time trying to debug a crash which was later traced to 3rd-party RAM.

Can you describe what you are doing when it crashes? Is it the same user action or is anything in common in the user actions? Thread 31 implies there was a Compressor operation in progress, and thread 30 says a background sharing operation was happening.

Do you have FCP background rendering enabled? Try disabling that in FCP preferences>General>Playback. Then delete any render files by File>Delete Generated Library Files>Delete Render Files>All. Try the operation without any render files.

Deleting render files does not delete all cached items such as analysis files, optical flow files, waveforms, etc. To delete those, select the library in FCP and in Inspector use Storage Locations>Modify Settings>Cache and place the cache in a separate folder (ideally on your fastest drive). Subsequently you can safely delete the .fcpcache bundle in that folder. That is in case there might be a corrupt generated file.

You have installed FxFactory, so make sure that is updated to the latest version. If it still crashes, use the below instructions to completely uninstall FxFactory (that is just a test, not permanently):
fxfactory.com/support/

This Larry Jordan article discusses how to manually delete plugins: larryjordan.com/articles/how-to-remove-p...rom-final-cut-pro-x/

Please Log in to join the conversation.

FCPX is crashing on a 2hr 4K timeline 30 Jul 2021 02:30 #115580

Hi,
I am using a third party RAM not an apple RAM, my RAM is 32 GB not sure about the Vendor.

3.7GHz 6-core 9th-generation Intel Core i5 processor, Turbo Boost up to 4.6GHz8GB 2666MHz DDR4 memoryRadeon Pro 580X with 8GB of GDDR5 memory2TB Fusion Drive storage
I am not sure why the background rendering is happening during import, I normally uncheck that every time before I export the timeline. Also I delete all the render files from the project before exporting. I have not cleared the cache files which I can give a try. I have got 7 to 8 panic alert and I gave up and took the computer to Apple to look at it why it is unstable. During export or after the export failure if I use my browser the system crash.

I followed your direction and removed all the effects so there is no effect including a color correction in the timeline. After that, my system crashed a couple of times. I also got an export failure i.e, it is not able to write to file not sure how to debug that issue. I have around 920 GB of space free in the local hard drive and the output file is only 42 GB. I tried the same in the external drive also, the same result.

I have removed half of the timeline and got at least two panics and I wasted almost two days where I cant able to export a single time due to which I took it back to the Apple store to figure out why the export is making the system so unstable and any operation after that results in system crash.

I will not get the computer for another two to three days and hopefully, I can try the cache suggestion you have made.

I have not installed any fx factory for the new user and I haven't removed it either. As I said before I removed all the text labels and audio plugin accusonus ERA5 which I thought was the culprit for the export failures but I am unable to confirm it.

Do you think another vendor's memory is an issue? I can get a set of Apple memory if needed.

OWC 32.0GB (2 x 16GB) 2666MHz DDR4 PC4-21300 SO-DIMM 260 Pin Memory Upgrade, (OWC2666DDR4S32P), for 2018 Mac Mini (macmini18,1), 2019 27 inch iMac (iMac19,1) and PC laptops

I have created a new destination for 4K from the compressor and I expose it so that when I try to share my timeline I use the 4K destination that I have created using Compressor. I always use the same destination while sharing which is a 3840x2160 59.94 frames at the rate of 35K.


Thank you so much for your time and appreciate all your inputs.

Please Log in to join the conversation.

Last edit: by satishbala.

FCPX is crashing on a 2hr 4K timeline 30 Jul 2021 13:22 #115582

  • joema
  • joema's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 1967
  • Karma: 27
  • Thank you received: 456

....During export or after the export failure if I use my browser the system crash...I have removed half of the timeline and got at least two panics and I wasted almost two days where I cant able to export a single time due to which I took it back to the Apple store to figure out why the export is making the system so unstable and any operation after that results in system crash....I will not get the computer for another two to three days and hopefully, I can try the cache suggestion you have made....Do you think another vendor's memory is an issue? I can get a set of Apple memory if needed.....

If the entire system ever has a kernel panic or totally hangs, that is not an FCP problem and cannot be fixed at the FCP level. Re 3rd-party RAM, a lot of people use that with success. However in this case, we spent a huge amount of time going through crash logs, chasing plugins, trying various things at the FCP level, only to positively identify the cause as 3rd-party RAM. Fortunately the OP posted the resolution which enabled making that determination: www.fcp.co/forum/4-final-cut-pro-x-fcpx/...-kernel-crash#115454 

That does not mean in your case it is RAM, but your problem is apparently not caused by FCP, rather FCP is the victim of a lower-level system instability. Temporarily replacing the 3rd-party RAM with Apple RAM would be a reasonable troubleshooting step, given the symptoms. The problem could be hardware, config or kernel-mode drivers. You can run this terminal command to inspect what 3rd-party kernel-mode drivers are loaded:

kmutil inspect | grep -v com.apple

Re hardware, the Genius Bar has access to much more rigorous "bench diagnostics" which if needed can be run overnight or over multiple days. They may resist doing this unless you insist. I had a 2015 iMac 27 which was spontaneously rebooting and it only failed diagnostics when they were run overnight by the Genius Bar.

Please Log in to join the conversation.

Last edit: by joema.

FCPX is crashing on a 2hr 4K timeline 30 Jul 2021 14:54 #115583

  • VidGreg
  • VidGreg's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 998
  • Karma: 28
  • Thank you received: 207
In the past I have used either Memtest for Mac or Rember (GUI Memtest) for testing RAM. You can set # of times each RAM chip is tested / repeats or let test process run for awhile. This has been a good way to stress test RAM as sometimes it can be intermittent hence overnight runs may cause crash. Repeatedly hitting the RAM chips should cause bad memory to surface.
Generally this gets your Mac running and fans blazing.

Not sure if it works in new M1, but should work on i5 Intel Macs.

Hope this Helps, Greg

Please Log in to join the conversation.

FCPX is crashing on a 2hr 4K timeline 02 Aug 2021 01:26 #115610

I have given the computer to apple and after 3 days, they acknowledged memory issues when the CPU is maxing out which is strange,. I haven't seen that personally but they're able to reproduce and they're reaching out to their engineering team for malloc issues. In the meanwhile, they're ordering apple memory chips and want to rule out that it is not an OWC memory issue.. Will keep updating this thread based on the progress.. Thanks for all the inputs, I will validate all the inputs once I get the computer back.

Please Log in to join the conversation.

FCPX is crashing on a 2hr 4K timeline 05 Aug 2021 16:49 #115662

Latest Update
I got a call from Apple stating that the OWC Memory modules are the problem. THey have tried using Apple memory modules and they can reproduce shutdown/crashes. I spoke to OWC about that and they're graceful enough to replace the memory module after two years. I will keep the update posted as I get new memory modules and how the export works after the memory module replacement.

Thanks
Satish

Please Log in to join the conversation.

FCPX is crashing on a 2hr 4K timeline 09 Aug 2021 03:11 #115697

Hello All,
I have sent my old OWC memory for replacement and got an additional 32Gb OWC RAM from Amazon yesterday. I am able to export 4K 150 min timeline without any challenge. I am trying to add the audio plugin and primary color correction and export the timeline one more to see whether the issues have been resolved. Meanwhile, the computer is more stable and there are no crashes so far, looking promising but I will confirm in few days. Appreciate all the feedback, very useful to move in the right direction. Apple support provided great support which made my life easier by identifying the memory issues, ran various test for multiple days etc.

Please Log in to join the conversation.

FCPX is crashing on a 2hr 4K timeline 09 Aug 2021 14:31 #115706

  • VidGreg
  • VidGreg's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 998
  • Karma: 28
  • Thank you received: 207
Hey thanks for posting your solution. This is good for the community!
RAM can indeed cause KPs. OWC has always been good about backing up their products. I had a bad stick that was also intermittent. OWC replaced with no problems.
Happy editing, Greg

Please Log in to join the conversation.

FCPX is crashing on a 2hr 4K timeline 10 Aug 2021 05:20 #115714

I want to second Greg in thanking you for sharing the solution. Performance issues can be very hard to troubleshoot and it looks like the advice given by Joe and Greg has pointed you in the right direction. This thread will be helpful to the entire community. Good job!

- Ronny

Please Log in to join the conversation.

Last edit: by ronny courtens.

FCPX is crashing on a 2hr 4K timeline 12 Aug 2021 20:40 #115736

Latest Update, I have done multiple exports with no failure. The feedback is on target which helped me to work with Apple support to get the issues resolved. As Ron said, hope the discussion can help someone in the future who has similar symptoms. Thanks, everyone, and thoroughly enjoyed the expertise and the support

Please Log in to join the conversation.

  • Page:
  • 1