I have the same problem on Mi Max Pro 7.2.9, getting the same error message.
Here are different conditions:
When Flash is off AND ambient light is low: crash.
When Flash is off AND ambient light is enough: it's OK.
When HDR is on, whether light is dim or bright: crash.
This is my first day using EU ROM and my first post here. Should I post a separate bug report? Should I include a log cat?