Joshua found the new bug that was killing WLS. The WLS fit function freed the weight matrix (i.e. the data acov matrix) so it caused a problem when omxState tried to free the data that was already gone.