I think Blender DynamicArray as a bug. Namely;
source\blender\makesrna\intern\RNA_blender_cpp.h, line 217
DynamicArray(const DynamicArray& other) { copy_from(other); }
data member is uninitialized and causes a crash at line 226.
Please contact me if you need more information or if it is not the proper channel to share this information.