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

copygb produces malloc failure

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member

as I stated in an other topic, this is actually my second problem. Sometimes, with reference to the domain size I got the following error from copygb.exe.

2021.09.16. 11:44:48 [DEBUG] uppPostProcessGrib1:340 malloc(): invalid size (unsorted)

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0 0x7f6170ff0d21 in ???
#1 0x7f6170fefef5 in ???
#2 0x7f6170cba20f in ???
#3 0x7f6170cba18b in ???
#4 0x7f6170c99858 in ???
#5 0x7f6170d043ed in ???
#6 0x7f6170d0c47b in ???
#7 0x7f6170d0f233 in ???
#8 0x7f6170d112d3 in ???
#9 0x55c2d25762c8 in w3fi72_
at /usr/local/wetterwelt/Build_WRF/LIBRARIES/NCEPlibs-master/exec_linux.gnu/src/w3nco/v2.0.6/src/w3fi72.f:324
#10 0x55c2d2571d1c in putgbex_
at /usr/local/wetterwelt/Build_WRF/LIBRARIES/NCEPlibs-master/exec_linux.gnu/src/w3nco/v2.0.6/src/putgbex.f:218
#11 0x55c2d2525426 in ???
#12 0x55c2d252776b in ???
#13 0x55c2d2528b25 in ???
#14 0x55c2d2523512 in ???
#15 0x7f6170c9b0b2 in ???
#16 0x55c2d252354d in ???
#17 0xffffffffffffffff in ???
Aborted (core dumped)

But I do not understand why. The area is greater than 1° longitude and latitude. I tried to check line 324 in the script, but did not get the answer. At present I try to reproduce the error without success to get some more information. However, maybe there is someone who can help.

Best regards