<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Using GDAL-OGR 1.9.2 (2012-10-08) with the FileGDB add-on (not sure
of the version, but i got it at the same time i got GDAL), there's a
random crash bug upon using ogrinfo or ogr2ogr.<br>
I've tried the following on several different GDB files and there's
almost always a Windows error message:<br>
<font face="Times New Roman, Times, serif">ogrinfo.exe has
stopped working<br>
A problem caused the program to stop working correctly....</font><br>
but it's not always at the same time during the processing.<br>
<blockquote><tt>ogrinfo --debug on -al <gdb_file></tt><br>
<tt> OGR: OGROpen(<gdb_file>/02DAE9F8) succeeded as FileGDB.</tt><br>
<tt> OGR: GetLayerCount() = <N></tt><br>
</blockquote>
It usually appears here, and no layers are listed, but sometimes
they do get listed<br>
<blockquote><tt>1: <layer1> (Multi Line String)</tt><br>
<tt> 2: <layer1> (None)</tt><br>
<tt> :</tt><br>
<tt> N: <layerN> (Multi Polygon)</tt><br>
</blockquote>
<tt> </tt>before the crash. Sometimes the crash occurs part-way
through.<br>
The same crash happens when using ogr2ogr to write a GDB file to
Postgres:<br>
<blockquote><tt> ogr2ogr -overwrite --debug on -f "PostgreSQL"
PG:<DB_connection> <gdb_file></tt><font face="Times
New Roman, Times, serif"><br>
</font></blockquote>
<font face="Times New Roman, Times, serif"> ogr2ogr.xe has
stopped working<br>
A problem caused the program to stop working correctly....</font><br>
<br>
I've seen references to using a patch to make 4GB available (instead
of 2GB) for \Program Files (x86)\ programs <a
class="moz-txt-link-freetext"
href="http://ntcore.com/4gb_patch.php">http://ntcore.com/4gb_patch.php</a>
but the problem persists even for small GDB files.<br>
<br>
I'm guessing it <i>is </i>a memory issue, though, because of it's
varying behavior on my machine and, presumably, has not occurred on
the programmer's machine.<br>
<br>
BTW, the problem seems quite <i>independent </i>of the "Invalid
function arguments." error resulting from the GDB having a
non-standard CRS -- it happens with GDBs having a standard CRS too.<br>
<br>
Is it possible the FileGDB driver is broken?<br>
<pre class="moz-signature" cols="72">--
Martin Feuchtwanger <a class="moz-txt-link-abbreviated" href="mailto:feumar@shaw.ca">feumar@shaw.ca</a> 604-254-0361 Vancouver, BC</pre>
</body>
</html>