Bug 325271

Summary: Konqueror fails displaying slowly loading progressive jpeg with "Improper call to JPEG library in state 208"
Product: [Applications] konqueror Reporter: Martin Walch <walch.martin>
Component: khtml image partAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: andrew.crouthamel, cfeck
Priority: NOR    
Version First Reported In: 4.11.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
URL: http://pooyak.com/p/progjpeg/
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Martin Walch 2013-09-24 20:43:26 UTC
When viewing the page

> http://pooyak.com/p/progjpeg/

or the embedded image

http://pooyak.com/p/progjpeg/jpegload.cgi?o=1

with Konqueror's embedded image viewer, it loads fine until near the EOF where it fails with

> Improper call to JPEG library in state 208

As loading takes a while, I tried it four times. Failed each time. When loading the file locally or in gwenview, everything is fine. As far as I can tell, the file is sane.

Clearing the cache did not help.

The same error message can also be found in bug #80727 (RESOLVED/FIXED).

Reproducible: Always
Comment 1 Christoph Feck 2013-09-24 21:52:42 UTC
Nice test site, hope it stays around until someone has time to investigate the issue.

For the first link, after loading/displaying the image progressively, it eventually aborts, and shows a "broken image" icon instead.

For the second link, on my system it eventually displayed the image correctly.
Comment 2 Martin Walch 2014-05-08 15:57:51 UTC
Still fails in Konqueror 4.13.0.
Comment 3 Andrew Crouthamel 2018-11-11 04:27:14 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-11-21 04:34:58 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Martin Walch 2018-11-21 05:15:54 UTC
Still happens with Konqueror 5.0.97 from KDE Applications 18.04.3.
Comment 6 Andrew Crouthamel 2018-11-21 19:08:42 UTC
Thanks for the update!
Comment 7 Christoph Cullmann 2024-05-06 20:54:51 UTC
Dear user,

KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6.

Please migrate to use a QWebEngine based HTML component.

We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes.

For security issues, please see:

https://kde.org/info/security/

Sorry that we did not fix this issue during the life-time of KHTML.

Greetings
Christoph Cullmann