CommandPost / FCPCafe

FCP Cafe Website
https://fcp.cafe
MIT License
26 stars 15 forks source link

Crashed after creating transition #234

Open latenitefilms opened 11 months ago

latenitefilms commented 11 months ago

Apple Feedback Assistant ID: FB12877339

DESCRIBE THE BUG: Crashed after adding a transition between two clips.

Interestingly, this looks similar to the PGPerThreadSetCurrentContextSentry crashes in #231 and #223


SPECS:


CRASH LOGS:

Full Log: https://gist.github.com/latenitefilms/11d741a283c86ef666c42287bd0cdfbc

Process:               Final Cut Pro [4702]
Path:                  /Applications/Final Cut Pro.app/Contents/MacOS/Final Cut Pro
Identifier:            com.apple.FinalCut
Version:               10.6.8 (408083)
Build Info:            ProEditor-40800083016000000~6 (20A1003a)
App Item ID:           424389933
App External ID:       858759812
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-08-05 08:27:27.6238 +1000
OS Version:            macOS 12.6.6 (21G646)
Report Version:        12
Anonymous UUID:        CF7BEE6E-B8B3-12C6-A359-37A97C616B4B

Sleep/Wake UUID:       5D6607BA-CE8A-423F-ACB9-636E998D16E9

Time Awake Since Boot: 9800 seconds
Time Since Wake:       4255 seconds

System Integrity Protection: enabled

Crashed Thread:        38  Dispatch queue: com.apple.flexo.playertokq.sched

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

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

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

Thread 0::  Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib                        0x1a2137498 objc_opt_isKindOfClass + 0
1   AppKit                                 0x1a5137c10 -[NSControl setDoubleValue:] + 248
2   ProInspector                           0x101392a70 -[OZChan2DPropController update] + 296
3   CoreFoundation                         0x1a23962fc -[NSArray makeObjectsPerformSelector:] + 252
4   ProInspector                           0x10137b22c -[OZViewControllerGroup update] + 40
5   ProInspector                           0x1013897ac -[OZLabeledParamController update] + 48
6   CoreFoundation                         0x1a23962fc -[NSArray makeObjectsPerformSelector:] + 252
7   ProInspector                           0x10137b22c -[OZViewControllerGroup update] + 40
8   CoreFoundation                         0x1a23962fc -[NSArray makeObjectsPerformSelector:] + 252
9   ProInspector                           0x10137b22c -[OZViewControllerGroup update] + 40
10  CoreFoundation                         0x1a23962fc -[NSArray makeObjectsPerformSelector:] + 252
11  ProInspector                           0x10137b22c -[OZViewControllerGroup update] + 40
12  CoreFoundation                         0x1a23962fc -[NSArray makeObjectsPerformSelector:] + 252
13  ProInspector                           0x10137b22c -[OZViewControllerGroup update] + 40
14  Flexo                                  0x1078fd6cc -[FFInspectorModuleChannels _updateChannels] + 100
15  Flexo                                  0x1078fd8a0 -[FFInspectorModuleChannels timeRateChangedForContext:] + 200
16  Flexo                                  0x107659b78 -[FFContext _notifyContextObservers:withObject:force:] + 704
17  Flexo                                  0x107659cc4 -[FFContext _timeRateChanged] + 180
18  Flexo                                  0x107659f80 -[FFContext setTime:rate:forSingleStreamSkimming:] + 308
19  Flexo                                  0x107659e40 -[FFContext setTime:rate:] + 40
20  Flexo                                  0x107a18a8c -[FFAnchoredTimelineModule timeRateChangedForContext:] + 1548
21  Flexo                                  0x107659b78 -[FFContext _notifyContextObservers:withObject:force:] + 704
22  Flexo                                  0x107659cc4 -[FFContext _timeRateChanged] + 180
23  Flexo                                  0x107659f80 -[FFContext setTime:rate:forSingleStreamSkimming:] + 308
24  Flexo                                  0x107659e40 -[FFContext setTime:rate:] + 40
25  Flexo                                  0x1079eb928 -[FFAnchoredTimelineModule setPlayheadTime:] + 272
26  Flexo                                  0x107c75b5c -[FFAnchoredTimelineModule(FFTLKDataSource) timelineView:didSetPlayheadTime:] + 44
27  TLKit                                  0x101491390 -[TLKTimelineView _setSkimmingPlayheadTime:animate:forceUpdate:] + 448
28  TLKit                                  0x10149ed7c -[TLKTimelineHandler updateSkimming:] + 576
29  TLKEventDispatcher                     0x102045ba4 -[TLKEventDispatcher _evaluateEventDescription:withEventContext:] + 308
30  TLKEventDispatcher                     0x102045768 -[TLKEventDispatcher _dispatchEvent:] + 244
31  TLKEventDispatcher                     0x1020455d4 __36-[TLKEventDispatcher dispatchEvent:]_block_invoke + 28
32  Flexo                                  0x107f4ef9c FFApplicationHandleExceptionThatShouldNotBeIgnoredInBlock + 20
33  TLKEventDispatcher                     0x102045578 -[TLKEventDispatcher dispatchEvent:] + 120
34  TLKEventDispatcher                     0x102043840 -[TLKEventDispatcher mouseEntered:] + 152
35  AppKit                                 0x1a50c6ef0 -[NSTrackingArea _dispatchMouseEntered:] + 156
36  AppKit                                 0x1a503dc68 -[NSApplication(NSEvent) sendEvent:] + 756
37  LunaKit                                0x10175e930 -[LKApplication sendEvent:] + 60
38  Flexo                                  0x10784e5e8 -[FFApplication sendEvent:] + 340
39  AppKit                                 0x1a52f8090 -[NSApplication _handleEvent:] + 76
40  AppKit                                 0x1a4ebffa4 -[NSApplication run] + 636
41  LunaKit                                0x10175fbd4 LKApplicationMain + 204
42  dyld                                   0x10072908c start + 520

Thread 38 Crashed::  Dispatch queue: com.apple.flexo.playertokq.sched
0   ProGraphics                            0x10f28ac88 PGPerThreadSetCurrentContextSentry::PGPerThreadSetCurrentContextSentry() + 24
1   ProGraphics                            0x10f28ac88 PGPerThreadSetCurrentContextSentry::PGPerThreadSetCurrentContextSentry() + 24
2   Ozone                                  0x10f9653ec OZFxPlugSharedBase::scheduleTokens(OZRenderParams const&, std::__1::vector<std::__1::pair<CMTime, std::__1::vector<CMTime, std::__1::allocator<CMTime> > >, std::__1::allocator<std::__1::pair<CMTime, std::__1::vector<CMTime, std::__1::allocator<CMTime> > > > > const&, PMFrameRequest&, std::__1::vector<FFScheduleToken*, std::__1::allocator<FFScheduleToken*> >*) + 104
3   Ozone                                  0x10f58bdfc OZSceneNode::scheduleTokens(OZRenderParams const&, std::__1::vector<std::__1::pair<CMTime, std::__1::vector<CMTime, std::__1::allocator<CMTime> > >, std::__1::allocator<std::__1::pair<CMTime, std::__1::vector<CMTime, std::__1::allocator<CMTime> > > > > const&, PMFrameRequest&, std::__1::vector<FFScheduleToken*, std::__1::allocator<FFScheduleToken*> >*) + 84
4   Ozone                                  0x10fa18cbc OZImageElement::scheduleTokens(OZRenderParams const&, std::__1::vector<std::__1::pair<CMTime, std::__1::vector<CMTime, std::__1::allocator<CMTime> > >, std::__1::allocator<std::__1::pair<CMTime, std::__1::vector<CMTime, std::__1::allocator<CMTime> > > > > const&, PMFrameRequest&, std::__1::vector<FFScheduleToken*, std::__1::allocator<FFScheduleToken*> >*) + 96
5   Ozone                                  0x10f575538 OZScene::scheduleTokens(OZRenderParams const&, std::__1::vector<std::__1::pair<CMTime, std::__1::vector<CMTime, std::__1::allocator<CMTime> > >, std::__1::allocator<std::__1::pair<CMTime, std::__1::vector<CMTime, std::__1::allocator<CMTime> > > > > const&, std::__1::vector<FFScheduleToken*, std::__1::allocator<FFScheduleToken*> >*) + 528
6   MotionEffect                           0x10f1a7b2c -[FFMotionEffect newEffectSpecificTokensAtTime:duration:withInputStream:context:schedInfo:downstreamPT:] + 1048
7   Flexo                                  0x107673f50 -[FFStreamVideoEffect newScheduleTokenAtTimeIgnoringCache:duration:context:schedInfo:downstreamPT:] + 1584
8   Flexo                                  0x10769c488 -[FFStreamVideo newScheduleTokenAtTime:duration:context:schedInfo:downstreamPT:] + 564
9   Flexo                                  0x107cba200 -[FFAnchoredObjectSegmentedVideoStream newScheduleTokenAtTimeIgnoringCache:duration:context:schedInfo:downstreamPT:] + 256
10  Flexo                                  0x10769c488 -[FFStreamVideo newScheduleTokenAtTime:duration:context:schedInfo:downstreamPT:] + 564
11  Flexo                                  0x107eecc20 -[FFMCSwitcherVideoStream newScheduleTokenAtTimeIgnoringCache:duration:context:schedInfo:downstreamPT:] + 480
12  Flexo                                  0x10769c488 -[FFStreamVideo newScheduleTokenAtTime:duration:context:schedInfo:downstreamPT:] + 564
13  Flexo                                  0x107673a54 -[FFStreamVideoEffect newScheduleTokenAtTimeIgnoringCache:duration:context:schedInfo:downstreamPT:] + 308
14  Flexo                                  0x10769c488 -[FFStreamVideo newScheduleTokenAtTime:duration:context:schedInfo:downstreamPT:] + 564
15  Flexo                                  0x107cba200 -[FFAnchoredObjectSegmentedVideoStream newScheduleTokenAtTimeIgnoringCache:duration:context:schedInfo:downstreamPT:] + 256
16  Flexo                                  0x10769c488 -[FFStreamVideo newScheduleTokenAtTime:duration:context:schedInfo:downstreamPT:] + 564
17  Flexo                                  0x107eecc20 -[FFMCSwitcherVideoStream newScheduleTokenAtTimeIgnoringCache:duration:context:schedInfo:downstreamPT:] + 480
18  Flexo                                  0x10769c488 -[FFStreamVideo newScheduleTokenAtTime:duration:context:schedInfo:downstreamPT:] + 564
19  Flexo                                  0x107a7ce5c -[FFPlayerScheduledData _scheduleInternal] + 1348
20  Flexo                                  0x107f4ef9c FFApplicationHandleExceptionThatShouldNotBeIgnoredInBlock + 20
21  Flexo                                  0x1081c9158 -[FFPlayerSchedTokenQueue _performScheduling] + 268
22  libdispatch.dylib                      0x1a20d65f0 _dispatch_call_block_and_release + 32
23  libdispatch.dylib                      0x1a20d81b4 _dispatch_client_callout + 20
24  libdispatch.dylib                      0x1a20df8a8 _dispatch_lane_serial_drain + 668
25  libdispatch.dylib                      0x1a20e0438 _dispatch_lane_invoke + 444
26  libdispatch.dylib                      0x1a20eac98 _dispatch_workloop_worker_thread + 648
27  libsystem_pthread.dylib                0x1a2298360 _pthread_wqthread + 288
28  libsystem_pthread.dylib                0x1a2297080 start_wqthread + 8