Opened 13 years ago

Closed 13 years ago

#4230 closed defect (fixed)

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 (1)

sample_feature_63281.gdb.zip (28.1 KB ) - added by peifer 13 years ago.
Sample FileGDB with offending feature

Download all attachments as: .zip

Change History (2)

by peifer, 13 years ago

Sample FileGDB with offending feature

comment:1 by Even Rouault, 13 years ago

Milestone: 1.9.0
Resolution: fixed
Status: newclosed

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.