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

I encountered an error while running mozbc for boundary data after editing mycase04.inp, and I don’t know what to do. Help, please!

leojoy

New member
malloc(): unsorted double linked list corrupted

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0 0x7f8db6904970 in ???
#1 0x7f8db6903ad5 in ???
#2 0x7f8db65e308f in ???
at /build/glibc-B3wQXB/glibc-2.31/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
#3 0x7f8db65e300b in __GI_raise
at ../sysdeps/unix/sysv/linux/raise.c:51
#4 0x7f8db65c2858 in __GI_abort
at /build/glibc-B3wQXB/glibc-2.31/stdlib/abort.c:79
#5 0x7f8db662d265 in __libc_message
at ../sysdeps/posix/libc_fatal.c:156
#6 0x7f8db66352fb in malloc_printerr
at /build/glibc-B3wQXB/glibc-2.31/malloc/malloc.c:5347
#7 0x7f8db66382eb in _int_malloc
at /build/glibc-B3wQXB/glibc-2.31/malloc/malloc.c:3744
#8 0x7f8db663a153 in __GI___libc_malloc
at /build/glibc-B3wQXB/glibc-2.31/malloc/malloc.c:3058
#9 0x7f8db634eb5d in ???
#10 0x7f8db634eddc in ???
#11 0x7f8db62d3e39 in ???
#12 0x7f8db63262a8 in ???
#13 0x7f8db6c7029f in ???
#14 0x7f8db6c6e442 in ???
#15 0x7f8db6bf8277 in ???
#16 0x7f8db6bf82e5 in ???
#17 0x7f8db6bfa106 in ???
#18 0x55e4377163d8 in __module_mozart_lib_MOD_init_mozart_lib
at /root/Models/WRF-Chem/Downloads/mozbc/mo_mozart_lib.f90:204
#19 0x55e437722b5e in main_bc_wrfchem
at /root/Models/WRF-Chem/Downloads/mozbc/main_bc_wrfchem.f90:186
#20 0x55e4377274aa in main
at /root/Models/WRF-Chem/Downloads/mozbc/main_bc_wrfchem.f90:4
已放弃 (核心已转储)
 
The previous error occurred because, after merging the WACCM data from January to March, some variables that should have been static (without a time dimension) — such as hyam, hybm, hyai, hybi, and P0 — were mistakenly given an additional time dimension during concatenation. These variables define the model’s vertical hybrid coordinate system and should not vary with time.


When mozbc tried to read them as time-dependent arrays, it allocated incorrect amounts of memory, leading to a memory corruption error (malloc(): unsorted double linked list corrupted).


After correcting the file by removing the unnecessary time dimension from those variables, the problem was completely resolved, and mozbc ran successfully.
 
Top