Created attachment 152819 [details] bug STEPS TO REPRODUCE 1. Create a local (or global) selection mask 2. Move it to another layer 3. Copy the layer, then krita crashes
Further tests: In 5.1.1, "copy the selection mask" will directly cause a crash, which has been fixed in the latest nightly. However, it seems that it has not been completely repaired, which is still true in the rare case of 460110. *** This bug has been marked as a duplicate of bug 460110 ***