Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Error msg: "corrupted size vs. prev_size" when using g2print.exe

kang0511

New member
Hello all,

I am working on a case study "single domain case - Hurricane Matthew" (ARW Online Tutorial).
At the very first step to run g2print.exe to open "fnl_20161006_00_00.grib2", it gives me an error message as below.
(some lines are abbreviated to be compact)

*** Error in `./util/g2print.exe': corrupted size vs. prev_size: 0x000000000079df70 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777f5)[0x7eff51faa7f5]
<Lines abbreviated>
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf7)[0x7eff51f53847]
./util/g2print.exe[0x402159]
======= Memory map: ========
00400000-0043f000 r-xp 00000000 08:01 3418151 /home/hs/WPS/ungrib/src/g2print.exe
<Lines abbreviated>
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Abort (core dumped)

I attached the log file when I got this error.

This error seems reported by other user once. But, I cannot find any solution from that thread.

I checked whether this g2print.exe is installed and works correctly. It worked properly with other grib2 file (HRRR from NOAA).

Could anyone help me with this problem?
 

Attachments

  • g2print.log
    32.5 KB · Views: 4
Hi,
I download the same file shown in your post and run a quick test.
g2print.exe works fine. Please see the attached log file.

I am suspicious that your g2print.exe somehow is damaged. Please try to recompile this code.
 

Attachments

  • log.txt
    34.3 KB · Views: 4
Hi,
I download the same file shown in your post and run a quick test.
g2print.exe works fine. Please see the attached log file.

I am suspicious that your g2print.exe somehow is damaged. Please try to recompile this code.
Although I compiled all the WRF and WPS once again, I got the same error message.
I checked all the required tests, such as libraries.
It seems very weird. What information do I need to share to fix this problem?


I simply changed the DATA directory under the WPS (which is not on the same level as WPS and WRF), and it works flawlessly.
I am suspicious that g2print.exe has no right to read files in some directories.
(Still, it could read the files under the home directory, which is at higher level than the WPS and WRF.)

Thank you for your reply, Ming Chen!
 
Last edited:
Top