The Cryptomatte node fails for image sequences in some cases. This is due to a use after free error which might even crash in some cases. This is because the loop that computes the image Cryptomatte layers calls the cached images container to get the passes, which might free the render layers structure that is used while looping. To fix this, gather the render pass names first then retrieve all the images at once.