[gradsusr] smth9 segfault
Matt Alonso
matt.alonso at gmail.com
Mon Mar 30 17:33:07 EDT 2015
Hi all,
I came across an interesting segfault today that seems to be related to the
smth9 function. When I attempt to display a summation of several values
(62), it segfaults if I try to smooth the equation but if I do *not* smooth
it or if I use define to store the value, it works fine. You can test this
by changing the value for case to: "smth", "define", or "raw" respectively.
Oh and obviously the "0" in the beginning of draw_str is pointless, it is
just a placeholder for this test case.
Thanks in advance!
Regards,
Matt
Environment:
OS: CentOS 6.4
GrADS: 2.0.2 and 2.1.a3 binaries from the COLA website
ga-> q dims
Default file number is: 1
X is varying Lon = -180 to 180 X = 1 to 1201
Y is varying Lat = -90 to 90 Y = 1 to 601
Z is fixed Lev = 0 Z = 1
T is fixed Time = 00Z01JAN1970 T = 1
E is fixed Ens = 1 E = 1
ga-> q file 1
File 1 : Data 20081205
Descriptor: data.ctl
Binary: data_%y4%m2%d2.dat
Type = Gridded
Xsize = 1201 Ysize = 601 Zsize = 1 Tsize = 21915 Esize = 1
Number of Variables = 3
max_temp 0 99 max_temp
min_temp 0 99 min_temp
prcp 0 99 prcp
Output:
# ./grads-2.1.a3/bin/grads -lbc "run smth9_case.gs"
Grid Analysis and Display System (GrADS) Version 2.1.a3
Copyright (C) 1988-2015 by the Institute for Global Environment and Society
(IGES)
GrADS comes with ABSOLUTELY NO WARRANTY
See file COPYRIGHT for more information
Config: v2.1.a3 little-endian readline grib2 netcdf hdf4-sds hdf5
opendap-grids,stn geotiff shapefile cairo
Issue 'q config' command for more detailed configuration information
GX Package Initialization: Size = 11 8.5
Running in Batch mode
All files closed; all defined objects released;
All GrADS attributes have been reinitialized
Segmentation fault (core dumped)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150330/a466e0ef/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smth9_case.gs
Type: application/octet-stream
Size: 579 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20150330/a466e0ef/attachment-0001.obj
More information about the gradsusr
mailing list