Hi @eugene_pichkur,
This is a known bug, as explained in the linked topic, though unfortunately if your first frame is bad, then the proposed workaround won’t work for you: Reference based motion correction fails with "h->magic == TALLOC_HEADER_MAGIC" - #5 by hsnyder
Sorry that you’re encountering it as well. This will be fixed in a future release.
–Harris