Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#5660 closed defect (fixed)

OpenFileGDB Driver fail with +2gigs GDB in version 9.3

Reported by: pelord Owned by: warmerdam
Priority: normal Milestone: 1.11.1
Component: default Version: unspecified
Severity: normal Keywords: GDB


When using a 9.3 geodatabase, bigger than 2 gigs, the OpenFileGDB driver fail.

ERROR 1: Error occured in filegdbtable.cpp at line 656 Progress turned off as fast feature count is not available.

Change History (6)

comment:1 Changed 7 years ago by Even Rouault

More than its size, wouldn't the GDB contain a lot of attributes (in the hundreds or more) ?

That's my hypothesis, looking at the reported error line : returnErrorIf(nFieldDescLength > 1024 * 1024
nFieldDescLength < 10 );

comment:2 Changed 7 years ago by Even Rouault

I've pushed the following fix that might help, but difficult to know what exactly happened in your case without access to the data. Would be good if you could confirm that it fixes the issue.

trunk r27726, branches/1.11 r27727 "OpenFileGDB: increase accepted size for field description zone up to 10 MB (#5660)"

comment:3 Changed 7 years ago by pelord

Replying to rouault:

There is 30 attributes : 27 strings and 3 real (double).

With the same schema, only due to varying size of the same GDB:

I successfully accessed a 2.12 go single feature class geodatabase (version 9.3) I successfully accessed a 3.21 go single feature class geodatabase (version 9.3)

It's fail with a 4.33 go single feature class geodatabase (version 9.3)

I will check if it fixes the issue.

comment:4 Changed 7 years ago by Even Rouault

Resolution: fixed
Status: newclosed

ah ok, so was more a 4 GB issue than a 2 GB one. In which case, the real fix was in other tickets that went in 1.11.1. Anyway the above changes won't hurt...

comment:5 Changed 5 years ago by pelord

Is it a similar issue.

I'm working on GDAL 2.1.0, released 2016/04/25.

When I open a GDB,version 9.3 with OpenFileGdb? driver.

Here my error. 3: PEE_ORI_PROVERROR 1: Error occurred in e:\sdk\vc12\gdal-2.1\gdal\ogr\ogrsf_fr mts\openfilegdb\filegdbtable.cpp at line 717

This table is 6.2 gigs.

Version 0, edited 5 years ago by pelord (next)

comment:6 Changed 5 years ago by Even Rouault


Could you make this GDB available ?

The line 717 is "returnErrorIf(nFieldDescLength > 10 * 1024 * 1024
nFieldDescLength < 10 );", so it would mean that the field descriptor section is particularly huge
Note: See TracTickets for help on using tickets.