Page 1 of 1

Crash Bug: Planar Tracker in Corner Pin

PostPosted: Tue Sep 28, 2021 9:54 am
by TheBloke
Confirmed in: Fusion Studio 17.3.1 and Resolve Studio 17.3.1

Occurs On: macOS 11.5.2 and Windows 10 20H2 19042.1237

Bug details:
While experimenting with the Planar Tracker in Corner Pin mode I have come across a very regular crash bug related to adjusting the Corner Pin positions. In particular I have been setting the corner pin to fill the whole screen as a part of testing some other PTra stuff.

I'm not sure whether the crash is specific to having a whole-screen Corner Pin, or whether it's just caused by having a large area, or just the regular manipulation of the Corner Pin values.

Either way, I have a comp that crashes 100% of the time for me. Open the attached comp and view the Planar Tracker node (PtraCornerPinFGoBG) in a Viewer, and Fusion Studio will crash every time.

Likewise, copying the nodes into Resolve Studio will cause the same crash there.

The crash occurs in:
Code: Select all
Fusion::MergeSimpleOverFlt16Process(Fusion::Image*, Fusion::MergeData*, int) + 456
Changing the frame format to float32 instead changes this to: Fusion::MergeSimpleOverFlt32SSE2Process

Here's the stack trace of the crashed thread:
Code: Select all
Thread 114 Crashed:: PoolThread
0   libfusionsystem.dylib            0x0000000106c82848 Fusion::MergeSimpleOverFlt16Process(Fusion::Image*, Fusion::MergeData*, int) + 456
1   libfusionsystem.dylib            0x000000010740baba Fusion::FuThreadData::ChunkProcess(int) + 314
2   libfusionsystem.dylib            0x000000010740b2c4 Fusion::FuThreadPool::CreatePoolThreadFunc(Fusion::FuPoolThread*) + 84
3   fusionscript.so                  0x0000000109508add Fusion::Platform::s_threadfunc(void*) + 109
4   libsystem_pthread.dylib          0x00007fff2043d8fc _pthread_start + 224
5   libsystem_pthread.dylib          0x00007fff20439443 thread_start + 15

Demonstration comp:
BugCrashPlanarTrackerCornerPin.comp.zip
(39.1 KiB) Downloaded 81 times


Full macOS crash log:

Re: Crash Bug: Planar Tracker in Corner Pin

PostPosted: Tue Sep 28, 2021 9:54 pm
by birdseye
Yes indeed, instant crash.

Re: Crash Bug: Planar Tracker in Corner Pin

PostPosted: Tue Sep 28, 2021 9:58 pm
by TCP786
I'm still using 17.2.2, but I can at least add that this was not introduced in 17.3.1.

Re: Crash Bug: Planar Tracker in Corner Pin

PostPosted: Fri Oct 08, 2021 7:15 am
by TheBloke
Also occurs in 17.3.2.

Re: Crash Bug: Planar Tracker in Corner Pin

PostPosted: Fri Oct 22, 2021 12:29 pm
by TheBloke
Seems to be fixed in 17.4, thank you.