SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

Mantis - imagemagick
Viewing Issue Advanced Details
4278 regular use minor always 2010-02-16 03:10 2010-04-03 20:02
skayser  
hson  
normal  
closed  
fixed  
none    
none  
0004278: convert: Wrong JPEG library version: library is 62, caller expects 70
convert has some libjpeg-related troubles when converting to jpeg, i.e. the conversion will fail. All carried out on build10x.

$ wget -qO test.png http://images.google.de/images/nav_logo7.png [^]
$ file test.png
test.png: PNG image data
$ convert test.png test.jpg
convert: Wrong JPEG library version: library is 62, caller expects 70 `test.jpg' @ jpeg.c/EmitMessage/232.
$ file test.jpg
test.jpeg: empty file

The other way round is fine.

$ wget -qO test2.jpg http://blog.lib.umn.edu/jeffryes/biomedical/google.jpg [^]
$ file test2.jpg
JPEG file
$ convert test2.jpg test2.png
$ file test2.png
PNG image data
$ pkgparam CSWimagemagick VERSION
6.5.8,REV=2009.12.20_rev=6

$ ldd -r /opt/csw/bin/convert | grep jpeg
        libjpeg.so.7 => /opt/csw/lib/i386/libjpeg.so.7
        libjpeg.so.62 => /opt/csw/lib/i386/libjpeg.so.62
parent of 0004311closed james ghostscript Please rebuild, linking with libjpeg.so.7 instead of libjpeg.so.62 
parent of 0004312closed james tiff Please rebuild, linking with libjpeg.so.7 instead of libjpeg.so.62 
Issue History
2010-02-16 03:10 skayser New Issue
2010-02-16 04:36 hson Status new => assigned
2010-02-16 04:36 hson Assigned To => hson
2010-02-16 04:48 hson Note Added: 0007442
2010-02-16 04:48 hson Status assigned => confirmed
2010-02-26 18:35 hson Relationship added parent of 0004311
2010-02-26 18:37 hson Relationship added parent of 0004312
2010-03-29 13:10 hson Note Added: 0007776
2010-03-29 13:10 hson Status confirmed => resolved
2010-03-29 13:10 hson Resolution open => fixed
2010-04-03 20:02 hson Note Added: 0007815
2010-04-03 20:02 hson Status resolved => closed

Notes
(0007442)
hson   
2010-02-16 04:48   
I've also noticed this.
The problem is libtiff and libgs which is linked to libjpeg.so.62 which get loaded before libjpeg.so.7 (which convert is linked to)
(0007776)
hson   
2010-03-29 13:10   
Fixed in 6.6.0-9 to be relased later today
(0007815)
hson   
2010-04-03 20:02   
6.6.0,REV=2010.03.29_rev=9