Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when exporting a FCPXML via Menu and drag from Browser #307

Open
latenitefilms opened this issue Dec 16, 2023 · 9 comments
Open

Crash when exporting a FCPXML via Menu and drag from Browser #307

latenitefilms opened this issue Dec 16, 2023 · 9 comments

Comments

@latenitefilms
Copy link
Contributor

latenitefilms commented Dec 16, 2023

Apple Feedback Assistant ID: FB13472516

DESCRIBE THE BUG:
Final Cut Pro will crash when exporting a FCPXML via dragging and dropping a Project from the Browser to a third party application or textbox. It also crashes when exporting the Project using the File > Export XML... menu item.


TO REPRODUCE:
Export the "Test Project" in the attached library.


EXPECTED BEHAVIOUR:
Not crash.


SCREENSHOTS:
image


SPECS:

  • 2021 16-inch MacBook Pro (M1 Max, 64GB RAM, 8TB SSD)
  • macOS Sonoma 14.1.2
  • Final Cut Pro 10.7

ADDITIONAL COMMENTS:

Crash Report:
https://gist.github.com/latenitefilms/7edacd6270d4d1001787ca85ac89b043

Final Cut Pro Library:
Metaburner Toolbox.zip

Motion Template:
🔥 Metaburner Pro.zip

@latenitefilms
Copy link
Contributor Author

This is still crashing with this updated Motion Template:

🔥 Metaburner Pro.zip

I've reached out to Apple directly for comment.

It's entirely possible that I'm the first person to use Emoji's in an FxPlug name. 😬

@latenitefilms
Copy link
Contributor Author

Also reported here: latenitefilms/Metaburner#3 (comment)

@latenitefilms
Copy link
Contributor Author

Still crashing with this Motion Template:

🔥 Metaburner Pro.zip

@latenitefilms
Copy link
Contributor Author

This still crashes in Final Cut Pro 10.7.1.

@latenitefilms
Copy link
Contributor Author

Maybe related to #316

@latenitefilms
Copy link
Contributor Author

Interestingly, this Motion Template doesn't seem to crash Final Cut Pro anymore (as far as I can tell):

🔥 Metaburner.zip

The main difference is I switched from using a String Parameter to a Custom Parameter for FCPX Data and Processed Data - so maybe FCPX just doesn't like REALLY long strings?

@latenitefilms
Copy link
Contributor Author

Scrap that... still crashing:

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Final Cut Pro [66588]
Path:                  /Applications/Final Cut Pro.app/Contents/MacOS/Final Cut Pro
Identifier:            com.apple.FinalCut
Version:               10.7.1 (410082)
Build Info:            ProEditor-41000082016000000~12 (1D1004)
App Item ID:           424389933
App External ID:       861999800
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-01-07 18:32:23.2101 +1100
OS Version:            macOS 14.1.2 (23B92)
Report Version:        12
Anonymous UUID:        CF7BEE6E-B8B3-12C6-A359-37A97C616B4B

Sleep/Wake UUID:       BD7F04A3-E4F7-46A5-B9E4-9EE583CF73F4

Time Awake Since Boot: 85000 seconds
Time Since Wake:       11309 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000070
Exception Codes:       0x0000000000000001, 0x0000000000000070

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [66588]

VM Region Info: 0x70 is not in any region.  Bytes before following region: 4329226128
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      1020ac000-102188000    [  880K] r-x/r-x SM=COW  ...Final Cut Pro

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   ProChannel                    	       0x1039a8428 OZChannel::getInitialValue() const + 16
1   Flexo                         	       0x10a177910 CopyChannelDoubleAtKeyframe + 68
2   Flexo                         	       0x10a178d8c -[CHChannelBase(ParameterExport) newValueStringPairFromChannel:withKeyframe:isRadians:isDefault:] + 1228
3   Flexo                         	       0x10a178180 -[CHChannelBase(ParameterExport) newParameter] + 988
4   Flexo                         	       0x10a17881c -[CHChannelBase(ParameterExport) newParameterWithName:key:shouldAddIfDefault:] + 32
5   Flexo                         	       0x10a179314 +[FFEffect(ParameterExport) parametersForEffectChannels:rootChannel:shouldAddIfDefault:] + 204
6   Flexo                         	       0x10a179878 -[FFEffect(ParameterExport) parameters] + 772
7   Flexo                         	       0x1097237ec -[FFXMLExporter(TitleExport) newTitleForAnchoredEffect:] + 496
8   Flexo                         	       0x109daeea4 -[FFXMLExporter(StoryExport) storyContainerByProcessingAnchoredObjects:] + 552
9   Flexo                         	       0x109dacab8 -[FFXMLExporter(MulticamExport) newMulticamClipForAnchoredAngle:mediaID:modDate:] + 312
10  Flexo                         	       0x109daf754 -[FFXMLExporter(StoryExport) newStoryItemForAnchoredObject:modDate:] + 736
11  Flexo                         	       0x109daeea4 -[FFXMLExporter(StoryExport) storyContainerByProcessingAnchoredObjects:] + 552
12  Flexo                         	       0x10a1ef02c -[FFXMLExporter(SequenceExport) newSpineForAnchoredCollection:includeAttributes:] + 192
13  Flexo                         	       0x10a1eedf8 -[FFXMLExporter(SequenceExport) newSequenceForAnchoredCollection:] + 60
14  Flexo                         	       0x1099be918 -[FFXMLExporter(ProjectExport) newProjectForAnchoredSequence:modDate:] + 100
15  Flexo                         	       0x109dfa8c4 -[FFXMLExporter(EventExport) newEventForProject:selectedEventClips:exportEventFolder:] + 1148
16  Flexo                         	       0x109600254 -[FFXMLExporter exportEvents:selectedEventClipsMap:library:libraryFolders:exportEventFolder:error:] + 708
17  Flexo                         	       0x1095fff28 -[FFXMLExporter exportEvents:selectedEventClipsMap:exportEventFolder:error:] + 140
18  Flexo                         	       0x109600930 -[FFXMLExporter exportEventClips:error:] + 468
19  Flexo                         	       0x109e3d4b0 +[FFXML newXMLDataForEventClips:withOptions:taskDelegate:error:] + 80
20  Flexo                         	       0x10a19dd98 -[FFXMLTranslationTask newXMLDataWithOptions:] + 116
21  Flexo                         	       0x109c28250 -[FFXMLPasteboardItem xmlData] + 92
22  Flexo                         	       0x109c2852c -[FFXMLPasteboardItem setDataForPasteboardType:item:version:] + 68
23  AppKit                        	       0x18b388318 __68-[NSPasteboard _setOwner:forTypes:atIndex:selector:usesPboardTypes:]_block_invoke + 320
24  CoreFoundation                	       0x187564eb0 -[_CFPasteboardEntry resolveLocalPromisedData] + 96
25  CoreFoundation                	       0x187567050 ___CFPasteboardHandleFulfillMessage_block_invoke_2 + 80
26  CoreFoundation                	       0x18749d894 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28
27  CoreFoundation                	       0x18749d7a8 __CFRunLoopDoBlocks + 356
28  CoreFoundation                	       0x18749cc3c __CFRunLoopRun + 2440
29  CoreFoundation                	       0x18749bc5c CFRunLoopRunSpecific + 608
30  CoreFoundation                	       0x187503060 CFMessagePortSendRequest + 1004
31  HIServices                    	       0x18d7f9dc0 SendDragIPCMessage + 428
32  HIServices                    	       0x18d7f3860 SendDropMessage + 80
33  HIServices                    	       0x18d7f2474 DragInApplication + 1004
34  HIServices                    	       0x18d7f0fc8 CoreDragStartDragging + 900
35  AppKit                        	       0x18af02f80 -[NSCoreDragManager _dragUntilMouseUp:accepted:] + 896
36  AppKit                        	       0x18af01dc0 -[NSCoreDragManager dragImage:fromWindow:at:offset:event:pasteboard:source:slideBack:] + 1564
37  AppKit                        	       0x18b37dac4 -[NSOutlineView dragImage:at:offset:event:pasteboard:source:slideBack:] + 188
38  AppKit                        	       0x18b608920 -[NSTableView _doImageDragUsingRowsWithIndexes:event:pasteboard:source:slideBack:startRow:] + 540
39  AppKit                        	       0x18b608fc4 -[NSTableView _checkOverrideAndDoImageDragUsingRowsWithIndexes:event:pasteboard:source:slideBack:startRow:] + 332
40  AppKit                        	       0x18b609e24 -[NSTableView _performClassicDragOfIndexes:hitRow:event:] + 372
41  AppKit                        	       0x18af1d0a0 -[NSTableView _performDragFromMouseDown:] + 392
42  AppKit                        	       0x18af1bb50 -[NSTableView mouseDown:] + 556
43  AppKit                        	       0x18af1b7a4 -[NSOutlineView mouseDown:] + 76
44  AppKit                        	       0x18ae1718c -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 3472
45  AppKit                        	       0x18ada2690 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 364
46  AppKit                        	       0x18ada2350 -[NSWindow(NSEventRouting) sendEvent:] + 284
47  AppKit                        	       0x18b44bf30 -[NSApplication(NSEventRouting) sendEvent:] + 1604
48  LunaKit                       	       0x1027daa14 -[LKApplication sendEvent:] + 60
49  Flexo                         	       0x1097d2e20 -[FFApplication sendEvent:] + 340
50  AppKit                        	       0x18b09e110 -[NSApplication _handleEvent:] + 60
51  AppKit                        	       0x18ac6a124 -[NSApplication run] + 512
52  LunaKit                       	       0x1027dbcb0 LKApplicationMain + 204
53  dyld                          	       0x1870450e0 start + 2360

@latenitefilms
Copy link
Contributor Author

As of today, Apple says this issue is in their system and assigned, but there's no further update/information at this point.

@latenitefilms
Copy link
Contributor Author

Apple report that:

We are not able to reproduce the crash that has plugin version 1.0.7(35).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant