Derrick,<br><br>I was able to run gdalinfo and gdal_translate on your sample dataset without any error.<br>Can you provide some more details like your platform and the settings you used to compile GDAL?<br><br><div class="gmail_quote">
On Fri, Feb 18, 2011 at 9:57 AM, <span dir="ltr"><Derrick.Wong@csiro.au></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-AU"><div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi Kyle,</span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Thanks for the reply.</span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Gdalinfo on 1.8.0 gives me the same “Segmentation fault” error. </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Attached is the dump using 1.7.3</span></p><p class="MsoNormal">
<span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">I have included a sample file and you can download it here:</span></p><p class="MsoNormal">
<span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><a href="ftp://ftp.csiro.au/DerrickWong/sample/sample.nc" target="_blank">ftp://ftp.csiro.au/DerrickWong/sample/sample.nc</a></span></p>
<div class="im"><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><b><span style="font-size: 10pt; color: rgb(0, 153, 204);">Derrick Wong</span></b><b><span style="font-size: 10pt; color: rgb(0, 153, 204);"> </span></b><span style="color: rgb(31, 73, 125);"><br></span><span style="font-size: 9pt; color: rgb(31, 73, 125);">Software Engineer </span><b><span style="font-size: 9pt; color: rgb(190, 214, 0);">|</span></b><span style="font-size: 9pt; color: rgb(31, 73, 125);"> Spatial Information Services Stack (SISS) Project </span><b><span style="font-size: 9pt; color: rgb(190, 214, 0);">| </span></b><span style="font-size: 9pt; color: rgb(31, 73, 125);">CSIRO<br>
<br>Phone: +61 8 6436 8945<br></span><span style="font-size: 9pt; color: rgb(0, 153, 204);"><a href="mailto:derrick.wong@csiro.au" target="_blank"><span style="color: blue;">derrick.wong@csiro.au</span></a></span><span style="font-size: 9pt; color: rgb(31, 73, 125);"> </span><b><span style="font-size: 9pt; color: rgb(190, 214, 0);">|</span></b><span style="font-size: 9pt; color: rgb(31, 73, 125);"> </span><span style="font-size: 9pt; color: rgb(0, 153, 204);"><a href="http://www.csiro.au" target="_blank"><span style="color: blue;">www.csiro.au</span></a></span><span style="font-size: 9pt; color: rgb(31, 73, 125);"><br>
Address: Spatial Information Services Stack (SISS), 26 Dick Perry Avenue, Kensington WA 6151, Australia</span><span style="font-size: 9pt; color: rgb(31, 73, 125);"><br></span><span style="color: rgb(31, 73, 125);"><br></span><b><span style="font-size: 9pt; color: black;">PLEASE NOTE</span></b><i><span style="font-size: 7.5pt; color: black;"> <br>
</span></i><span style="font-size: 9pt; color: black;">The information contained in this email may be confidential or privileged. Any unauthorised use or disclosure is prohibited. If you have received this email in error, please delete it immediately and notify the sender by return email. Thank you. To the extent permitted by law, CSIRO does not represent, warrant and/or guarantee that the integrity of this communication has been maintained or that the communication is free of errors, virus, interception or interference.</span><span style="font-size: 9pt; color: rgb(31, 73, 125);"></span></p>
<p class="MsoNormal"><b><span style="font-size: 9pt; color: rgb(102, 102, 102);">Please consider the environment before printing this email.</span></b><span style="font-size: 11pt; color: rgb(31, 73, 125);"></span></p><p class="MsoNormal">
<span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p></div><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> Kyle Shannon [mailto:<a href="mailto:ksshannon@gmail.com" target="_blank">ksshannon@gmail.com</a>] <br>
<b>Sent:</b> Friday, 18 February 2011 11:32 AM<br><b>To:</b> Wong, Derrick (CESRE, Kensington)<br><b>Cc:</b> <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br><b>Subject:</b> Re: [gdal-dev] Segmentation fault using gdal_translate in 1.8.0</span></p>
</div><div><div></div><div class="h5"><p class="MsoNormal"> </p><p class="MsoNormal" style="margin-bottom: 12pt;"><span style="font-family: "Courier New";">Derrick,<br>Can you file a ticket and attach a sample data set? Do you have any other details? A gdalinfo of the netcdf file and another of one of the variables would be great. Thanks.<br>
<br>kss<br clear="all"></span><br clear="all"><br># ============================<br>Kyle Shannon<br>Physical Science Technician<br>RMRS Fire Sciences Lab<br>Fire, Fuels & Smoke - RWU 4405<br>5775 Highway 10 W.<br>Missoula, MT 59808<br>
(406)829-6954<br><a href="mailto:kshannon@fs.fed.us" target="_blank">kshannon@fs.fed.us</a><br># ============================<br><br></p><div><p class="MsoNormal">On Thu, Feb 17, 2011 at 19:54, <Derrick.Wong@csiro.au> wrote:</p>
<div><div><p class="MsoNormal">Hi all, </p><p class="MsoNormal"> </p><p class="MsoNormal">I have updated to use GDAL 1.8 and I am having problems using gdal_translate to convert netCDF files to Geotiff or ERS. I am getting “Segmentation fault” errors only occurring in 1.8.0. I was using 1.7.3 previously.</p>
<p class="MsoNormal"> </p><p class="MsoNormal">Could someone kindly advise?</p><p class="MsoNormal"> </p><p class="MsoNormal">Thank you for your time.</p><p class="MsoNormal"><b><span style="font-size: 10pt; color: rgb(0, 153, 204);">Derrick Wong </span></b><br>
<span style="font-size: 9pt;">Software Engineer <b><span style="color: rgb(190, 214, 0);">|</span></b> Spatial Information Services Stack (SISS) Project <b><span style="color: rgb(190, 214, 0);">| </span></b>CSIRO<br><br>
Phone: +61 8 6436 8945<br><span style="color: rgb(0, 153, 204);"><a href="mailto:derrick.wong@csiro.au" target="_blank">derrick.wong@csiro.au</a></span> <b><span style="color: rgb(190, 214, 0);">|</span></b> <span style="color: rgb(0, 153, 204);"><a href="http://www.csiro.au" target="_blank">www.csiro.au</a></span><br>
Address: Spatial Information Services Stack (SISS), 26 Dick Perry Avenue, Kensington WA 6151, Australia<br></span><br><b><span style="font-size: 9pt; color: black;">PLEASE NOTE</span></b><i><span style="font-size: 7.5pt; color: black;"> <br>
</span></i><span style="font-size: 9pt; color: black;">The information contained in this email may be confidential or privileged. Any unauthorised use or disclosure is prohibited. If you have received this email in error, please delete it immediately and notify the sender by return email. Thank you. To the extent permitted by law, CSIRO does not represent, warrant and/or guarantee that the integrity of this communication has been maintained or that the communication is free of errors, virus, interception or interference.</span></p>
<p class="MsoNormal"><b><span style="font-size: 9pt; color: rgb(102, 102, 102);">Please consider the environment before printing this email.</span></b></p><p class="MsoNormal"> </p></div></div><p class="MsoNormal"><br>_______________________________________________<br>
gdal-dev mailing list<br><a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></p>
</div><p class="MsoNormal"> </p></div></div></div></div><br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>