to reproduce:
you need an image with a minimum of 2 segmentations and 2 corresponding (smoothed) polygon models
then:
select Surface Masking (Mode)
select another surface than is preselected (combobox)
select Image Masking (Mode) => crash
reproduced on win7 and linux