[gradsusr] double free or corruption (!prev)

Stefan Gofferje stefan at saakeskus.fi
Tue Apr 7 02:56:16 EDT 2020


Hi,

I recently experience grads crashes relatively often on GFS renderings. 
Here is an example output:

*** Error in `/usr/local/bin/grads221/grads': double free or corruption 
(!prev): 0x00000000010b6330 ***

Grid Analysis and Display System (GrADS) Version 2.2.1
Copyright (C) 1988-2018 by George Mason University
GrADS comes with ABSOLUTELY NO WARRANTY
See file COPYRIGHT for more information

Config: v2.2.1 little-endian readline grib2 netcdf hdf4-sds hdf5 
opendap-grids geotiff shapefile
Issue 'q config' and 'q gxconfig' commands for more detailed 
configuration information
GX Package Initialization: Size = 11 8.5
Running in Batch mode
Making defines
Define Error:  Unable to allocate data memory
   Size of request was 1778821 grid elements
/storage/webserver/weather/grads/rendermaps.sh: line 34: 24217 Aborted 
               (core dumped) ${GRADS} -blc "run sg_master_landscape.gs 
${GRIB2FILE}.ctl"

The machine has 32GB memory and usually well over 50% of it available 
(although "cached"). Some debugging help and a fix would be appreciated :).


-Stefan



More information about the gradsusr mailing list