ID 511718 - Closing Image Manager viewing windows can cause a crash on Linux

Follow

Problem summary
Closing Image Manager windows can cause a crash on Linux
 
Customer reported version
Mari 4.8v3
 
Customer reported platform
Linux
 
Steps to reproduce
 
1) Open any project

2) Add an image to the Image Manager

3) Quadruple-click the image - this should open two image viewing windows
 
4) In the second image window that opens, resize the window and manipulate the image by zooming and panning
 
5) Close the second image window and wait for around 10 seconds
 
6) If Mari does not crash, repeat steps 3-5
 
Expected behaviour
No crash.
 
Actual behaviour
About 90% of attempts, Mari crashes.
 
Workaround
Unknown.
 
Reproduced by support
This bug has been reproduced in:
Mari 5.0v3 - CentOS 7.9
Mari 4.8v3 - CentOS 7.9
Mari 4.8v1 - CentOS 7.9 - regression
 
Unable to reproduce bug in:
Mari 4.7v7 - CentOS 7.9
 
Earliest version tested
Mari 4.7v7 - This issue doesn't appear in this version and has regressed

    We're sorry to hear that

    Please tell us why