The marshalling code wasn't taking into account the changing size of the TValue struct.
Attach a file by drag & drop or click to upload