Created attachment 55638 [details] unpack this tgz to get the thumbnail that causes the problem (warning your system may crash) Version: 4.5 (using KDE 4.5.85) OS: Linux The attached .tgz contains an .xcf file that causes kio thumbnail to run havoc on a system. It is causing my PC to become unresponsive until oom killer starts killing processes. Reproducible: Always Steps to Reproduce: unpack attached .tgz file in a folder. Browse to that folder with dolphin. Dolphin will call kio_thumbnail to create a preview and voila. Actual Results: unresponsive system, crash Expected Results: nice thumbnail Don't forget to save your work before trying to reproduce.
Thanks for the test case. Does GIMP open the file correctly?
Actually, this is not a GIMP file, but a .8BPS file, which seems to be generated by PhotoShop. It should not cause this bug, though.
SVN commit 1212956 by cfeck: Verify XCF header when reading Appearantly, Qt can call read() on images without a prior call to canRead() if the file extension matches. Possibly other loaders have to be checked/fixed, too. BUG: 262290 M +4 -0 xcf.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1212956