SIGSEGV: Segmentation fault

Post questions and find resources to convert meteorological data into a format HYSPLIT can read.
Fantine
Posts: 151
Joined: November 8th, 2012, 3:41 pm

Re: SIGSEGV: Segmentation fault

Post by Fantine »

I was able to convert your wrfout file successfully, running with the Linux and PC version. You may need to check your netCDF library.
Oleg
Posts: 6
Joined: June 13th, 2019, 11:49 pm
Registered HYSPLIT User: Yes

Re: SIGSEGV: Segmentation fault

Post by Oleg »

Thank you, Fantine, for your reply.
Honestly, the error looks weird. The NetCDF library appears to be installed correctly. At least the WRF model (v4.3) was installed and it works correctly with the same NetCDF on the same machine (the wrfout-file included in my previous post is a proof). Besides, the calwrf converter was also compiled and it runs correctly with the same NetCDF on the same machine.
Could you please give me a hint where I can find the code of the PAKSET function that seems to produce this error?
Fantine
Posts: 151
Joined: November 8th, 2012, 3:41 pm

Re: SIGSEGV: Segmentation fault

Post by Fantine »

PAKSET is in ${your hysplit directory]/library/hysplit
Another check is ... was your netcdf library compiled with the same compiler used to install HYSPLIT?
Fantine
Posts: 151
Joined: November 8th, 2012, 3:41 pm

Re: SIGSEGV: Segmentation fault

Post by Fantine »

PAKSET is in ${your hysplit directory]/library/hysplit
Another check is ... was your netcdf library compiled with the same compiler used to install HYSPLIT?
Oleg
Posts: 6
Joined: June 13th, 2019, 11:49 pm
Registered HYSPLIT User: Yes

Re: SIGSEGV: Segmentation fault

Post by Oleg »

I used the precompiled version of HYSPLIT.
I will apply for the HYSPLIT source code and try to compile it on my machine.
Thanks a lot for your replies!
Oleg
Posts: 6
Joined: June 13th, 2019, 11:49 pm
Registered HYSPLIT User: Yes

Re: SIGSEGV: Segmentation fault

Post by Oleg »

The problem was solved after obtaining HYSPLIT source code and its compilation with NetCDF library preinstalled on the machine. All HYSPLIT components seem to work properly, including ARW2ARL convertor. At least, wrfout files were converted to the ARL format.
Thank again for your help, Fantine!
chaojixiaoniuniu
Posts: 2
Joined: July 14th, 2025, 7:48 am
Registered HYSPLIT User: No

Re: SIGSEGV: Segmentation fault

Post by chaojixiaoniuniu »

(base) [@localhost era52arl]$ ./era52arl_debug -i pressure_level.grib -a surface_level.grib -o output.arl NARG 6

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:

Could not print backtrace: unrecognized DWARF version in .debug_info at 6

Could not print backtrace: unrecognized DWARF version in .debug_info at 6
#0 0x7f864a026dfd in ???
#1 0x7f864a026013 in ???
#2 0x7f86499703ff in ???
#3 0x7f8649aa4fa2 in ???
#4 0x7f864a23df5a in ???
#5 0x7f864a0267c9 in ???
#6 0x55a0743f14c2 in era52arl
at /home/era52arl/era52arl.f:374
#7 0x55a07440008e in main
at /home/era52arl/era52arl.f:102
Segmentation fault (core dumped)

I have faced a similar problem, can you help me ?
Post Reply

Return to “Conversion programs”