Ticket #4230 (closed defect: fixed)

Opened 21 months ago

Last modified 21 months ago

FileGDB error: basic_string::_S_construct NULL not valid

Reported by: peifer Owned by: warmerdam
Priority: normal Milestone: 1.9.0
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords:
Cc: pramsey

Description

The attached sample FileGDB contains a single feature which is causing the below error. The feature has been isolated from a larger FileGDB, where the driver was able to read the first 63280 features, but then aborted when getting to this one.

$ ogrinfo -al sample_feature_63281.gdb

OGR: OGROpen(sample_feature_63281.gdb/0xa3e580) succeeded as FileGDB.
INFO: Open of `sample_feature_63281.gdb'
      using driver `FileGDB' successful.
OGR: GetLayerCount() = 1


Layer name: feature_63281
Geometry: Multi Polygon
Feature Count: 1
Extent: (1793408.488700, 1535593.871800) - (1794588.350500, 1536256.203500)

(...)

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid
Aborted

Attachments

sample_feature_63281.gdb.zip Download (28.1 KB) - added by peifer 21 months ago.
Sample FileGDB with offending feature

Change History

Changed 21 months ago by peifer

Sample FileGDB with offending feature

Changed 21 months ago by rouault

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 1.9.0

r23024 /trunk/gdal/port/cpl_recode_stub.cpp: CPLRecodeFromWCharStub(): fix crash when input is an empty string (#4230)

Note: See TracTickets for help on using tickets.