Derrick, I tested your sample data on ubuntu with gdal trunk and 1.8 versions.
Check if you are linking to the right gdal library. Just run the command "gdalinfo --version". Since the error is coming up only on your system, you have to help me perform the testing. Build with the "--enable-debug" configure option and run the program after setting the environment variable "CPL_DEBUG" to YES. If that doesn't show any info before segfaulting, run it under the gdb debugger. On Mon, Feb 21, 2011 at 9:28 AM, <[email protected]> wrote: > Hi Chaitanya > > > > I have downloaded and unpacked the tar.gz and compiled it in on a standard > Debian box. > > > > Please find attached the config log for the installation. > > > > I have downloaded a precompiled windows executable (1.8.0) for comparison, > and I am not having any issues with it though. > > > > Am I missing an include or something during my build/compile process? > > > > Please assist. > > > > Thanks. > > > > *Derrick Wong** * > Software Engineer *|* Spatial Information Services Stack (SISS) Project *| > *CSIRO > > Phone: +61 8 6436 8945 > [email protected] *|* www.csiro.au > Address: Spatial Information Services Stack (SISS), 26 Dick Perry Avenue, > Kensington WA 6151, Australia > > *PLEASE NOTE** > *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. > > *Please consider the environment before printing this email.* > > > > *From:* Chaitanya kumar CH [mailto:[email protected]] > *Sent:* Friday, 18 February 2011 7:56 PM > > *To:* Wong, Derrick (CESRE, Kensington) > *Cc:* [email protected]; [email protected]; Fraser, Ryan (CESRE, > Kensington) > > *Subject:* Re: [gdal-dev] Segmentation fault using gdal_translate in 1.8.0 > > > > Derrick, > > I was able to run gdalinfo and gdal_translate on your sample dataset > without any error. > Can you provide some more details like your platform and the settings you > used to compile GDAL? > > On Fri, Feb 18, 2011 at 9:57 AM, <[email protected]> wrote: > > Hi Kyle, > > > > Thanks for the reply. > > > > Gdalinfo on 1.8.0 gives me the same “Segmentation fault” error. > > > > Attached is the dump using 1.7.3 > > > > I have included a sample file and you can download it here: > > > > ftp://ftp.csiro.au/DerrickWong/sample/sample.nc > > > > > > > > *Derrick Wong * > Software Engineer *|* Spatial Information Services Stack (SISS) Project *| > *CSIRO > > Phone: +61 8 6436 8945 > [email protected] *|* www.csiro.au > Address: Spatial Information Services Stack (SISS), 26 Dick Perry Avenue, > Kensington WA 6151, Australia > > *PLEASE NOTE** > *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. > > *Please consider the environment before printing this email.* > > > > *From:* Kyle Shannon [mailto:[email protected]] > *Sent:* Friday, 18 February 2011 11:32 AM > *To:* Wong, Derrick (CESRE, Kensington) > *Cc:* [email protected] > *Subject:* Re: [gdal-dev] Segmentation fault using gdal_translate in 1.8.0 > > > > Derrick, > 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. > > kss > > > # ============================ > Kyle Shannon > Physical Science Technician > RMRS Fire Sciences Lab > Fire, Fuels & Smoke - RWU 4405 > 5775 Highway 10 W. > Missoula, MT 59808 > (406)829-6954 > [email protected] > # ============================ > > On Thu, Feb 17, 2011 at 19:54, <[email protected]> wrote: > > Hi all, > > > > 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. > > > > Could someone kindly advise? > > > > Thank you for your time. > > *Derrick Wong * > Software Engineer *|* Spatial Information Services Stack (SISS) Project *| > *CSIRO > > Phone: +61 8 6436 8945 > [email protected] *|* www.csiro.au > Address: Spatial Information Services Stack (SISS), 26 Dick Perry Avenue, > Kensington WA 6151, Australia > > *PLEASE NOTE** > *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. > > *Please consider the environment before printing this email.* > > > > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > > > > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > > > > > -- > Best regards, > Chaitanya kumar CH. > /tʃaɪθənjə/ /kʊmɑr/ > +91-9494447584 > 17.2416N 80.1426E > -- Best regards, Chaitanya kumar CH. /tʃaɪθənjə/ /kʊmɑr/ +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
