| Summary: | Gwenview crash when browsing corrupted jpeg and png-files | ||
|---|---|---|---|
| Product: | [Applications] gwenview | Reporter: | kde |
| Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | adaptee, cfeck, kde, salsa_temps |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/gwenview/9dc3076fadd9e56124d1d00edf09316c8a20f6db | Version Fixed/Implemented In: | 2.8.4 |
| Sentry Crash Report: | |||
| Attachments: | New crash information added by DrKonqi | ||
|
Description
kde
2011-09-03 21:56:50 UTC
Please attach an image (or multiple) that reliable reproduces the crash. Created attachment 63788 [details] New crash information added by DrKonqi gwenview (2.6.4) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3 I made another set of jpeg files which cause gwenview to crash. With orrupted pngs it's harder to crash Gwenview but there are inconsistent rendering issues (files are rendered differently every time they are opened). You just need to browse them randomly (back/forward). If you do this quickly, gwenview will crash/show rendering issues more quickly. I have corrupted the files randomly with a short python script. Okular and Gimp refuse to open the png files, Gwenview opens them. I have transferred the test files here: https://pi-xi.net/share/gwenview/ -- Backtrace (Reduced): #6 Gwenview::LoadingDocumentImpl::loadImage (this=0x0, invertedZoom=4) at /usr/src/debug/kdegraphics-4.6.5/gwenview/lib/document/loadingdocumentimpl.cpp:323 #7 0x0000003f7e262774 in scheduleImageLoading (invertedZoom=4, this=<optimized out>) at /usr/src/debug/kdegraphics-4.6.5/gwenview/lib/document/document.cpp:68 #8 Gwenview::Document::prepareDownSampledImageForZoom (this=0x24fe8b0, zoom=<optimized out>) at /usr/src/debug/kdegraphics-4.6.5/gwenview/lib/document/document.cpp:385 #9 0x000000000044a7ac in doPreload (this=0x20a0780) at /usr/src/debug/kdegraphics-4.6.5/gwenview/app/preloader.cpp:91 #10 Gwenview::Preloader::doPreload (this=0x20a0780) at /usr/src/debug/kdegraphics-4.6.5/gwenview/app/preloader.cpp:78 (In reply to comment #2) I just downloaded and browsed those files in gwenview a few times. No crash. No idea about the rendering problem. I'm using KDE SC 4.8 beta2 and Qt 4.8 rc1. *** Bug 299211 has been marked as a duplicate of this bug. *** *** Bug 299253 has been marked as a duplicate of this bug. *** Git commit 9dc3076fadd9e56124d1d00edf09316c8a20f6db by Aurélien Gâteau. Committed on 06/06/2012 at 15:39. Pushed by gateau into branch 'KDE/4.8'. Do not crash when prepareDownSampledImageForZoom() is called on a broken image M +4 -1 lib/document/document.cpp M +2 -1 tests/auto/documenttest.cpp http://commits.kde.org/gwenview/9dc3076fadd9e56124d1d00edf09316c8a20f6db Setting status correctly. |