id summary reporter owner description type status priority milestone component version severity resolution keywords cc 4840 OpenCL: Segmentation fault while calling to gdalwarp with validity masks ajuvolkov warmerdam "Hello I got a segmentation fault message while I call to this command: {{{ gdalwarp -srcnodata -9999 -dstnodata -9999 -r cubic -tr 30 -30 -t_srs ""+proj=gnom +lon_0=0 +lat_0=0 +ellps=WGS84 +datum=WGS84 +units=m"" -overwrite aster-gdem/ASTGTM2_S38W013_dem.tif aster-gdem-prewarped/ASTGTM2_S38W013_dem.tif }}} I built gdal with OpenCL support from the https://svn.osgeo.org/gdal/trunk/gdal, revision 24990. My OS is Ubuntu 12.04. configure options: {{{ --with-opencl --with-opencl-include=/opt/tools/nvc-sdk/OpenCL/common/inc --with-opencl-lib=""-L/opt/tools/nvc-sdk/OpenCL/common/lib -loclUtil_x86_64 -lOpenCL"" --with-python=/usr/bin/python2.7 }}} Backtrace from the core dump file: {{{ t #0 0x00007f7e30990672 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f7e272b7396 in ?? () from /usr/lib/libcuda.so #2 0x00007f7e353f8321 in set_dst_data (warper=0x2b62d80, dstDensityCL=0x7fff84f24d08, dstValidCL=, dstNoDataRealCL=0x7fff84f24cf8, dstDensity=0x0, dstValid=0x7f7e35bde010, ds tNoDataReal=0x7f7e231ee000) at gdalwarpkernel_opencl.c:1563 #3 0x00007f7e353fa67e in GDALWarpKernelOpenCL_runResamp (warper=0x2b62d80, unifiedSrcDensity=0x7fff84f24d00, unifiedSrcValid=0x7fff84f24cf8, dstDensity=, dstValid=, dfXScale=, dfYScale=, dfXFilter=, dfYFilter=, nXRadius=, nYRadius=2, nFiltInitX=-1, nFiltInitY=-1) at gdalwar pkernel_opencl.c:2279 #4 0x00007f7e353ef82d in GWKOpenCLCase (poWK=) at gdalwarpkernel.cpp:2826 #5 GDALWarpKernel::PerformWarp (this=0x7fff84f24f60) at gdalwarpkernel.cpp:848 #6 0x00007f7e353fdad1 in GDALWarpOperation::WarpRegionToBuffer (this=0x7fff84f25430, nDstXOff=, nDstYOff=, nDstXSize=664485904, nDstYSize=1, pDataBuf=, eBufDataType=GDT_Int16, nSrcXOff=0, nSrcYOff=0, nSrcXSize=3601, nSrcYSize=2084, dfProgressBase=, dfProgressScale=) at gdalwarpoperation.cpp:1769 #7 0x00007f7e353fe5ce in GDALWarpOperation::WarpRegion (this=0x7fff84f25430, nDstXOff=, nDstYOff=, nDstXSize=3839, nDstYSize=3563, nSrcXOff=, nS rcYOff=0, nSrcXSize=3601, nSrcYSize=2084, dfProgressBase=, dfProgressScale=) at gdalwarpoperation.cpp:1329 #8 0x00007f7e353ff116 in GDALWarpOperation::ChunkAndWarpImage (this=0x7fff84f25430, nDstXOff=, nDstYOff=, nDstXSize=3839, nDstYSize=) at gdalwar poperation.cpp:701 #9 0x000000000040572e in main (argc=, argv=0x1be4520) at gdalwarp.cpp:1363 }}} " defect closed normal 1.9.2 Algorithms normal fixed opencl warp