Ticket #2201 (closed defect: fixed)
ogrinfo/ogr2ogr with interlis 1 gives segmentation fault (without ili file!)
| Reported by: | meierrom | Owned by: | pka |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.1 |
| Component: | OGR_SF | Version: | unspecified |
| Severity: | normal | Keywords: | interlis 1 |
| Cc: | warmerdam |
Description
ogrinfo and ogr2ogr throw out a segmentation fault with interlis 1 files without adding an ili file. Processing stops almost immediately after pressing the enter key.
Here some examples: ogrinfo beispiel.itf --> Segmentation fault ogr2ogr -f 'PostgreSQL' PG:'dbname=test user=test' test.shp --> works fine ogr2ogr -f 'PostgreSQL' PG:'dbname=test user=test' beispiel.itf,beispiel.ili --> works fine ogr2ogr -f 'PostgreSQL' PG:'dbname=test user=test' beispiel.itf --> Segmentation fault
I used mainly the two following configure strings: ./configure --with-xerces --without-geos ./configure --with-xerces --without-geos --with-pg=/usr/local/pgsql/bin/pg_config
I tried several gdal/ogr versions, releases and trunks, f.e. 1.4.2, 1.4.3, 1.5.0, etc.
I compiled on opensuse 7.3 and 10.2.
I tried several compilers up to 4.1.2.
I tried two xerces-libs: 2.6.0 and 2.8.0.
All the best!!! Roman

