Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some minor changes #3

Closed
wants to merge 3 commits into from
Closed

some minor changes #3

wants to merge 3 commits into from

Conversation

jef-n
Copy link
Contributor

@jef-n jef-n commented Oct 21, 2012

No description provided.

@rouault
Copy link
Member

rouault commented Oct 21, 2012

Merged (with extra warning fixes for the a3db526 commit). Thanks

@rouault rouault closed this Oct 21, 2012
jmichel-otb pushed a commit to jmichel-otb/gdal that referenced this pull request Jul 6, 2016
jmichel-otb added a commit to jmichel-otb/gdal that referenced this pull request Jul 13, 2016
This pull request creates a new metadata domain, called DERIVED_SUBDATASETS, for all datasets supported by gdal.

This new metadata domain reports derived subdatasets that actually are derived vrt raster band using some of the pixel functions from Valentino. Derived datasets are only exposed if there is at least one raster band, and only derived datasets that make sense are exposed (complex related ones are exposed only if there is at least one complex raster band). The used pixel functions where integrated in another pull request, that has been merged in this one (see OSGeo#141). All metadata, geotransform and projection reference are imported from the orginal dataset. For the sake of numerical precision, derived bands will have Float64 or CFloat64 precision.

Implementation details:

    - Reading of derived subdatasets are handled by a new dataset class (frtms/derived/deriveddataset.cpp)
    - Reporting the new metadata domain and its entries is done at gdaldataset class level, within GetMetaDataDomainList() and GetMetaData() methods,
    - Mapping between pixel functions and available derived dataset is done in a static array in frmts/dervied/derivedlist.c. Adding new derived datasets should be easy.

Here is an example on Sentinel1 dataset :

$ gdalinfo -nogcp -mdd DERIVED_SUBDATASETS s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
Driver: GTiff/GeoTIFF
Files: s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
Size is 17663, 31106
Coordinate System is `'
Metadata:
AREA_OR_POINT=Area
TIFFTAG_DATETIME=2015:06:20 01:52:30
TIFFTAG_IMAGEDESCRIPTION=Sentinel-1A SM SLC L1
TIFFTAG_SOFTWARE=Sentinel-1 IPF 002.45
Metadata (DERIVED_SUBDATASETS):
DERIVED_SUBDATASET_0_NAME=DERIVED_SUBDATASET:AMPLITUDE:s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
DERIVED_SUBDATASET_0_DESC=Amplitude of input bands from s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
DERIVED_SUBDATASET_1_NAME=DERIVED_SUBDATASET:PHASE:s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
DERIVED_SUBDATASET_1_DESC=Phase of input bands from s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
DERIVED_SUBDATASET_2_NAME=DERIVED_SUBDATASET:REAL:s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
DERIVED_SUBDATASET_2_DESC=Real part of input bands from s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
DERIVED_SUBDATASET_3_NAME=DERIVED_SUBDATASET:IMAG:s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
DERIVED_SUBDATASET_3_DESC=Imaginary part of input bands from s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
DERIVED_SUBDATASET_4_NAME=DERIVED_SUBDATASET:CONJ:s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
DERIVED_SUBDATASET_4_DESC=Conjugate of input bands from s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
DERIVED_SUBDATASET_5_NAME=DERIVED_SUBDATASET:INTENSITY:s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
DERIVED_SUBDATASET_5_DESC=Intensity (squared amplitude) of input bands from s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
DERIVED_SUBDATASET_6_NAME=DERIVED_SUBDATASET:LOGAMPLITUDE:s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
DERIVED_SUBDATASET_6_DESC=log10 of amplitude of input bands from s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 0.0, 0.0)
Lower Left ( 0.0,31106.0)
Upper Right (17663.0, 0.0)
Lower Right (17663.0,31106.0)
Center ( 8831.5,15553.0)
Band 1 Block=17663x1 Type=CInt16, ColorInterp=Gray

And :

$ gdalinfo -nogcp DERIVED_SUBDATASET:AMPLITUDE:s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
Driver: COMPLEXDERIVED/Complex derived bands
Files: s1a-s6-slc-vv-20150619t195043-20150619t195101-006447-00887d-001.tiff
Size is 17663, 31106
Coordinate System is `'
Origin = (0.000000000000000,0.000000000000000)
Pixel Size = (1.000000000000000,1.000000000000000)
Metadata:
AREA_OR_POINT=Area
TIFFTAG_DATETIME=2015:06:20 01:52:30
TIFFTAG_IMAGEDESCRIPTION=Sentinel-1A SM SLC L1
TIFFTAG_SOFTWARE=Sentinel-1 IPF 002.45
Corner Coordinates:
Upper Left ( 0.0000000, 0.0000000)
Lower Left ( 0.000, 31106.000)
Upper Right ( 17663.000, 0.000)
Lower Right ( 17663.000, 31106.000)
Center ( 8831.500, 15553.000)
Band 1 Block=128x128 Type=Float64, ColorInterp=Undefined

Squashed commit of the following:

commit 6371674
Merge: acd8343 20b0f9d
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 13 09:08:37 2016 +0200

    Merge branch 'trunk' into enhance-complex-datasets-with-pf

commit acd8343
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 13 09:04:15 2016 +0200

    DOC: Moving DERIVED dataset entry at the correct location in supported formats table

commit bf03eed
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Tue Jul 12 17:31:13 2016 +0200

    DOC: Adding documentation derived datasets

commit 1a9a5fa
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Tue Jul 12 16:57:56 2016 +0200

    ENH: Remove last magic number

commit 3a8ff49
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Tue Jul 12 15:44:21 2016 +0200

    TEST: Check expected checksum following modification of intensity function

commit 72f37d6
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Tue Jul 12 15:44:02 2016 +0200

    TEST: Remove duplicate pixfun.py

commit eba1603
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Tue Jul 12 15:09:53 2016 +0200

    COMP: Remove pixel function C file, as it has been renamed to .cpp

commit 5b785c4
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Tue Jul 12 14:20:40 2016 +0200

    TEST: Fix remaining jp2openjpeg failing tests

commit 3fcc552
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Tue Jul 12 14:20:24 2016 +0200

    ENH: Add the DERIVED_SUBDATASETS domain to the filtered domain in gdaljp2metadata

commit 5d922d9
Merge: 84afb22 d9ba836
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Tue Jul 12 13:33:13 2016 +0200

    Merge branch 'trunk' into enhance-complex-datasets-with-pf

commit 84afb22
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Tue Jul 12 12:17:44 2016 +0200

    TEST: Fixing tests failing because of new metadata domain DERIVED_SUBDATASETS

commit a897355
Merge: 8b7793e bf7b478
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Tue Jul 12 10:45:45 2016 +0200

    Merge branch 'trunk' into enhance-complex-datasets-with-pf

commit 8b7793e
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Fri Jul 8 15:43:59 2016 +0200

    BUG: Only report DERIVED metadata domain if there is at least one raster band

commit f6aaf6d
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Fri Jul 8 15:05:56 2016 +0200

    BUG: Ensure that DERIVED mdd is not reported twice

commit d96cf59
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Fri Jul 8 14:44:42 2016 +0200

    TEST: More complete tests, including geoTransform, Proj and Checksum tests (from PR review)

commit e1c072a
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Fri Jul 8 14:44:14 2016 +0200

    BUG: We must also now the return type of the pixel function (for instance conj is CFloat64, but mod is Float64)

commit b0abc50
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Fri Jul 8 14:23:11 2016 +0200

    BUG: Fix geotransform setting

commit 153e215
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Fri Jul 8 13:48:45 2016 +0200

    TEST: Fix tests failing due to incorrect number of metadata domains

commit 17516f6
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Fri Jul 8 13:42:14 2016 +0200

    TEST: Fix autotest for derived datasets

commit 2490c3d
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Fri Jul 8 13:40:59 2016 +0200

    ENH: Better implementation of access to available subdatasets description

commit e7965e4
Merge: 57e607d 5c295ab
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Fri Jul 8 12:13:01 2016 +0200

    MRG: Merge trunk into branch

commit 57e607d
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 17:15:44 2016 +0200

    ENH: Report correct block size (from PR review)

commit a65e6ef
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 17:12:40 2016 +0200

    ENH: Avoid exposing complex relevant derived datasets if there is not at least one complex raster band

commit 03ca1aa
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 16:58:35 2016 +0200

    COMP: Adding C wrapping stuff to make it compile

commit c32128a
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 16:25:33 2016 +0200

    ENH: Renamed cderived -> derived (as it is not limited to complex datasets)

commit a42afc2
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 16:20:05 2016 +0200

    ENH: Hide static const DerivedDatasetDescription asDDSDesc [] in a compiled file to avoid duplication in binaries (from PR review)

commit 44f6f4d
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 15:43:50 2016 +0200

    STY: papo -> o (from PR review)

commit 4713785
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 15:39:15 2016 +0200

    ENH: Replace magic number by appropriate definition (from PR review)

commit 842bff5
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 15:36:43 2016 +0200

    DOC: Fix copyright

commit 5742267
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 15:36:01 2016 +0200

    ENH: Remove unused code (from PR review)

commit 07a3c7e
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 15:35:06 2016 +0200

    STY: Fix if indentation (from PR review)

commit 27ab9f5
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 15:33:23 2016 +0200

    ENH: Clear debug traces (from PR review)

commit 96ff920
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 15:32:10 2016 +0200

    ENH: CPLStringList * -> CPLStringList (from PR review)

commit f014748
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 13:47:15 2016 +0200

    TEST: travis-ci failing due to python package imported but not used

commit afed253
Merge: db55680 e8cb1ae
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 12:08:30 2016 +0200

    Merge branch 'pixelfunctions-integration' into enhance-complex-datasets-with-pf

commit e8cb1ae
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 12:07:56 2016 +0200

    TEST: Fixing test failing due to bad indent

commit 0345b9e
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 11:45:29 2016 +0200

    COMP: Trying to fix travis-ci compilation error

commit db55680
Merge: 2162049 de301c3
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 11:40:23 2016 +0200

    Merge branch 'pixelfunctions-integration' into enhance-complex-datasets-with-pf

commit de301c3
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 11:39:52 2016 +0200

    TEST: Make numpy dependency optional (from PR review)

commit 2162049
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 11:29:19 2016 +0200

    TEST: Adding simple opening tests for cderived datasets

commit f1d0ab1
Merge: 7ff31aa 8783995
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 11:25:51 2016 +0200

    Merge branch 'pixelfunctions-integration' into enhance-complex-datasets-with-pf

commit 8783995
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 11:25:12 2016 +0200

    COMP: Fix include of gdal_vrt.h

commit 7ff31aa
Merge: 318ed3d 66e3388
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 11:07:38 2016 +0200

    Merge branch 'pixelfunctions-integration' into enhance-complex-datasets-with-pf

commit 66e3388
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 11:06:30 2016 +0200

    COMP: Add gdal_vrt.h include to get declaration of prototype for GDALRegisterDefaultPixelFunc

commit 318ed3d
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 11:02:41 2016 +0200

    COMP: Adding make file for windows

commit f7fbcc2
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 10:59:32 2016 +0200

    BUG: Use the correct pixel function

commit 97124fc
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 10:53:46 2016 +0200

    DOC: Add copyright notices

commit ec88c34
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 10:50:12 2016 +0200

    ENH: Support several types of derived datasets, all declared in one place

commit f264169
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 09:31:52 2016 +0200

    ENH: Remove hard-coded pixel function now that we have them within gdal

commit 07eae9f
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Thu Jul 7 09:14:39 2016 +0200

    ENH: Add derived dataset to GDALmake.opt.in

commit c2e7853
Merge: dbd8187 0e14ea1
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 17:06:49 2016 +0200

    Merge branch 'pixelfunctions-integration' into enhance-complex-datasets-with-pf

commit 0e14ea1
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 17:03:40 2016 +0200

    COMP: Make pixelfunctions static, and solve link error

commit d9fd29b
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 16:44:23 2016 +0200

    DOC: Adding a section about default pixel functions in vrt tutorial (from PR review)

commit 5e40669
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 16:34:33 2016 +0200

    ENH: Update makefile.vc as well (from PR review)

commit 6f95e7d
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 16:32:51 2016 +0200

    ENH: Avoid ignoring c files (from PR review)

commit bf13853
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 16:28:49 2016 +0200

    ENH: Remove code that only makes sense as part of a plugin (from PR review)

commit f0f79ef
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 16:27:30 2016 +0200

    ENH: Removing useless files (from PR review)

commit dbd8187
Merge: a75faf5 a53f540
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 16:04:45 2016 +0200

    Merge branch 'pixelfunctions-integration' into enhance-complex-datasets-with-pf

commit a53f540
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 15:55:51 2016 +0200

    ENH: Register default pixel functions

commit 22c92a8
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 15:55:27 2016 +0200

    COMP: Add prototypes for all functions

commit 9d18110
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 15:55:00 2016 +0200

    COMP: Adding pixelfunction file for compilation

commit 8ffbb53
Merge: 22919bf 67373d6
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 15:43:56 2016 +0200

    Merge branch 'pixelfunctions-import' into pixelfunctions-integration

commit 67373d6
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 15:42:54 2016 +0200

    TEST: Removing those tests since they seem unrelated to the pixel functions

commit a75faf5
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 15:18:44 2016 +0200

    ENH: Remove useless trace

commit a5a8adb
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 15:12:09 2016 +0200

    ENH: Ensure that geotiff dataset calls base GetMetadata() and GetMetadataDomainList()

commit a7b6a89
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 15:11:30 2016 +0200

    ENH: Implement virtual GetMetadata() and GetMetadataDomainList() in GDALDataset

commit 94d8ecc
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 15:10:55 2016 +0200

    ENH: Minor fixes in derived dataset

commit de11bcd
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 11:53:56 2016 +0200

    Prepare for integration in Gdal

commit d384b9d
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Wed Jul 6 10:19:20 2016 +0200

    ENH: Report projectionRef, geoTransform and GCPs for derived subdatasets

commit 665d879
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Tue Jul 5 13:00:25 2016 +0200

    ENH: Expose derived subdatasets in SetBand()

commit e277ccf
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Mon Jul 4 16:16:33 2016 +0200

    ENH: Comments from review

commit a984a78
Author: Julien Michel <julien.michel@cnes.fr>
Date:   Mon Jul 4 14:25:11 2016 +0200

    ENH: Adding a complex derived dataset to allow for on-the-fly computation of amplitude while reading

commit ac7f70a
Author: Antonio Valentino <antonio.valentino@tiscali.it>
Date:   Mon Feb 1 23:48:59 2016 +0100

    Fix floating point trunation in mod function (closes OSGeogh-3)

commit 4668088
Author: Antonio Valentino <antonio.valentino@tiscali.it>
Date:   Tue Jun 23 22:34:00 2015 +0200

    Rename makecomplex into complex

commit 6648310
Merge: 4038d40 d7eaf5f
Author: Antonio Valentino <antonio.valentino@tiscali.it>
Date:   Tue Jun 23 22:25:01 2015 +0200

    Merge remote-tracking branch 'bopen/master'

commit d7eaf5f
Author: Alessandro Amici <alexamici@gmail.com>
Date:   Tue Jun 23 17:02:43 2015 +0200

    Add the MakeCompexPixelFunc that make a complex out of a real and imag bands

commit 4038d40
Author: Antonio Valentino <antonio.valentino@tiscali.it>
Date:   Sun Apr 13 12:39:30 2014 +0200

    Minor improvements

commit 01e325c
Author: Antonio Valentino <antonio.valentino@tiscali.it>
Date:   Sun Apr 13 12:39:07 2014 +0200

    Silence compiler warnings

commit 29f6bd3
Author: Antonio Valentino <antonio.valentino@tiscali.it>
Date:   Sun Apr 13 12:37:57 2014 +0200

    Remove unnecessary includes

commit 2cfd449
Author: Antonio Valentino <antonio.valentino@tiscali.it>
Date:   Sun Apr 13 12:36:38 2014 +0200

    Improved the README.txt file

commit cceed0b
Author: Antonio Valentino <antonio.valentino@tiscali.it>
Date:   Sun Apr 13 11:47:01 2014 +0200

    Initial commit
rouault added a commit that referenced this pull request Mar 8, 2018
This should perhaps help fixing, or at least workarounding, the following
issue seen randomly on the gcc52_stdcpp14_sanitize Travis-CI target.

e.g on https://api.travis-ci.org/v3/job/351015753/log.txt

Running gdrivers/gdalhttp.py...
  TEST: http_1 ... success
ERROR 1: Range downloading not supported by this server!
ERROR 1: Request for 8-407 failed
  TEST: http_2 ... success
  TEST: http_3 ... success
ERROR 4: `/vsicurl/ftp://download.osgeo.org/gdal/data/gtiff/utm.tif' not recognized as a supported file format.
  TEST: http_4 ... HTTP service for ftp://download.osgeo.org/gdal/data/gtiff/utm.tif is down (HTTP Error: ftp error: 425 Security: Bad IP connecting.)
cannot open URL
skip
  TEST: http_5 ... success
ERROR 1: JSON parsing error: unexpected character (at offset 0)
  TEST: http_6 ... success
==31274==WARNING: AddressSanitizer failed to allocate 0x62d00019040f bytes
==31274==AddressSanitizer's allocator is terminating the process instead of returning 0
==31274==If you don't like this behavior set allocator_may_return_null=1
==31274==AddressSanitizer CHECK failed: ../../.././libsanitizer/sanitizer_common/sanitizer_allocator.cc:147 "((0)) != (0)" (0x0, 0x0)
    #0 0x7f3f527259f4  (/home/travis/build/OSGeo/gdal/install-gcc-5.2.0/lib64/libasan.so.2.0.0+0x9e9f4)
    #1 0x7f3f5272a453 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/home/travis/build/OSGeo/gdal/install-gcc-5.2.0/lib64/libasan.so.2.0.0+0xa3453)
    #2 0x7f3f526a7461  (/home/travis/build/OSGeo/gdal/install-gcc-5.2.0/lib64/libasan.so.2.0.0+0x20461)
    #3 0x7f3f527286d5  (/home/travis/build/OSGeo/gdal/install-gcc-5.2.0/lib64/libasan.so.2.0.0+0xa16d5)
    #4 0x7f3f526acb3d  (/home/travis/build/OSGeo/gdal/install-gcc-5.2.0/lib64/libasan.so.2.0.0+0x25b3d)
    #5 0x7f3f526adbd5  (/home/travis/build/OSGeo/gdal/install-gcc-5.2.0/lib64/libasan.so.2.0.0+0x26bd5)
    #6 0x7f3f5271e32e in realloc (/home/travis/build/OSGeo/gdal/install-gcc-5.2.0/lib64/libasan.so.2.0.0+0x9732e)
    #7 0x7f3f3ea2a940 in VSIRealloc /home/travis/build/OSGeo/gdal/gdal/port/cpl_vsisimple.cpp:814
    #8 0x7f3f3e8e3958 in VSICurlHandleWriteFunc /home/travis/build/OSGeo/gdal/gdal/port/cpl_vsil_curl.cpp:839
    #9 0x7f3f2ff61442 in Curl_client_write (/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4+0x16442)
    #10 0x7f3f2ff8bc46 in Curl_pp_readresp (/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4+0x40c46)
    #11 0x7f3f2ff621ab  (/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4+0x171ab)
    #12 0x7f3f2ff64546  (/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4+0x19546)
    #13 0x7f3f2ff61bbf  (/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4+0x16bbf)
    #14 0x7f3f2ff61cd1  (/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4+0x16cd1)
    #15 0x7f3f2ff6776b in Curl_disconnect (/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4+0x1c76b)
    #16 0x7f3f2ff7c170 in curl_multi_cleanup (/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4+0x31170)
    #17 0x7f3f3e902c6b in ClearCache /home/travis/build/OSGeo/gdal/gdal/port/cpl_vsil_curl.cpp:2913
    #18 0x7f3f3e8fc9f7 in ~VSICurlFilesystemHandler /home/travis/build/OSGeo/gdal/gdal/port/cpl_vsil_curl.cpp:2564
    #19 0x7f3f3e8fcf23 in ~VSICurlFilesystemHandler /home/travis/build/OSGeo/gdal/gdal/port/cpl_vsil_curl.cpp:2569
    #20 0x7f3f3e9e4a02 in VSIFileManager::~VSIFileManager() /home/travis/build/OSGeo/gdal/gdal/port/cpl_vsil.cpp:1805
    #21 0x7f3f3e9e5baa in VSICleanupFileManager /home/travis/build/OSGeo/gdal/gdal/port/cpl_vsil.cpp:1966
    #22 0x7f3f3e533e42 in GDALDriverManager::~GDALDriverManager() /home/travis/build/OSGeo/gdal/gdal/gcore/gdaldrivermanager.cpp:262
    #23 0x7f3f3e53418d in GDALDriverManager::~GDALDriverManager() /home/travis/build/OSGeo/gdal/gdal/gcore/gdaldrivermanager.cpp:329
    #24 0x7f3f3e53a14e in GDALDestroyDriverManager /home/travis/build/OSGeo/gdal/gdal/gcore/gdaldrivermanager.cpp:898
    #25 0x7f3f27794ea3 in ffi_call_unix64 (/usr/lib/python2.7/lib-dynload/_ctypes.so+0x1aea3)
    #26 0x7f3f277948c4 in ffi_call (/usr/lib/python2.7/lib-dynload/_ctypes.so+0x1a8c4)
    #27 0x7f3f277852c1 in _ctypes_callproc (/usr/lib/python2.7/lib-dynload/_ctypes.so+0xb2c1)
    #28 0x7f3f27785aa1  (/usr/lib/python2.7/lib-dynload/_ctypes.so+0xbaa1)
    #29 0x4c2645 in PyObject_Call (/usr/bin/python2.7+0x4c2645)
    #30 0x537589 in PyEval_EvalFrameEx (/usr/bin/python2.7+0x537589)
    #31 0x5376f1 in PyEval_EvalFrameEx (/usr/bin/python2.7+0x5376f1)
    #32 0x5376f1 in PyEval_EvalFrameEx (/usr/bin/python2.7+0x5376f1)
    #33 0x53e2af in PyEval_EvalCodeEx (/usr/bin/python2.7+0x53e2af)
    #34 0x536c45 in PyRun_StringFlags (/usr/bin/python2.7+0x536c45)
    #35 0x53ecb4 in PyRun_SimpleStringFlags (/usr/bin/python2.7+0x53ecb4)
    #36 0x51e62d in Py_Main (/usr/bin/python2.7+0x51e62d)
    #37 0x7f3f504657ec in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x217ec)
    #38 0x41bad0  (/usr/bin/python2.7+0x41bad0)




git-svn-id: https://svn.osgeo.org/gdal/trunk@41669 f0d54148-0727-0410-94bb-9a71ac55c965
lucianpls added a commit that referenced this pull request Jul 18, 2018
lucianpls added a commit that referenced this pull request Jun 22, 2021
yoichigmf added a commit to yoichigmf/gdal that referenced this pull request Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants