ID 574495 - Nuke Studio/Hiero freezes when Scan for Versions encounters a corrupt file

Follow

Problem summary:
Nuke Studio/Hiero freezes when Scan for Versions encounters a corrupt file
 
Customer reported version:
Hiero 15.0v4
 
Customer reported platform:
Rocky 8
 
Steps to reproduce:
1) Download the attached clip_v033.mov and clip_v036.mov files, and place them in the same directory.
2) Launch Hiero and navigate to File > Import File(s)...
3) Select only the clip_v033.mov file to add to the Project.
4) In the Project Bin, right-click the footage and select Version > Scan for Versions
5) Observe the following errors in the Terminal window, and note how Hiero freezes and becomes unresponsive: 

[Error][2024/04/10:18:10:59] DDImageCodec::openInternal validate failed, reason: path/to/the/bad_media_file.mov: Invalid data found when processing input[Warning][2024/04/10:18:10:59] FFmpeg Error: Invalid data found when processing input

 
Expected behavior:
Nuke Studio/Hiero should gracefully handle corrupted files while Scanning for Versions.
 
Actual behavior:
When encountering a corrupted file during the version scanning process, Nuke Studio/Hiero becomes unresponsive after printing Invalid data found when processing input errors to the Terminal. 
 
The same behavior and error messages also occur when attempting to access the corrupt media via Python, like with the following commands:
filepath = 'path/to/the/bad_media_file.mov'media_source = hiero.core.MediaSource(filepath) # Hiero/Nuke Studio freezes
 
In previous versions of Nuke Studio/Hiero, the errors might also include moov atom not found, but the end result is the same: 


 
Workaround:
No known workaround at this time.
 
Reproduced by Support in:
Nuke Studio/Hiero 15.0v4 - Windows 10, macOS 13 Ventura
Nuke Studio/Hiero 14.1v1 - Windows 10
Nuke Studio/Hiero 14.0v1 - Windows 10
Nuke Studio/Hiero 13.0v1 - Windows 10
Nuke Studio/Hiero 12.0v1 - Windows 10
 
Earliest version tested:
Nuke Studio/Hiero 12.0v1 - This issue appears to be in all tested versions of the product

    We're sorry to hear that

    Please tell us why