Project

General

Profile

double free or corruption

Added by Jay Su about 5 years ago

We are using cdo to subset and regrid MERRA2/M2I6NVANA.5.12.4 files.

With v1.9.6, cdo crashed and reported:
glibc detected * /opt/anaconda3-L34RS3/bin/cdo: double free or corruption (!prev): 0x00007fbd480eb1e0 *

We removed the following global attributes:

:ak = 1.f, 2.f, 3.27f, 4.758501f, 6.600001f, 8.934502f, 11.9703f, 15.9495f, 21.1349f, 27.85261f, 36.50411f, 47.58061f, 61.67791f, 79.51341f, 101.944f, 130.051f, 165.079f, 208.497f, 262.0211f, 327.6431f, 407.6571f, 504.6801f, 621.6801f, 761.9842f, 929.2942f, 1127.69f, 1364.34f, 1645.71f, 1979.16f, 2373.041f, 2836.781f, 3381.001f, 4017.541f, 4764.391f, 5638.791f, 6660.341f, 7851.231f, 9236.572f, 10866.3f, 12783.7f, 15039.3f, 17693.f, 20119.2f, 21686.5f, 22436.3f, 22389.8f, 21877.6f, 21215.f, 20325.9f, 19309.7f, 18161.9f, 16960.9f, 15626.f, 14291.f, 12869.59f, 11895.86f, 10918.17f, 9936.521f, 8909.992f, 7883.422f, 7062.198f, 6436.264f, 5805.321f, 5169.611f, 4533.901f, 3898.201f, 3257.081f, 2609.201f, 1961.311f, 1313.48f, 659.3752f, 4.804826f, 0.f ;
:bk = 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, 8.175413e-09f, 0.006960025f, 0.02801004f, 0.06372006f, 0.1136021f, 0.1562241f, 0.2003501f, 0.2467411f, 0.2944031f, 0.3433811f, 0.3928911f, 0.4437402f, 0.4945902f, 0.5463042f, 0.5810415f, 0.6158184f, 0.6506349f, 0.6858999f, 0.721166f, 0.7493782f, 0.7706375f, 0.7919469f, 0.8133039f, 0.8346609f, 0.856018f, 0.877429f, 0.898908f, 0.920387f, 0.941865f, 0.963406f, 0.984952f, 1.f ;

then cdo worked well. v1.6.9 does not have such an issue.

The original file is 800+M so I just put the link here:
https://disc.gsfc.nasa.gov/datasets/M2I6NVANA_V5.12.4/summary?keywords=M2I6NVANA.5.12.4


Replies (7)

RE: double free or corruption - Added by Uwe Schulzweida about 5 years ago

Thanks for the information! This problem will be solved in the next CDO release 1.9.7.

Cheers,
Uwe

RE: double free or corruption - Added by Jay Su about 5 years ago

Thank you Uwe,

May I ask what's the plan to release 1.9.7? Do we have the similar issue in previous version?

I asking this because we are upgrading our online service which is heavily relied on CDO.

Thanks,
Jay

RE: double free or corruption - Added by Uwe Schulzweida almost 5 years ago

This problem exists only in v1.9.6. We plan the release of 1.9.7 during the next month.

Cheers,
Uwe

RE: double free or corruption - Added by Jay Su almost 5 years ago

Thank you Uwe.

RE: double free or corruption - Added by Jay Su over 4 years ago

The v1.9.7 release note did not mention this issue. Is it resolved? Thanks.

RE: double free or corruption - Added by Ralf Mueller over 4 years ago

hi Jay!

you can update cdo with conda, the latest CDO release is already in the conda-forge channel

cheers
ralf

RE: double free or corruption - Added by Jay Su over 4 years ago

Thank you Ralf,

If v1.9.7 does not solve this issue, I dont bother to test it :)

    (1-7/7)