POV-Ray

The Persistence of Vision Raytracer (POV-Ray).

This is the legacy Bug Tracking System for the POV-Ray project. Bugs listed here are being migrated to our github issue tracker. Please refer to that for new reports or updates to existing ones on this system.

Attached to Project: POV-Ray
Opened by Jim Holsenback - 2010-08-07
Last edited by Thorsten Fröhlich - 2011-08-23

FS#161 - error when writing jpg format (linux build)

There is a confirmed bug when writing jpg file format with the current linux build (beta39). when specifying +fj output format the following error occurs:

JPEG parameter struct mismatch: library thinks size is 372, caller
expects 376
JPEG parameter struct mismatch: library thinks size is 372, caller
expects 376
Render failed

this has been confirmed on ubuntu 10.4 and openSuSe 11.2 (assuming 32 bit version) as openSuSe 11.2 64-bit reports no problem

there has been a proposed fix to ~smp/source/base/image/jpeg.cpp that appears to work, however it requires some additional work to make it a platform (linux) and compiler (gcc) specific fix.

Closed by  Thorsten Fröhlich
Tuesday, 23 August 2011, 05:47 GMT
Reason for closing:  Fixed
Jim Holsenback commented on Sunday, 21 November 2010, 15:08 GMT

hey guys this one is still a problem, was wondering if it could possibly make onto the 3.7 to do list

Thorsten Fröhlich commented on Sunday, 21 November 2010, 15:15 GMT

The problem looks very much like a library issue with the configure/make not detecting an incompatibility.

Jim Holsenback commented on Sunday, 21 November 2010, 15:59 GMT

Yes ... there WAS a fix to jpeg.cpp from Chris that I did locally on my system (4 bit offset) but this problem only appeared to manifest with 32-bit gcc ... making that happen ONLY for the 32-bit gcc flavored compiles was something that I think is a little bit out of my skill set.

Jim Holsenback commented on Wednesday, 15 December 2010, 20:32 GMT

this appears to have been fixed with changes #5265 ... my 32 bit system built fine and I'm now able to write jpg output files another confirmation would be cool

Admin
Christoph Lipka commented on Wednesday, 15 December 2010, 20:52 GMT

I don't know of any change that could possibly have fixed the issue, so I'm a bit puzzled.

Admin
Chris Cason commented on Wednesday, 15 December 2010, 20:54 GMT

I suspect it's the addition of the #define for 64-bit file offsets.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing