Re: macos 10.8 ncl 6.1 malloc failure

From: Wei Huang <huangwei_at_nyahnyahspammersnyahnyah>
Date: Mon Dec 10 2012 - 11:26:40 MST

Barry,

Could you please put this data to your FTP site so I can test it?

Thanks,

Wei

huangwei@ucar.edu
VETS/CISL
National Center for Atmospheric Research
P.O. Box 3000 (1850 Table Mesa Dr.)
Boulder, CO 80307-3000 USA
(303) 497-8924

On Dec 10, 2012, at 9:22 AM, Barry McInnes (NOAA Affiliate) wrote:

> *mac11* 14:23 cat /Users/slubker/script.ncl
> print(systemfunc("uname -n"))
> per_day=4
>
> f=addfile("/Projects/CFSR/.pressure/rhum.198203.nc4","r")
> hourly=f->rhum
> dims=dimsizes(hourly)
> t=dims(0)/per_day
> z=dims(1)
> y=dims(2)
> x=dims(3)
> delete(f)
>
>
> f=addfile("/scratch/slubker/CFSR/pressure/rhum.198203.nc","w")
> f->rhum@actual_range=(/min(hourly),max(hourly)/)
> f->rhum@valid_range=f->rhum@actual_range
> f->rhum=(/hourly/)
> f@history="Last modified "+systemfunc("date")+" by NOAA/ESRL/PSD"
> delete(f)
>
> print("rhum 1982 03")
>
>
> *mac11* 14:23 ncl /Users/slubker/script.ncl
> Copyright (C) 1995-2012 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.1.0
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> (0) mac11.psd.esrl.noaa.gov
> file: NclNewFile.c, line: 5619
> exists = 1
> file: NclNewFile.c, line: 5619
> exists = 1
> fatal:["NclNewFile.c":4971]:Could not write attribute (history) to attribute list
> fatal:["Execute.c":7743]:Execute: Error occurred at or near line 18 in file script.ncl
>
> ncl(86386) malloc: *** error for object 0x7fa8248800d0: pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> Abort
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Dec 11 03:26:51 2012

This archive was generated by hypermail 2.1.8 : Wed Dec 12 2012 - 19:07:01 MST