<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">
      <pre wrap="">Jeff McKenna suggested (privately) that i try MS4W. He didn't really say why, and i suspected it wouldn't work because both OSGeo4W and MS4W seem to use the same version of the FileGDB driver (at least, both FileGDBAPI.dll files are identical). 

However, MS4W is still using GDAL 1.9.1 (2012/05/15) while OSGeo4W is now using GDAL 1.9.2 (2012-10-08), and, running the same ogrinfo and ogr2ogr tests (via OSGeo4W) on GDB files, there are no more crash problems!

Thus, there seems to be a problem with GDAL in the change from 1.9.1 (2012/05/15) to 1.9.2 (2012-10-08), when using FileGDB.

I'm very new here -- should i be reporting this elsewhere?

</pre>
      <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
On 06/11/2012 4:25 PM, Martin Feuchtwanger wrote:
</pre>
    </div>
    <blockquote cite="mid:5099AA5C.3050307@shaw.ca" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      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
        moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:feumar@shaw.ca">feumar@shaw.ca</a>  604-254-0361  Vancouver, BC</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Osgeo4w-trac mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Osgeo4w-trac@lists.osgeo.org">Osgeo4w-trac@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/osgeo4w-trac">http://lists.osgeo.org/mailman/listinfo/osgeo4w-trac</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>