Bug#802960: gdal-bin executables malloc.c..

Sebastiaan Couwenberg sebastic at xs4all.nl
Sun Oct 25 17:01:51 UTC 2015


Control: tags -1 unreproducible

Hi Antal,

Thanks for reporting this issue. Unfortunately I'm not able to reproduce
it with gdal 1.11.3+dfsg-2 on unstable.

On 25-10-15 17:20, Kosza Antal wrote:
> When i wanted to run the binaries from the gdal-bin package, I've got
> the same error for each binary:
> 
> gdal_contour: malloc.c:2372: sysmalloc: Assertion `(old_top == (((mbinptr)
> (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct
> malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >=
> (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2
> *(sizeof(size_t))) - 1)) & ~((2 *(sizeof(size_t))) - 1))) && ((old_top)->size &
> 0x1) && ((unsigned long) old_end & pagemask) == 0)' failed.
> Félbeszakítva
> 
> The list of affected binaries:
> 
> gdal_contour: malloc.c:2372: sysmalloc: Assertion...
> gdal_grid: malloc.c:2372: sysmalloc: Assertion...
> gdal_rasterize: malloc.c:2372: sysmalloc: Assertion...
> gdal_translate: malloc.c:2372: sysmalloc: Assertion...
> gdaladdo: malloc.c:2372: sysmalloc: Assertion...
> gdalbuildvrt: malloc.c:2372: sysmalloc: Assertion...
> gdaldem: OK
> gdalenhance: malloc.c:2372: sysmalloc: Assertion...
> gdalinfo: malloc.c:2372: sysmalloc: Assertion...
> gdallocationinfo: malloc.c:2372: sysmalloc: Assertion...
> gdalmanage: malloc.c:2372: sysmalloc: Assertion...
> gdalserver: malloc.c:2372: sysmalloc: Assertion...
> gdalsrsinfo: malloc.c:2372: sysmalloc: Assertion...
> gdaltindex: malloc.c:2372: sysmalloc: Assertion...
> gdaltransform: malloc.c:2372: sysmalloc: Assertion...
> gdalwarp: malloc.c:2372: sysmalloc: Assertion...
> nearblack: malloc.c:2372: sysmalloc: Assertion...
> ogr2ogr: OK
> ogrinfo: OK
> ogrlineref: OK
> ogrtindex: OK
> testepsg: OK
> 
> 
> If i uninstall the libgdal-grass driver, the results is:
> 
> *** Error in `gdal_translate': malloc(): memory corruption: 0x0000000000d7d2c0
> ***

On my two sid systems all binaries run successfully (with the --help
option), both with and without libgdal1-1.11.3-grass installed.

> I have rebuilt gdal on my machine, but nothing changed, i've got the same
> error, then from upstream with minimal drivers, and everything was ok.

The issues seems limited to your environment, you may not have upgraded
all packages involved in the recent transition to GDAL 1.11.3.

Can you verify that you're using the Debian packages from unstable and
not have any local customizations or 3rd party repositories causing this
issue?

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the Pkg-grass-devel mailing list