equinor/xtgeo

Core dump when converting from "ijxyz" surfaces to "irap_binary" in some cases

jcrivenaes opened this issue · 1 comments

Reported by Yusuf Harmankaya in the Auto4D team:

surf = xtgeo.surface_from_file(input, fformat="ijxyz")
surf.to_file(output, fformat="irap_binary")

This seems to function fine standalone, but when several jobs are ran in parallel, it will in some cases give this error:

double free or corruption (!prev)
(core dumped) python3 convert_map_to_irap.py -input=/scratch/auto4d/volumes/20759_4D_JS_FulRes_20au-19auP_dTS_0535_rms_EQ19231_2790-3393_2937-3367.dat -output=/scratch/auto4d/userhorizons/yuh/4D_JS_FulRes_20au-19auP_dTS_0535_rms.gri

It seems to occur a bit random

It was tested initially in version 3.4. In version 3.8, the errors were not reproduced, so issue is closed.