[ncl-talk] Seg fault on reordering graphics array
Alan Brammer
abrammer at albany.edu
Wed Aug 19 08:32:58 MDT 2015
Managed to find a consistent seg fault, when reversing an array of
graphics. Tested in 6.3.0 on yellowstone and 6.3.0 on a mac.
Easy solution though as reordering with indices does work.
Alan.
x = fspan(0,10,11)
x = x(::-1) ;; Just a sanity check.
res = True
res at gsnDraw = False
res at gsnFrame = False
wks = gsn_open_wks("x11","") ;; tested png and x11 both fail
plots = new(5, graphic)
do p=0,4
plots(p) = gsn_csm_blank_plot(wks, res)
end do
plots = plots(::-1)
;plots = plots( (/4,3,2,1,0/) ) This does work ???
;;fatal:NclMalloc Failed:[errno=12]
;;Segmentation fault (core dumped)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150819/9625b797/attachment.html
More information about the ncl-talk
mailing list