| Summary: | Gwenview crashes upon opening large JPEG file | ||
|---|---|---|---|
| Product: | [Applications] gwenview | Reporter: | Kai Uwe Broulik <kde> |
| Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | crash | CC: | adaptee, benni, tdgalappaththi |
| Priority: | NOR | ||
| Version First Reported In: | 2.8 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Kai Uwe Broulik
2012-02-29 23:22:25 UTC
Okay, it was not the picture that was the cause but one JPEG that was correupt which I uploaded here: http://privat.broulik.de/DSC00032.JPG When Gwenview then generates the preview, it crashes. When opening that file directly, it crashes instantly. GIMP opens the file fine, though, Dolphin also generates a preview (although it took much longer than for the rest of the files) This seems to be an assertion failure in exiv2: $ exiv2 DSC00032.JPG Error: Directory Photo: Next pointer is out of bounds; ignored. Error: Offset of directory Photo, entry 0x9204 is out of bounds: Offset = 0x00040389; truncating the entry Error: Offset of directory Photo, entry 0x9208 is out of bounds: Offset = 0x00000000; truncating the entry Error: Directory Photo, entry 0x927c has invalid size 536913476*1; skipping entry. exiv2: tiffvisitor.cpp:1261: virtual void Exiv2::Internal::TiffReader::visitDirectory(Exiv2::Internal::TiffDirectory*): Zusicherung »p >= pData_« nicht erfüllt. Abgebrochen I just built the latest svn version of exiv2 and linked gwenview against it -> No more crash. I'm planning to implement the project idea of http://community.kde.org/GSoC/2012/Ideas#Project:_Video_metadata_support which extends the functionalities of Exiv2 for video files. This is my proposal : http://www.google-melange.com/gsoc/proposal/review/google/gsoc2012/tharindu_dg/10001 As suggested by Comment #4 |