Mask Crash

georg.viehoever

Well-known member
Hi,

i created a mask using Binarize on a 3 channel i16 image. I applied this to a 3 channel f32 image. When I did this, an access error dialog appeared. After clicking OK, PI largely continues to work. Only when trying to move the mouse into the masked image, the mouse ceases to respond. The status bar displays something like "(null)....", see screenshot. This behaviour continues even when removing the mask. (I do not yet know if this is reproducible.)

Georg
 

Attachments

  • starmask.JPG
    starmask.JPG
    46.4 KB · Views: 62
It is reproducible:
- open 3 channel i16 image
- copy it
- apply one image as the mask of the other
- enjoy access errors whenever you move the mouse over the masked image.
This is on PI 1.69 with latest updates on Win7x64.

Georg
 
Yup this is what's happening to me quite often.

My "workaround" until it gets fixed is to immediately create a duplicate of that image. close the one causing the problem, then reapply the mask over the new one. The new image often survives for a while then. The drawback is that you lose the history, so it's not ideal.
 
This is a known bug that has already been fixed in PI 1.7.0. Please see this post for a workaround before we release the new version.

This bug only happens with RGB masks on Windows. It doesn't happen with regular (i.e., grayscale) masks on any platforms.
 
Back
Top