mickelson / attract

A graphical front-end for command line emulators that hides the underlying operating system and is intended to be controlled with a joystick or gamepad.
http://attractmode.org
GNU General Public License v3.0
393 stars 115 forks source link

Image cache bug #679

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi,

During some tests I am doing with Oomek, we have found what we believe to be a bug concerning the image cache in the latest AM nightly build. Oomek has written a test layout that causes the bug to manifest automatically (doing it manually can be physically painful). Furthermore, after the errors occur and I exit to the main menu, the image is black.

I am also providing you with a wheel library that is reliable in producing this bug every time. The layout zip also contains a log showing the bug as it happens when the test layout runs on my PC.

The bug manifests regardless if fe.image_cache.bg_load = true or false Setting the image cache size to 0 solves the issue and the bug doesn't occur.

Video of the test with the errors as they occur: https://youtu.be/fBgr32kBkuA

Layout zip: https://mega.nz/file/AZ8gARyS#tBg-X-umnwz4vW9ADWLmm56O5uTGswgJMNLAajwbmjg

Wheel folder: https://mega.nz/file/VQNSWRZb#G_odgP7COIWLavD1CeHhNLKXOxW7KxlstZI4TdmjLTM