Skip to content

Matroska: hash of the output file from the current data after a remap - #502

Merged
JeromeMartinez merged 1 commit into
MediaArea:mainfrom
JeromeMartinez:OutputHashRemap
Oct 27, 2026
Merged

JeromeMartinez merged 1 commit into
MediaArea:mainfrom
JeromeMartinez:OutputHashRemap

Conversation

@JeromeMartinez

Copy link
Copy Markdown
Member

The hash of the output file kept the address of the file data at the beginning of the parsing. A remap maps the file at another address and releases the previous map when no frame uses it any more, so the hash read unmapped memory. The hash now uses the current data.

The hash of the output file kept the address of the file data at the
beginning of the parsing. A remap maps the file at another address and
releases the previous map when no frame uses it any more, so the hash
read unmapped memory: random crash at the end of --all (e.g. 1000 HD DPX
frames encoded with ffv1_vulkan, 4 crashes in 5 runs), not specific to
a slice count. The hash now uses the current data.
@JeromeMartinez
JeromeMartinez merged commit dd40738 into MediaArea:main Oct 27, 2026
3 checks passed
@JeromeMartinez
JeromeMartinez deleted the OutputHashRemap branch October 27, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant