The 'sigName' field was being overridden with random garbage so I wrapped it with a call to strdup and all is well again.
YObject_SetProperty diff file
YObject_SetProperty diff file