"Encrypt Phone" crashes and sometimes sends the phone into a boot loop
I'm using Replicant 6.0 on an i9300 with llvmpipe. When I select "Encrypt phone" from settings with a full battery, on my first attempt the phone immediately crashed to a Replicant boot logo and then said encryption failed, and as a result I had to perform a factory reset. This reset worked the first time around, but when I tried to encrypt the phone a 2nd time, it crashed and sent the phone into an infinite boot loop, showing the "Preparing Apps" progress bar and then going back to the Replicant logo over and over again.
Performing a manual "Full factory reset" via recovery mode fixed this issue, but obviously the ideal solution would have the "Encrypt Phone" feature working, or at least grayed out if it never works.