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.
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.
hey guys this one is still a problem, was wondering if it could possibly make onto the 3.7 to do list
The problem looks very much like a library issue with the configure/make not detecting an incompatibility.
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.
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
I don't know of any change that could possibly have fixed the issue, so I'm a bit puzzled.
I suspect it's the addition of the #define for 64-bit file offsets.