Pdal pipeline Exception: Child returned 139

Hi Team,
I have setup ODM 0.4 in ubuntu 16.04 which was working fine. Recently i updated python-gdal package which comes now Gdal-2.2.2.
After update gdal i am getting error in odm-dem generation step and it happens for all projects.

[DEBUG] running pdal pipeline -i /tmp/tmpDf1Dfo.json > /dev/null 2>&1
Traceback (most recent call last):
File “/mnt/odm/odm-v0.4/run.py”, line 47, in
plasm.execute(niter=1)
File “/mnt/odm/odm-v0.4/scripts/odm_dem.py”, line 108, in process
verbose=args.verbose
File “/mnt/odm/odm-v0.4/opendm/dem/commands.py”, line 32, in create_dems
radius=rad, outdir=outdir, suffix=suffix, resolution=resolution, **kwargs))
File “/mnt/odm/odm-v0.4/opendm/dem/commands.py”, line 82, in create_dem
pdal.run_pipeline(json, verbose=verbose)
File “/mnt/odm/odm-v0.4/opendm/dem/pdal.py”, line 222, in run_pipeline
out = system.run(’ ‘.join(cmd) + ’ > /dev/null 2>&1’)
File “/mnt/odm/odm-v0.4/opendm/system.py”, line 34, in run
raise Exception(“Child returned {}”.format(retcode))
Exception: Child returned 139

Can [DEBUG] running pdal pipeline -i /tmp/tmpDf1Dfo.json > /dev/null 2>&1
Traceback (most recent call last):
File “/mnt/odm/odm-v0.4/run.py”, line 47, in
plasm.execute(niter=1)
File “/mnt/odm/odm-v0.4/scripts/odm_dem.py”, line 108, in process
verbose=args.verbose
File “/mnt/odm/odm-v0.4/opendm/dem/commands.py”, line 32, in create_dems
radius=rad, outdir=outdir, suffix=suffix, resolution=resolution, **kwargs))
File “/mnt/odm/odm-v0.4/opendm/dem/commands.py”, line 82, in create_dem
pdal.run_pipeline(json, verbose=verbose)
File “/mnt/odm/odm-v0.4/opendm/dem/pdal.py”, line 222, in run_pipeline
out = system.run(’ ‘.join(cmd) + ’ > /dev/null 2>&1’)
File “/mnt/odm/odm-v0.4/opendm/system.py”, line 34, in run
raise Exception(“Child returned {}”.format(retcode))
Exception: Child returned 139

If anyone knows how to resolve this issue please guide me.

At first blush, this looks like an out of memory error. Do you have any memory monitoring you can refer to in order to confirm?

Hi @smathermather , project has less than 100 images and server has enough memory to process that.
Server Ram - 32 G
Server CPU - 8 Core

Same project running fine in my other server on same configuration where gdal is default version comes with ODM that is Gdal 2.1.3.
So it’s not memory issue.

Sorry: rereading. You have a 0.4 installation with an upgraded gdal. That could cause issues for sure. Any reason not to upgrade to 0.6? There have been a lot of really great changes recently, and it uses a more modern GDAL.

i don’t found 0.6 for ODM releases, there are 0.5 and 0.7. Is there any specific reason to update 0.6 not to 0.7.
Anyway i tried with ODM 0.7 once but processing time increases due to adding MVE pointcloud method rather than smvs.