einsteinx2 / wiiflow-lite-einstein-mod

My customizations to WiiFlow Lite, at first focusing on polishing the UI and UX. Attempting to keep as much source compatibility as possible. Original repo here: https://sourceforge.net/projects/wiiflow-lite/
4 stars 1 forks source link

Image Cache corruption - short term - mitigate collapse of UI following file corruption #3

Open kaisersozeh opened 6 years ago

kaisersozeh commented 6 years ago

The effect on the ui is catastrophic - leading users to believe the software is entirely redundant - If the software could detect this kind of collapse, it could provide an advisory note to users on reboot Currently the only sure mechanism to "cure" this ailment is to delete and rebuild the entire cache for that image folder - defining the corrupt file, deleting it automatically or directing the user to do so would drastically reduce the inconvenience caused. In any case - users need to be made aware of the symptoms and the cure while the problem remains - but there is no reference in the help literature

einsteinx2 commented 6 years ago

Any ideas on how to cause the corruption. I've never had it happen. Also since the image cache I thought was just a folder of separate files, I'm really surprised this happens at all.

einsteinx2 commented 6 years ago

Could just be some bad multithreaded code causing a race condition that only hits sometimes.

kaisersozeh commented 6 years ago

Search the wiiflow thread stickied on gbatemp - speak to fledge - ask tetsuo - pretty sure this will come up eventually... I get the feeling it was a rare niggle more than a problem for the dev team - until it happens to you - rare enough that no one ever got round to getting to the bottom of it....

einsteinx2 commented 6 years ago

This sounds like one of those bugs that's really tough to catch and a huge pain to fix... If I had access to a Wii currently in the broken state, or someone could catch it broken and dump their wiiflow folder so I could recreate it on my Wii that would be a huge help. Or I have to wait until it happens to me, then I can try and fix it before rebuilding the cache.

kaisersozeh commented 6 years ago

4 i can update the help files to highlight this issue too.