SUMMARY Some specific jpeg can't be open anymore with gwenview, causing it a segfault. STEPS TO REPRODUCE 1. Open a jpeg file using gwenview OBSERVED RESULT On PNGs or on some specific jpeg files, everything goes normal. But for some other jpegs, gwenview abruptly crashes with the following logs: qt.gui.icc: fromIccProfile: failed minimal tag size sanity [1] 2780 segmentation fault (core dumped) gwenview Note that the picture appears correctly in program for one second before it crashes. The thumbnail also appears without any issues at all on dolphin or gwenview. EXPECTED RESULT The picture file should display and gwenview not crash. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kernel 6.1.35 KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.107.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION It doesn't seem to be related to files metadata. The same pictures used to work on gwenview before. Please. Thank you.
Hi, Please add a backtrace of the crash to help us debug. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports for help in doing so.
(In reply to Tobias Fella from comment #1) > Hi, > > Please add a backtrace of the crash to help us debug. See > https://community.kde.org/Guidelines_and_HOWTOs/Debugging/ > How_to_create_useful_crash_reports for help in doing so. done it. Tried with two faultily jpegs (one supposedly not having EXIF, or at least doesn't display them on dolphin, and the other with EXIF) they both thrown the same output: Thread 1 "gwenview" received signal SIGSEGV, Segmentation fault. Exiv2::ExifData::findKey (this=0x0, key=...) at /usr/src/debug/exiv2/exiv2-0.28.0/src/exif.cpp:457 457 return std::find_if(exifMetadata_.begin(), exifMetadata_.end(), FindExifdatumByKey(key.key())); Though, I noticed something. The file "without EXIF" actually displays the picture a second before crash. The other with visible EXIF instantly crash with no displaying.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Bug seems to have been corrected in 23.04.3. Thanks.