For some unexplainable reason after changing the code to below, I have one blend file that renders successfully and one that crashes!
Apr 30 2019
Mar 16 2019
Jan 26 2019
Jan 13 2019
Dec 31 2018
I can reproduce this. But I think this is related to T59939 as it renders correctly IF you simply do not render out as animation (IE you render out a still frame).
Any updates on this? There seems to be issues with rendering vertex colors that are manipulated using python api, or addons when modifiers are present. Viewport is fine but rendered images do not reflect the changes.