[gdal-dev] illegal axis orientation combination with GDAL v2.4.4

Andrew C Aitchison andrew at aitchison.me.uk
Sun Jan 19 11:50:54 PST 2020


GDAL 2.4.4 crashes for me after reporting several
 	"ERROR 1: illegal axis orientation combination" 
errors with GeoTIFF files from the test suite that succeed with 2.4.3, 
3.0.2 and 3.0.3.

I haven't managed to find this error string in the source.

Any idea what I'm doing wrong in my build ?
My configure is
 	make distclean
 	./configure  --prefix=/usr/local/gdal2.4.4 --with-poppler
 	make ; make install

# uname -a
Linux warden 5.3.0-26-generic #28-Ubuntu SMP Wed Dec 18 05:37:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
#
# export CPL_DEBUG=on
# gdalinfo --version
GNM: GNMRegisterAllInternal
GNM: RegisterGNMFile
GNM: RegisterGNMdatabase
GDAL 2.4.4, released 2020/01/08
#
# gdalinfo ./gdalautotest-2.4.4/gdrivers/data/utm.tif
GNM: GNMRegisterAllInternal
GNM: RegisterGNMFile
GNM: RegisterGNMdatabase
GDAL: GDALOpen(./gdalautotest-2.4.4/gdrivers/data/utm.tif, this=0x55fbe1b3f4a0) succeeds as GTiff.
Driver: GTiff/GeoTIFF
GDAL: GDALDefaultOverviews::OverviewScan()
Files: ./gdalautotest-2.4.4/gdrivers/data/utm.tif
Size is 512, 512
Coordinate System is:
PROJCS["NAD27 / UTM zone 11N",
     GEOGCS["NAD27",
         DATUM["North_American_Datum_1927",
             SPHEROID["Clarke 1866",6378206.4,294.9786982138982,
                 AUTHORITY["EPSG","7008"]],
             AUTHORITY["EPSG","6267"]],
         PRIMEM["Greenwich",0,
             AUTHORITY["EPSG","8901"]],
         UNIT["degree",0.0174532925199433,
             AUTHORITY["EPSG","9122"]],
         AUTHORITY["EPSG","4267"]],
     PROJECTION["Transverse_Mercator"],
     PARAMETER["latitude_of_origin",0],
     PARAMETER["central_meridian",-117],
     PARAMETER["scale_factor",0.9996],
     PARAMETER["false_easting",500000],
     PARAMETER["false_northing",0],
     UNIT["metre",1,
         AUTHORITY["EPSG","9001"]],
     AXIS["Easting",EAST],
     AXIS["Northing",NORTH],
     AUTHORITY["EPSG","26711"]]
Origin = (440720.000000000000000,3751320.000000000000000)
Pixel Size = (60.000000000000000,-60.000000000000000)
Metadata:
   AREA_OR_POINT=Area
Image Structure Metadata:
   INTERLEAVE=BAND
OGRCT: PROJ >= 4.8.0 features enabled
OGRCT: Source: +proj=utm +zone=11 +datum=NAD27 +units=m +no_defs
OGRCT: Target: +proj=longlat +datum=NAD27 +no_defs
Corner Coordinates:
ERROR 1: illegal axis orientation combination
Upper Left  (  440720.000, 3751320.000)
ERROR 1: illegal axis orientation combination
Lower Left  (  440720.000, 3720600.000)
ERROR 1: illegal axis orientation combination
Upper Right (  471440.000, 3751320.000)
ERROR 1: illegal axis orientation combination
Lower Right (  471440.000, 3720600.000)
ERROR 1: illegal axis orientation combination
Center      (  456080.000, 3735960.000)
Segmentation fault (core dumped)

# gdb /usr/local/gdal2.4.4/bin/gdalinfo core
GNU gdb (Ubuntu 8.3-0ubuntu1) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
     <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/gdal2.4.4/bin/gdalinfo...
[New LWP 26783]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `gdalinfo ./gdalautotest-2.4.4/gdrivers/data/utm.tif'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f854154e17d in pj_free () from /usr/local/lib/libproj.so
(gdb) where
#0  0x00007f854154e17d in pj_free () from /usr/local/lib/libproj.so
#1  0x00007f854753fe34 in OGRProj4CT::~OGRProj4CT (this=0x55cccd6176f0,
     __in_chrg=<optimised out>) at ogrct.cpp:591
#2  0x00007f854753ff6d in OGRProj4CT::~OGRProj4CT (this=0x55cccd6176f0,
     __in_chrg=<optimised out>) at ogrct.cpp:572
#3  0x00007f8547621de2 in GDALInfo (hDataset=0x55cccd60f4a0, psOptions=0x55cccd60bfd0)
     at gdalinfo_lib.cpp:703
#4  0x000055cccbcfb54e in main (argc=<optimised out>, argv=<optimised out>)
     at gdalinfo_bin.cpp:213

(though the errors printing the "Corner Coordinates" idicate that the 
location of the crash is not the real problem.)




More information about the gdal-dev mailing list