[ncl-talk] Segmentation fault with image size(frame size)

Kihang Youn kyoun at lenovo.com
Sun Aug 22 04:52:52 MDT 2021


Hi All,

I got some segmentation errors during draw or frame steps.

To debug or figure out a workaround, I tried commenting out the functions.

First, once I comment on the gsn_add_polyline function, Seg error does not occur.

But polyline is needed, so I uncommented it and looked at the other values, and as a result, no error occurred by adjusting the following variables res at vpYF or res at tmYLLabelDeltaF.

Can such variables affect the size of an image or frame and cause a segmentation fault?

For information, the ncl script draws multiple pictures with the do statement, but an error occurs only in some pictures.

Please let me know if you have any suggestions.


Belows are system information and library information

CentOS Linux release 8.3.2011
Derived from Red Hat Enterprise Linux 8.3

ncl/6.6.2


ulimit -a
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 2317435
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 16384
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) unlimited
cpu time               (seconds, -t) unlimited
max user processes              (-u) 300
virtual memory          (kbytes, -v) 16777216
file locks                      (-x) unlimited


Best Regards,
Kihang

Kihang Youn - Application Analyst | Lenovo DCG Professional Services
Mobile: +82-10-9374-9396
E-mail: kyoun at lenovo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210822/d2678652/attachment.html>


More information about the ncl-talk mailing list