https://bugs.kde.org/show_bug.cgi?id=477298
--- Comment #6 from Ilya Bizyaev <bizy...@zoho.com> --- So I've debugged this problem, and it is caused by an infinite loop in `QMimeDatabasePrivate::inherits`. The reason is that this method doesn't handle parent-child cycles: for some reason, in my `~/.local/share/mime/` (I didn't even know this directory existed), "application/javascript" was declared a subclass of "application/ecmascript". Normally (`usr/share/mime/packages/freedesktop.org.xml`), it's the other way around, so the combined info created a cycle. Now, I don't know what the solution for this is: * Should Qt learn to handle such cycles? Even if they are maybe not allowed by the spec, getting stuck in an infinite loop with infinite allocations because of a file that users have no knowledge of is not great. * Why was this edge declared in `~/.local/share/mime/` in the first place? Since I've never edited anything in this directory myself, I guess it had been created automatically, so whatever did it can do it again in the future. * Why has this bug never occurred before 20.11.23? Anyway, as a workaround, I deleted `~/.local/share/mime/`, and the issue if gone for now. -- You are receiving this mail because: You are watching all bug changes.