Page MenuHome

Fix potential crash during proxy building
ClosedPublic

Authored by Richard Antalik (ISS) on Feb 28 2022, 9:02 PM.

Details

Summary

Last step of proxy building caused crash due to thread race contition
when acessing ed->seqbase.

Looking at code, it seems that calling IMB_close_anim_proxies on
original strips is unnecessary so this code was removed to resolve this
issue.

Locking seqbase data may be possible, but it's not very practical as
many functions access this data on demand which can easily cause
program to freeze.

Diff Detail

Repository
rB Blender

Event Timeline

Richard Antalik (ISS) requested review of this revision.Feb 28 2022, 9:02 PM
Richard Antalik (ISS) created this revision.
Richard Antalik (ISS) edited the summary of this revision. (Show Details)Feb 28 2022, 9:15 PM
Richard Antalik (ISS) retitled this revision from Fix T95688: Crash during proxy building to Fix potential crash during proxy building.Mar 1 2022, 12:04 AM

Turns out that T95688 has been resolved already, but I still think, that seqbase should not be accessed from thread and even original strips could be freed during iteration.

This revision is now accepted and ready to land.Mar 1 2022, 10:29 AM
This revision was automatically updated to reflect the committed changes.