Tomas, I don't see any changes that could lead to infinite loops or memory leaks recently. If you can provide a sample dataset that gives this error please raise a ticket at http://trac.osgeo.org/gdal/newticket
On Tue, Jul 6, 2010 at 6:43 PM, Tomas R <mon...@home.se> wrote: > I add - perhaps a problem with my comilation of Gdal. Note when I compile > the GdalReadDirect.cs as it is and run it the result differs from the result > of the GdalReadDirect.exe found in Swig\Csharp. > The latter gives the Raster dataset Paramets and runs until an Out of > memory Exception. Mine hangs and I have to abort it. > > What have I done wrong this time? > > Will try to recompile gdal and see if anything changes. > > Tomas R skrev 2010-07-06 14:16: > > I have a problem with RIK-maps and Gdal 1.7.2. >> >> If I use Gdal 1.6.1 I have no problem reading the map but doing the same >> with Gdal 1.7.2 my whole plugin/software hangs. >> >> I have identified that Gdal stops at the line >> >> band.ReadRaster(x, y, width, height, r, width, height, 0, 0); >> >> where x, y, width and height are controlled to be within the image to >> load. >> This line taken from the routine >> private void SaveBitmapPaletteDirect(...) >> from the C# samples. I have adapted it to load only a portion of the map >> into a bitmap. >> >> I have compiled Gdal myself, perhaps a problem with the compilation? Do I >> miss the RIK-driver or something? Or is there an error in Gdal? Or perhaps >> in the file(s)? >> I have no problem opening and getting the properties of the file, i.e. >> coordinate system and alike. It is when I try to read the file that Gdal >> hangs. >> >> I get no Exception, it just hangs and eats CPU-time. >> >> I compile the C# sample GDALReadDirect.cs from Gdal 1.7.2 and adapt it to >> read a portion of a big RIK file (500x500 pixels) and it stops at the same >> point in code. Error in the driver for RIK perhaps? or error in the sample >> code? >> >> Yours >> Tomas >> > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > 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
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev