The dvert data type was not initialized unless you had assigned one vert to a vertex group.
I copied the code from MOD_weightvgmix.c and added it to MOD_get_vgroup. This ensures that we will have initialized dvert data.
I don't know if this is the right way to solve it. But it seems to me that most modifiers would want this to happen automatically (?).