tumblerd memory and cpu usage suddenly jumps and crashes in libglib
lately tumbler has made my xfce experience quite unbearable I'm on Xubuntu 22.10 with latest updates, Thunar 4.17.9, tumbler versions - 4.17.2-1 I get multiple times per day silent crashes in tumblerd (this is usually happening while I'm browsing in Firefox or working in VSCode, i.e. not doing anything that should activate tumblerd).
I have currently pinpointed an almost reproducible crash. I have a folder with a dozen photos and videos downloaded from an iPhone, with a total size of less than 100MB, when I open this folder in thunar my CPU usage jumps a lot, RAM usage suddenly jumps by 4-5-6GB, and if I don't manage to open terminal and type "killall tumblerd" fast enough, my entire system becomes unresponsive and my screen freezes, needing a power cycle.
What I've managed to catch here and there is a "general protection fault ..... tumblerd in libglib" in dmesg (I don't have the exact text as it crashes the system in such a way that the old dmesg log is not saved).
In syslog I have multiple "Feb 23 15:58:55 yoga systemd[1843]: tumblerd.service: Failed with result 'core-dump'." As well as multiple:
Feb 23 15:50:07 yoga tumblerd[105988]: libpng error: Read Error Feb 23 15:50:07 yoga tumblerd[105988]: message repeated 2 times: [ libpng error: Read Error] Feb 23 15:55:41 yoga tumblerd[105988]: malloc(): corrupted top size
All in all it is an awful experience, I wouldn't care for the occasional failure to display a thumbnail or whatever, but because of this service I need to do multiple physical power button reboots a day.
For the moment I'm trying to see if I can make my machine stable by disabling thumbnails in thunar in general, it seems to help.
Please let me know what more I can report to help fixing this issues. I'll try to provide a set of images that reproduces the problem, I just need to filter out the personal ones.