SIGSEGV: Segmentation fault
Re: SIGSEGV: Segmentation fault
I was able to convert your wrfout file successfully, running with the Linux and PC version. You may need to check your netCDF library.
Re: SIGSEGV: Segmentation fault
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?
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?
Re: SIGSEGV: Segmentation fault
PAKSET is in ${your hysplit directory]/library/hysplit
Another check is ... was your netcdf library compiled with the same compiler used to install HYSPLIT?
Another check is ... was your netcdf library compiled with the same compiler used to install HYSPLIT?
Re: SIGSEGV: Segmentation fault
PAKSET is in ${your hysplit directory]/library/hysplit
Another check is ... was your netcdf library compiled with the same compiler used to install HYSPLIT?
Another check is ... was your netcdf library compiled with the same compiler used to install HYSPLIT?
Re: SIGSEGV: Segmentation fault
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!
I will apply for the HYSPLIT source code and try to compile it on my machine.
Thanks a lot for your replies!
Re: SIGSEGV: Segmentation fault
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!
Thank again for your help, Fantine!
-
- Posts: 2
- Joined: July 14th, 2025, 7:48 am
- Registered HYSPLIT User: No
Re: SIGSEGV: Segmentation fault
(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 ?
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 ?