MgFrobozz

Q: How do I prevent FCP crash with divide-by-0 when playing clip?

One of my customers asked if I could modify a clip so that FinalCutPro 7.0.3 could play it without crashing. I've been testing FCP's sensitivity to a number of variables, and finally generated two clips which differ slightly, one of which will crashes FCP (5 times in 5 tries), the other of which doesn't (0 times in 5 tries). The procedure is ...

  • Start FCP.
  • Add the clip to the project.
  • Drag the clip from the project list to the timeline.

 

For the problem clip, FCP pops up a dialog when adding the clip to the project ("Media Performance Warning ... The following media files are not optimized for Final Cut Pro"). Then, when the clip is dragged to the timeline, there is a 1-2 second pause, and the gui disappears. After another short pause, another dialog appears ("Final Cut Pro quit unexpectedly"), showing a stack dump. See http://www.aratas.org/apple_developer/fcp_crash.txt for the text of both dialogs.

 

The clips:

 

Both of these clips are 4:2:0 25Hz 1080p XDCAM (fourcc "hdv7"). Both use a 12-frame closed-GOP structure with 2 B pictures per I/P picture. out_xdcam_09_57_50_19.mov contains 19 frames; out_xdcam_09_57_50_20.mov contains 20 frames, 19 of which are identical to out_xdcam_09_57_50_19.mov.

 

Both clips play in these players (no leading black frames in any) ...

  • mplayer SVN-r31628-4.1.2 (linux 2.6.18-308.1.1.el5 x86_64)
  • mplayer SVN-r30369-4.2.5 (windows 7 ultimate)
  • QuickTime Player 10.1 (501.8) (Apple OS X 10.7.3)

 

I've pretty much exhausted the possibilities I could think of for FCP crashing on the 20-frame file. Any suggestions would be highly appreciated ...

Final Cut Pro 7, Mac OS X (10.7.2), FCP 7.0.3

Posted on Jul 24, 2012 4:21 PM

Close

Q: How do I prevent FCP crash with divide-by-0 when playing clip?

  • All replies
  • Helpful answers

Previous Page 2
  • by MgFrobozz,

    MgFrobozz MgFrobozz Jul 29, 2012 12:28 AM in response to Jon Chappell
    Level 1 (0 points)
    Jul 29, 2012 12:28 AM in response to Jon Chappell

    For the 19-frame clip, the elst duration is 19 ticks, stts is 19.

    For the 20-frame clip, the elst duration is 20 ticks, stts is 20.

     

    I'm still poring through the atom dump, looking for anything that could contribute. A diff of the dump of the 19-frame and 20-frame files shows the duration differences (19 vs 20), one extra stsz entry in the 20-frame file, and one extra co64 entry in the 20-frame file (both expected). Other than that, there are differences in the atom sizes and offsets due to the extra frame in mdat, and the extra entries in stsz and co64, all expected.

     

    Wish I had the relevant source code for fcp ...

  • by MgFrobozz,

    MgFrobozz MgFrobozz Aug 1, 2012 11:33 AM in response to MgFrobozz
    Level 1 (0 points)
    Aug 1, 2012 11:33 AM in response to MgFrobozz

    My customer reports that they downloaded FCP X, and that this fixes the FCP crash problem. I think my customer may be willing to stick with FCP X, which is good news, but I'm concerned that there's no mention of the fix in the FCP X release notes. I'm hoping they're not trading one set of problems for another set.

  • by Jon Chappell,Solvedanswer

    Jon Chappell Jon Chappell Aug 1, 2012 11:36 AM in response to MgFrobozz
    Level 5 (4,005 points)
    Aug 1, 2012 11:36 AM in response to MgFrobozz

    FCPX is built on AV Foundation, which is completely separate from the QuickTime API.

  • by MgFrobozz,

    MgFrobozz MgFrobozz Aug 1, 2012 11:45 AM in response to Jon Chappell
    Level 1 (0 points)
    Aug 1, 2012 11:45 AM in response to Jon Chappell

    Thanks, Jon ... do you have any stats on what the bug/KLOC rate is in AV Foundation relative to the QuickTime API?

  • by Jon Chappell,

    Jon Chappell Jon Chappell Aug 1, 2012 11:48 AM in response to MgFrobozz
    Level 5 (4,005 points)
    Aug 1, 2012 11:48 AM in response to MgFrobozz

    I have no idea unfortunately. But what I do know is that AVF is missing a lot of QuickTime features. It can't read or write to reference movies, it doesn't support third party codecs and it doesn't support the more obscure QT features like VR and sprites.

  • by Jon Chappell,

    Jon Chappell Jon Chappell Aug 1, 2012 11:49 AM in response to Jon Chappell
    Level 5 (4,005 points)
    Aug 1, 2012 11:49 AM in response to Jon Chappell

    It's also worth mentioning that it requires OS X 10.7 or higher. Apple uses a private API in 10.6 to support FCPX.

  • by Olivera117,

    Olivera117 Olivera117 Oct 29, 2012 7:02 PM in response to MgFrobozz
    Level 1 (0 points)
    Oct 29, 2012 7:02 PM in response to MgFrobozz

    I just downloaded the trial to see if I wanted to buy instead of using Adobe Premiere.  Every time i put a clip into the timeline it crashes and just has the color wheel i have to force quit the program.  I tried deleting the program and reinstalling it. Please help. Here are my specs

     

    2.3 GHz Intel Core i5

    16 GB 1333 MHz DDR3

    Intel HD Graphics 3000 512 MB

    OS X 10.8.2

  • by Gary Scotland,

    Gary Scotland Gary Scotland Oct 30, 2012 3:54 AM in response to Olivera117
    Level 6 (14,543 points)
    Desktops
    Oct 30, 2012 3:54 AM in response to Olivera117

    Olivera

     

    Youv jumped in to a discussion  with a completly differend subject.

     

    You should post your query in the correct forum and starting a new topic as your query  might get ignored by folk following this topic.

     

    Also let the folks know what your clip settings are so they can help better.

     

    Final Cut Pro X discussion

  • by MgFrobozz,

    MgFrobozz MgFrobozz Oct 30, 2012 8:46 AM in response to Olivera117
    Level 1 (0 points)
    Oct 30, 2012 8:46 AM in response to Olivera117

    HI, Olivera117 ...

     

    You might also post to "The Final Cut Pro X CRASH Thread" at https://discussions.apple.com/thread/3132181

     

    (I don't know if there's a separate thread for FCP)

Previous Page 2