I'm regenerating about 40,000 images
I ran wp media regenerate --image_size=crp_thumbnail --yes
About 3,000 images in I got a 'segmentation fault' error and the process stopped.
I tried starting a range after 3k to 42k and it produced odd results, only resizing about 2k of those images and not outputting for all 40k images.
I am now back to using the Regenerate Thumbnails plugin which seems to be working well.
I realize this could be some corruption of the media file attachments/associations, but the error provides no useful info to further troubleshoot.
My setup: CentOS Apache, PHP 7.4, WP 6.0.1, wp cli v2.6.0
Linux 3.10.0-1160.53.1.el7.x86_64 #1 SMP Fri Jan 14 13:59:45 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux