Fatal error when set max skin influence

i held all joints on the skeleton, and setting max skin influence maya would crush with fatel error. why?! this happens occasionaly, and some time when I rotate the joint I get run time vb6++ errors