Can you try increasing CAM_NEED_SET_ZOOM_DELAY as I suggested?
The zoom stabilized with CAM_NEED_SET_ZOOM_DELAY=300
It looks like the second crash depends on auto-focusing and it has been running with
set_aflock(1)
zoom(...)
set_aflock(0)
for 3 days. I'll continue this test.
Can you please commit CAM_NEED_SET_ZOOM_DELAY=300?