Gregor,<br><br>The segfault occurred at <a href="http://trac.osgeo.org/gdal/browser/branches/1.7/gdal/port/cpl_odbc.cpp#L796">http://trac.osgeo.org/gdal/browser/branches/1.7/gdal/port/cpl_odbc.cpp#L796</a> during a call to memcpy.<br>
You mentioned that there was an attempt by CPLMalloc to allocate 4294967297 bytes of memory. There may be an integer overflow. There were similar problems elsewhere in GDAL.<br><br>If you can provide a sample dataset please file a bug report at <a href="http://trac.osgeo.org/gdal/newticket">http://trac.osgeo.org/gdal/newticket</a> mentioning your database and driver setup.<br>
<br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Gregor at HostGIS</b> <span dir="ltr">&lt;<a href="mailto:gregor@hostgis.com">gregor@hostgis.com</a>&gt;</span><br>
Date: Fri, Feb 5, 2010 at 10:29 AM<br>Subject: Re: [gdal-dev] ODBC as OGR data source?<br>To: Chaitanya kumar CH &lt;<a href="http://chaitanya.ch">chaitanya.ch</a>@<a href="http://gmail.com">gmail.com</a>&gt;<br><br><br>Okay, here you go...<br>

<br>
<a href="http://pastebin.com/m18fce732" target="_blank">http://pastebin.com/m18fce732</a><div><div></div><div class="h5"><br>
<br>
-- <br>
HostGIS, Open Source solutions for the global GIS community<br>
Greg Allensworth - SysAdmin, Programmer, GIS Person, Security<br>
   Network+   Server+   A+   Security+   Linux+<br>
   PHP   PostgreSQL   MySQL   DHTML/JavaScript/AJAX<br>
<br>
&quot;No one cares if you can back up — only if you can recover.&quot;<br>
</div></div></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9848167848<br>17.241582N 80.142635E<br>