#3304 closed defect (fixed)
Crash on histogram computation
Reported by: | antonio | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | svn-trunk |
Severity: | normal | Keywords: | |
Cc: |
Description
The python interpreter crashes when I try to get the default histogram using False for the force parameter:
In [1]: from osgeo import gdal In [2]: ds = gdal.Open('world.topo.bathy.200407.3x5400x2700.jpg') In [3]: b1 = ds.GetRasterBand(1) In [4]: h = b1.GetDefaultHistogram(force=False) *** glibc detected *** /usr/bin/python: free(): invalid pointer: 0x000000000081b300 ***
Change History (4)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Component: | PythonBindings → GDAL_Raster |
---|---|
Owner: | changed from | to
comment:3 by , 14 years ago
Milestone: | 1.7.0 → 1.6.4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
r18403 /trunk/gdal/ (3 files in 3 dirs): Fix crash of Python bindings when GDALRasterBand::GetDefaultHistogram() returns CE_Warning (#3304)
r18404 /branches/1.6/gdal/ (3 files in 3 dirs): Fix crash of Python bindings when GDALRasterBand::GetDefaultHistogram() returns CE_Warning (#3304)
r18405 /trunk/autotest/gcore/histogram.py: Test GetDefaultHistogram( force = 0 ) (#3304)
Note:
See TracTickets
for help on using tickets.
Sorry Platform Ubuntu Karmic: