[ncl-talk] Segmentation Fault

Jonas Lauer jlauer at meteomatics.com
Fri Apr 26 07:48:36 MDT 2019


Hi,

thanks a lot for the swift response! Several files are processed with the NCL script, the filedump on one of them is attached, also I placed the example file on the given ftp directory.

I understand, that seg faults are hard to debug. As the script normally works fine and also worked on second attempt I was thinking that the cause might for example be found in parallel NCL processes.

An upgrade sounds reasonable, could there be any backward compatibility issues?

Best,
Jonas



d/d x meteomatics 
Your Experts in Weather Data Processing.

Meteomatics AG 
Jonas Lauer

Lerchenfeldstrasse 3
CH-9014 St. Gallen
Tel.: +41 (0) 71 272 66 53
www.meteomatics.com <http://www.meteomatics.com/>

 <https://www.twitter.com/Meteomatics>
 <https://www.xing.com/companies/meteomaticsag> <https://www.linkedin.com/company-beta/11124022/> <https://www.facebook.com/meteomatics/>
 <https://www.facebook.com/meteomatics/>
> On 26 Apr 2019, at 15:30, Dennis Shea <shea at ucar.edu> wrote:
> 
> 'seg faults' from any tool or language are the most difficult to debug due to lack of information.
> 
> sh: line 1:  2596 Segmentation fault      (core dumped) ncl 'ini=2019041700' eu_read.ncl
> 
> [1] I see nothing wrong.
> [2] I can not emulate your environment. This makes debugging difficult.
> [3] 6.3.0 is 4+ years old. I'd suggest upgrading.  
> [4] Does the following work?
> 
> %> ncl_filedump your_grib_file | less
> 
> [5] Big file but could you ftp the file? or place it someplace from which I could download the file?
> 
> ftp ftp.cgd.ucar.edu <http://ftp.cgd.ucar.edu/>
> anonymous
> your_email
> cd incoming
> put your_grib_file
> quit
> 
> Send me an email after successful transfer.
> 
> 
> On Fri, Apr 26, 2019 at 1:48 AM Jonas Lauer <jlauer at meteomatics.com <mailto:jlauer at meteomatics.com>> wrote:
> Dear NCL Community,
> 
> we have been happily using the ncl software for a couple of years already. Lately we regularly are confronted with Segmentation Faults for one of our scripts. The NCL script is called from a php script and works on grib files of 1.7GB.
> 
> Error message:
> 
> 	Calling NCL
> Executing: export NCARG_ROOT=/PATH_NCL/ncl; export PATH=$NCARG_ROOT/bin:$PATH; cd /WORKING_DIR/euro4-plots; ncl 'ini=2019041700’ eu_read.ncl
>     sh: line 1:  2596 Segmentation fault      (core dumped) ncl 'ini=2019041700' eu_read.ncl
> 		
> 	There is no further information. As the same script has been working for a long time already and the second attempt with identical inputs worked, I would assume that there is no scripting problem.
> 
> Technical info:
> 
> 	NCL version: 6.3.0
> 	OS:	CentOS Linux Version 7
> 	
> 	At times we run several NCL scripts in parallel, might there be some confusion with temporary files? The processes run in different working directories.
> 
> Maybe somebody was confronted with the same issue already? I am very glad to give any additional information if required.
> 
> Thanks in advance and best regards,
> Jonas
> 
> 
> d/d x meteomatics 
> Your Experts in Weather Data Processing.
> 
> Meteomatics AG 
> Jonas Lauer
> 
> Lerchenfeldstrasse 3
> CH-9014 St. Gallen
> Tel.: +41 (0) 71 272 66 53
> www.meteomatics.com <http://www.meteomatics.com/>
> 
>  <https://www.twitter.com/Meteomatics>
> <PastedGraphic-3.tiff><PastedGraphic-1.tiff> <https://www.xing.com/companies/meteomaticsag><PastedGraphic-4.tiff> <https://www.linkedin.com/company-beta/11124022/><PastedGraphic-2.tiff> <https://www.facebook.com/meteomatics/> <https://www.facebook.com/meteomatics/>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu <mailto:ncl-talk at ucar.edu>
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190426/d04b34b3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncl_filedump
Type: application/octet-stream
Size: 1652 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190426/d04b34b3/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190426/d04b34b3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-3.tiff
Type: image/tiff
Size: 3886 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190426/d04b34b3/attachment.tiff>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190426/d04b34b3/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.tiff
Type: image/tiff
Size: 4046 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190426/d04b34b3/attachment-0001.tiff>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190426/d04b34b3/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-4.tiff
Type: image/tiff
Size: 4166 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190426/d04b34b3/attachment-0002.tiff>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190426/d04b34b3/attachment-0004.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-2.tiff
Type: image/tiff
Size: 4248 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190426/d04b34b3/attachment-0003.tiff>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190426/d04b34b3/attachment-0005.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4102 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190426/d04b34b3/attachment.p7s>


More information about the ncl-talk mailing list