ID 305556 - Texture transfer crashes or creates artefacts in the affected archive

Follow

Problem summary
In the attached archive, texture transferring between two objects may cause Mari to crash or may result in artefact creation.

Customer reported version
3.1v3
Customer reported platform
windows10

Steps to reproduce

1) Open the archive attached in the bug comments

2) Select Body_v3 and right click on the layer stack, select 'transfer'

3) Select all layers from Body_v2 and click the arrow to copy them to Body_v3

4) Press ok and Mari crashes 

Workaround
In the affected archive, merging the Group together seems to allow the transfer process to complete successfully though this might be a red herring.

Reproduced by support
Sporadic results across machines so we have been unable to confirm whether or not this is regressive. Some machines consistently reproduced a crash whereas some transferred textures correctly and some transferred textures but the results contained visual artefacts.

Windows 7 - Quadro M6000
3.3v1, crash
3.2v1, no crash
3.1v3, crash
3.1v3, could not open file
3.1v1, could not open file
3.0v4, crash
3.0v1, crash
2.6v5, no crash

Windows 10 - Quadro P6000
3.3v1, no crash,
3.2v1, no crash,
3.1v3, crash
3.1v3, crash
3.1v1, crash
3.0v4, crash
3.0v1, crash
2.6v5, no crash

OSX 10.12 - FirePro D700
3.3v1, entire viewport turned red but no crash

CentOS6
3.3v1, crash

Earliest version tested
Not tested further back - 2.6v5

Expected behaviour
We should be able to transfer the textures between objects without experiencing a crash or artefacts.

Actual behaviour
Sporadic results throughout but most of the time, the archive crashed and was unsuccessful with the transfer.
 

    We're sorry to hear that

    Please tell us why