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

Kosza Antal kosza.antal at gmail.com
Sun Oct 25 16:20:36 UTC 2015


Package: gdal-bin
Version: 1.11.3+dfsg-2
Severity: important

Dear Maintainer,


   * What led up to the situation?
        Running the binaries
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?

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
***


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.
   * What outcome did you expect instead?
        :)



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=hu_HU.utf8, LC_CTYPE=hu_HU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gdal-bin depends on:
ii  libc6                            2.19-22
ii  libgcc1                          1:5.2.1-22
ii  libgdal1i [libgdal.so.1-1.11.3]  1.11.3+dfsg-2
ii  libstdc++6                       5.2.1-22

gdal-bin recommends no packages.

Versions of packages gdal-bin suggests:
ii  python-gdal  1.11.3+dfsg-2



More information about the Pkg-grass-devel mailing list