[gdal-dev] Segmentation fault using gdal 1.4.4 and 1.5.2 on netcdf

Vishal Mehta vishal.mehta at sei-us.org
Wed Aug 27 16:38:04 EDT 2008


Hello all,

I continue to have 'segmentation fault' error using gdal-1.5.2 on Ubuntu 8.04 with netcdf files.

I re-compiled gdal from source again, this time with Dylan Beaudette's gracious help (thanks Dylan!).
I still got segmentation fault.

Below are the last few lines of strace - hope that helps in identifying what the problem is...
I have libnetcdf 3.6-2-2

Please note that the two netcdf files I've tried do open using FWTools for Windows as well as starspan for Windows - so I don't think anything is wrong with the netcdf files..

-vishal

-------excerpt from strace follows---

read(3, "CDF\1\0\0\0\1\0\0\0\n\0\0\0\3\0\0\0\3lat\0\0\0\1h\0\0\0"..., 4096) = 4096
_llseek(3, 0, [0], SEEK_SET)            = 0
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(4, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
getdents(4, /* 6 entries */, 4096)      = 136
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("airtemp.nc", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0666, st_size=265644, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0666, st_size=265644, ...}) = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "CDF\1\0\0\0\1\0\0\0\n\0\0\0\3\0\0\0\3lat\0\0\0\1h\0\0\0"..., 8192) = 8192
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 395 detached
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080827/200684bb/attachment.html


More information about the gdal-dev mailing list