Opened 4 years ago

Last modified 4 years ago

#678 new defect

Bug in libjpeg used by gdalinfo in testing OSGeo4W Shell

Reported by: Calvin Owned by: osgeo4w-dev@…
Priority: major Component: Installer
Version: Keywords:
Cc:

Description

This is for the installer http://download.osgeo.org/osgeo4w/testing/osgeo4w-setup.exe

While importing some geotagged images into QGIS I found one that failed. When I go to the OSGeo4W Shell and type "gdalinfo dam.jpg" I get the error message.

ERROR 1: libjpeg: Bogus marker length gdalinfo failed - unable to open 'dam.jpg'.

Other JPEG images work fine.

If I use the regular OSGeo4W installer I get the normal gdalinfo reporting when I run "gdalinfo dam.jpg".

Change History (5)

comment:1 by Calvin, 4 years ago

The image was too large to attach, but this is the one that failed.

https://drive.google.com/file/d/1wYvy7XYv3k-qGxG6kDTbI2HlXutHkcnE/view?usp=sharing

comment:2 by andreaerdna, 4 years ago

It seems the same as a previously occurred issue: gdal302.dll doesn't use the external libjpeg library jpeg.dll

See https://trac.osgeo.org/osgeo4w/ticket/654 - https://github.com/OSGeo/gdal/issues/3284

comment:3 by Calvin, 4 years ago

It seems similar, but that ticket was closed 4 months ago saying the problem was fixed so I don't know if it is the same or something similar.

comment:4 by andreaerdna, 4 years ago

The issue was fixed for the "regular" OSGeo4W repository GDAL package. Now it seems the issue occurs with the OSGeo4W "testing" repository GDAL package.

comment:5 by andreaerdna, 4 years ago

Will this issue be fixed for the next QGIS release?

Note: See TracTickets for help on using tickets.