The program exited with a strange error code

Hi,
While working on a set a images (multispectral jpeg images ), I have the following error. The orthophoto has been created and is good. Thanks

docker run -it --rm -v “/DD/25_janvier/NRGB:/code/images” -v “/DD/25_janvier/NRGB/odm_orthophoto:/code/odm_orthophoto” -v “/DD/25_janvier/NRGB/odm_georeferencing:/co
de/odm_georeferencing” -v “/DD/25_janvier/NRGB/odm_texturing:/code/odm_texturing” opendronemap/odm --build-overviews --camera-lens=perspective --ignore-gsd --featur
e-quality=ultra --force-gps --matcher-distance=10 --orthophoto-png --pc-quality=high --pc-tile --max-concurrency 3

[INFO] Initializing ODM - Wed Apr 07 09:54:40 2021
[INFO] ==============
[INFO] build_overviews: True
[INFO] camera_lens: perspective
[INFO] cameras: {}
[INFO] crop: 3
[INFO] debug: False
[INFO] end_with: odm_report
[INFO] feature_quality: ultra
[INFO] force_gps: True
[INFO] gps_accuracy: 10
[INFO] ignore_gsd: True
[INFO] matcher_distance: 10
[INFO] matcher_neighbors: 8
[INFO] matcher_type: flann
[INFO] max_concurrency: 3
[INFO] merge: all
[INFO] mesh_octree_depth: 11
[INFO] mesh_size: 200000
[INFO] min_num_features: 8000
[INFO] name: code
[INFO] optimize_disk_space: False
[INFO] orthophoto_compression: DEFLATE
[INFO] orthophoto_cutline: False
[INFO] orthophoto_no_tiled: False
[INFO] orthophoto_png: True
[INFO] orthophoto_resolution: 5
[INFO] pc_classify: False

[INFO] pc_csv: False
[INFO] pc_ept: False
[INFO] pc_filter: 2.5
[INFO] pc_las: False
[INFO] pc_quality: high
[INFO] pc_rectify: False
[INFO] pc_sample: 0
[INFO] pc_tile: True
[INFO] primary_band: auto
[INFO] project_path: /
[INFO] radiometric_calibration: none
[INFO] rerun: None
[INFO] rerun_all: False
[INFO] rerun_from: None
[INFO] resize_to: 2048
[INFO] skip_3dmodel: False
[INFO] skip_band_alignment: False
[INFO] skip_report: False
[INFO] sm_cluster: None
[INFO] smrf_scalar: 1.25
[INFO] smrf_slope: 0.15
[INFO] smrf_threshold: 0.5
[INFO] smrf_window: 18.0
[INFO] split: 999999
[INFO] split_image_groups: None
[INFO] split_overlap: 150
[INFO] texturing_data_term: gmi
[INFO] texturing_keep_unseen_faces: False
[INFO] texturing_outlier_removal_type: gauss_clamping
[INFO] texturing_skip_global_seam_leveling: False
[INFO] texturing_skip_local_seam_leveling: False
[INFO] texturing_tone_mapping: none
[INFO] tiles: False
[INFO] time: False
[INFO] use_3dmesh: False
[INFO] use_exif: False
[INFO] use_fixed_camera_params: False
[INFO] use_hybrid_bundle_adjustment: False
[INFO] verbose: False
[INFO] ==============
[INFO] Running dataset stage
[INFO] Loading dataset from: /code/images
[INFO] Loading 47 images
[INFO] Wrote images database: /code/images.json
[INFO] Found 47 usable images
[INFO] Coordinates file already exist: /code/odm_georeferencing/coords.txt
[INFO] Model geo file already exist: /code/odm_georeferencing/odm_georeferencing_model_geo.txt
[INFO] Parsing SRS header: WGS84 UTM 31N
[INFO] Finished dataset stage
[INFO] Running split stage
[INFO] Normal dataset, will process all at once.
[INFO] Finished split stage
[INFO] Running merge stage
[INFO] Normal dataset, nothing to merge.
[INFO] Finished merge stage
[INFO] Running opensfm stage
[INFO] Writing exif overrides
[INFO] Maximum photo dimensions: 4000px
[INFO] PyOpenCL is missing (not a GPU build)
[INFO] Altitude data detected, enabling it for GPS alignment
[INFO] [‘use_exif_size: no’, ‘flann_algorithm: KDTREE’, ‘feature_process_size: 4000’, ‘feature_min_frames: 8000’, ‘processes: 3’, ‘matching_gps_neighbors: 8’, ‘matching_g
ps_distance: 10’, ‘optimize_camera_parameters: yes’, ‘undistorted_image_format: tif’, ‘bundle_outlier_filtering_type: AUTO’, ‘align_orientation_prior: vertical’, ‘triangulat
ion_type: ROBUST’, ‘retriangulation_ratio: 2’, ‘camera_projection_type: PERSPECTIVE’, ‘feature_type: SIFT’, ‘use_altitude_tag: yes’, ‘align_method: auto’, ‘local_bundle_radi
us: 0’]
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm extract_metadata “/code/opensfm”
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm detect_features “/code/opensfm”
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm match_features “/code/opensfm”
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm create_tracks “/code/opensfm”
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm reconstruct “/code/opensfm”
WARNING:opensfm.align:Shots and/or GCPs are aligned on a single-line. Using vertical prior
WARNING:opensfm.align:Shots and/or GCPs are aligned on a single-line. Using vertical prior
WARNING:opensfm.align:Shots and/or GCPs are aligned on a single-line. Using vertical prior
WARNING:opensfm.align:Shots and/or GCPs are aligned on a single-line. Using vertical prior
WARNING:opensfm.align:Shots and/or GCPs are aligned on a single-line. Using vertical prior
[INFO] Export reconstruction stats
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm compute_statistics --diagram_max_points 100000 “/code/opensfm”
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm export_geocoords --reconstruction --proj ‘+proj=utm +zone=31 +datum=WGS84 +units=m +no_defs +type=crs’ --offset-x
444784.0 --offset-y 5319221.0 “/code/opensfm”
[INFO] Updating /code/opensfm/config.yaml
[INFO] undistorted_image_max_size: 4000
[INFO] Undistorting /code/opensfm …
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm export_visualsfm --points “/code/opensfm”
[INFO] Finished opensfm stage
[INFO] Running openmvs stage
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm export_openmvs “/code/opensfm”
[INFO] Running dense reconstruction. This might take a while.
[INFO] Estimating depthmaps
[INFO] running /code/SuperBuild/install/bin/OpenMVS/DensifyPointCloud “/code/opensfm/undistorted/openmvs/scene.mvs” --resolution-level 2 --min-resolution 1000 --max-reso
lution 4000 --max-threads 3 --number-views-fuse 2 -w “/code/opensfm/undistorted/openmvs/depthmaps” -v 0 --fusion-mode 1
10:00:38 [App ] Build date: Apr 5 2021, 21:29:46
10:00:38 [App ] CPU: Common KVM processor (4 cores)
10:00:38 [App ] RAM: 7.79GB Physical Memory 1.03GB Virtual Memory
10:00:38 [App ] OS: Linux 4.19.0-14-amd64 (x86_64)
10:00:38 [App ] warning: no AVX compatible CPU or OS detected
10:00:38 [App ] Command line: /code/opensfm/undistorted/openmvs/scene.mvs --resolution-level 2 --min-resolution 1000 --max-resolution 4000 --max-threads 3 --number-views
-fuse 2 -w /code/opensfm/undistorted/openmvs/depthmaps -v 0 --fusion-mode 1
10:00:42 [App ] Preparing images for dense reconstruction completed: 28 images (3s875ms)
10:00:42 [App ] Selecting images for dense reconstruction completed: 28 images (9ms)
Estimated depth-maps 28 (100%, 7m36s754ms)
Filtered depth-maps 28 (100%, 16s871ms)
10:08:36 [App ] Densifying point-cloud completed: 20768 points (7m57s511ms)
10:08:36 [App ] MEMORYINFO: {
10:08:36 [App ] VmPeak: 1135016 kB
10:08:36 [App ] VmSize: 738868 kB
10:08:36 [App ] } ENDINFO
[INFO] Computing sub-scenes
[INFO] running /code/SuperBuild/install/bin/OpenMVS/DensifyPointCloud “/code/opensfm/undistorted/openmvs/scene.mvs” --sub-scene-area 660000 --max-threads 3 -w “/code/open
sfm/undistorted/openmvs/depthmaps” -v 0
10:08:36 [App ] Build date: Apr 5 2021, 21:29:46
10:08:36 [App ] CPU: Common KVM processor (4 cores)
10:08:36 [App ] RAM: 7.79GB Physical Memory 1.03GB Virtual Memory
10:08:36 [App ] OS: Linux 4.19.0-14-amd64 (x86_64)
10:08:36 [App ] warning: no AVX compatible CPU or OS detected
10:08:36 [App ] Command line: /code/opensfm/undistorted/openmvs/scene.mvs --sub-scene-area 660000 --max-threads 3 -w /code/opensfm/undistorted/openmvs/depthmaps -v 0
10:08:36 [App ] MEMORYINFO: {
10:08:36 [App ] VmPeak: 92512 kB
10:08:36 [App ] VmSize: 72220 kB
10:08:36 [App ] } ENDINFO
[INFO] Fusing depthmaps for 1 scenes
[INFO] running /code/SuperBuild/install/bin/OpenMVS/DensifyPointCloud “/code/opensfm/undistorted/openmvs/scene_0000.mvs” --resolution-level 2 --min-resolution 1000 --max-
resolution 4000 --dense-config-file “/code/opensfm/undistorted/openmvs/config.ini” --number-views-fuse 2 --max-threads 3 -w “/code/opensfm/undistorted/openmvs/depthmaps” -v
0
10:08:36 [App ] Build date: Apr 5 2021, 21:29:46
10:08:36 [App ] CPU: Common KVM processor (4 cores)
10:08:36 [App ] RAM: 7.79GB Physical Memory 1.03GB Virtual Memory
10:08:36 [App ] OS: Linux 4.19.0-14-amd64 (x86_64)
10:08:36 [App ] warning: no AVX compatible CPU or OS detected
10:08:36 [App ] Command line: /code/opensfm/undistorted/openmvs/scene_0000.mvs --resolution-level 2 --min-resolution 1000 --max-resolution 4000 --dense-config-file /code
/opensfm/undistorted/openmvs/config.ini --number-views-fuse 2 --max-threads 3 -w /code/opensfm/undistorted/openmvs/depthmaps -v 0
10:08:40 [App ] Preparing images for dense reconstruction completed: 28 images (3s847ms)
10:08:40 [App ] Selecting images for dense reconstruction completed: 28 images (12ms)
Fused depth-maps 28 (100%, 3s432ms)
10:08:44 [App ] Point-cloud trimmed to ROI: 0 points removed (21ms)
10:08:44 [App ] Densifying point-cloud completed: 3525648 points (8s24ms)
10:08:50 [App ] MEMORYINFO: {
10:08:50 [App ] VmPeak: 2164332 kB
10:08:50 [App ] VmSize: 1207976 kB
10:08:50 [App ] } ENDINFO
[INFO] running /code/SuperBuild/install/bin/OpenMVS/DensifyPointCloud “/code/opensfm/undistorted/openmvs/scene_0000_dense.mvs” --filter-point-cloud -1 -v 0
10:08:50 [App ] Build date: Apr 5 2021, 21:29:46
10:08:50 [App ] CPU: Common KVM processor (4 cores)
10:08:50 [App ] RAM: 7.79GB Physical Memory 1.03GB Virtual Memory
10:08:50 [App ] OS: Linux 4.19.0-14-amd64 (x86_64)
10:08:50 [App ] warning: no AVX compatible CPU or OS detected
10:08:50 [App ] Command line: /code/opensfm/undistorted/openmvs/scene_0000_dense.mvs --filter-point-cloud -1 -v 0
Point visibility checks 3525648 (100%, 30s813ms)
10:09:33 [App ] MEMORYINFO: {
10:09:33 [App ] VmPeak: 757808 kB
10:09:33 [App ] VmSize: 666216 kB
10:09:33 [App ] } ENDINFO
[INFO] Merging 1 scene files
[INFO] /code/opensfm/undistorted/openmvs/scene_0000_dense_dense_filtered.ply → /code/opensfm/undistorted/openmvs/scene_dense_dense_filtered.ply
[INFO] Finished openmvs stage
[INFO] Running odm_filterpoints stage
[INFO] Filtering /code/opensfm/undistorted/openmvs/scene_dense_dense_filtered.ply (statistical, meanK 16, standard deviation 2.5)
[INFO] Splitting point cloud filtering in chunks of 250000 vertices
[INFO] running pdal split -i “/code/opensfm/undistorted/openmvs/scene_dense_dense_filtered.ply” -o “/code/odm_filterpoints/parts/part.ply” --capacity 250000 --writers.ply
.sized_types=false --writers.ply.storage_mode=‘little endian’ --writers.ply.dims=“x=float,y=float,z=float,nx=float,ny=float,nz=float,red=uchar,blue=uchar,green=uchar,views=u
char”
[INFO] Filtering /code/odm_filterpoints/parts/part_8.ply (statistical, meanK 16, standard deviation 2.5)
[INFO] Filtering /code/odm_filterpoints/parts/part_7.ply (statistical, meanK 16, standard deviation 2.5)
[INFO] Filtering /code/odm_filterpoints/parts/part_10.ply (statistical, meanK 16, standard deviation 2.5)
[INFO] running pdal translate -i “/code/odm_filterpoints/parts/part_8.ply” -o “/code/odm_filterpoints/parts/part_8_filtered.ply” outlier range --writers.ply.sized_types=f
alse --writers.ply.storage_mode=‘little endian’ --writers.ply.dims=“x=float,y=float,z=float,nx=float,ny=float,nz=float,red=uchar,blue=uchar,green=uchar,views=uchar” --filter
s.outlier.method=‘statistical’ --filters.outlier.mean_k=16 --filters.outlier.multiplier=2.5 --filters.range.limits=‘Classification![7:7]’
[INFO] running pdal translate -i “/code/odm_filterpoints/parts/part_7.ply” -o “/code/odm_filterpoints/parts/part_7_filtered.ply” outlier range --writers.ply.sized_types=f
alse --writers.ply.storage_mode=‘little endian’ --writers.ply.dims=“x=float,y=float,z=float,nx=float,ny=float,nz=float,red=uchar,blue=uchar,green=uchar,views=uchar” --filter
s.outlier.method=‘statistical’ --filters.outlier.mean_k=16 --filters.outlier.multiplier=2.5 --filters.range.limits=‘Classification![7:7]’
[INFO] running pdal translate -i “/code/odm_filterpoints/parts/part_10.ply” -o “/code/odm_filterpoints/parts/part_10_filtered.ply” outlier range --writers.ply.sized_types
=false --writers.ply.storage_mode=‘little endian’ --writers.ply.dims=“x=float,y=float,z=float,nx=float,ny=float,nz=float,red=uchar,blue=uchar,green=uchar,views=uchar” --filt
ers.outlier.method=‘statistical’ --filters.outlier.mean_k=16 --filters.outlier.multiplier=2.5 --filters.range.limits=‘Classification![7:7]’
[INFO] Filtering /code/odm_filterpoints/parts/part_12.ply (statistical, meanK 16, standard deviation 2.5)
[INFO] running pdal translate -i “/code/odm_filterpoints/parts/part_12.ply” -o “/code/odm_filterpoints/parts/part_12_filtered.ply” outlier range --writers.ply.sized_types
=false --writers.ply.storage_mode=‘little endian’ --writers.ply.dims=“x=float,y=float,z=float,nx=float,ny=float,nz=float,red=uchar,blue=uchar,green=uchar,views=uchar” --filt
ers.outlier.method=‘statistical’ --filters.outlier.mean_k=16 --filters.outlier.multiplier=2.5 --filters.range.limits=‘Classification![7:7]’
[INFO] Filtering /code/odm_filterpoints/parts/part_1.ply (statistical, meanK 16, standard deviation 2.5)
[INFO] running pdal translate -i “/code/odm_filterpoints/parts/part_1.ply” -o “/code/odm_filterpoints/parts/part_1_filtered.ply” outlier range --writers.ply.sized_types=f
alse --writers.ply.storage_mode=‘little endian’ --writers.ply.dims=“x=float,y=float,z=float,nx=float,ny=float,nz=float,red=uchar,blue=uchar,green=uchar,views=uchar” --filter
s.outlier.method=‘statistical’ --filters.outlier.mean_k=16 --filters.outlier.multiplier=2.5 --filters.range.limits=‘Classification![7:7]’
[INFO] Filtering /code/odm_filterpoints/parts/part_13.ply (statistical, meanK 16, standard deviation 2.5)
[INFO] running pdal translate -i “/code/odm_filterpoints/parts/part_13.ply” -o “/code/odm_filterpoints/parts/part_13_filtered.ply” outlier range --writers.ply.sized_types
=false --writers.ply.storage_mode=‘little endian’ --writers.ply.dims=“x=float,y=float,z=float,nx=float,ny=float,nz=float,red=uchar,blue=uchar,green=uchar,views=uchar” --filt
ers.outlier.method=‘statistical’ --filters.outlier.mean_k=16 --filters.outlier.multiplier=2.5 --filters.range.limits=‘Classification![7:7]’
[INFO] Filtering /code/odm_filterpoints/parts/part_4.ply (statistical, meanK 16, standard deviation 2.5)
[INFO] running pdal translate -i “/code/odm_filterpoints/parts/part_4.ply” -o “/code/odm_filterpoints/parts/part_4_filtered.ply” outlier range --writers.ply.sized_types=f
alse --writers.ply.storage_mode=‘little endian’ --writers.ply.dims=“x=float,y=float,z=float,nx=float,ny=float,nz=float,red=uchar,blue=uchar,green=uchar,views=uchar” --filter
s.outlier.method=‘statistical’ --filters.outlier.mean_k=16 --filters.outlier.multiplier=2.5 --filters.range.limits=‘Classification![7:7]’
[INFO] Filtering /code/odm_filterpoints/parts/part_3.ply (statistical, meanK 16, standard deviation 2.5)
[INFO] running pdal translate -i “/code/odm_filterpoints/parts/part_3.ply” -o “/code/odm_filterpoints/parts/part_3_filtered.ply” outlier range --writers.ply.sized_types=f
alse --writers.ply.storage_mode=‘little endian’ --writers.ply.dims=“x=float,y=float,z=float,nx=float,ny=float,nz=float,red=uchar,blue=uchar,green=uchar,views=uchar” --filter
s.outlier.method=‘statistical’ --filters.outlier.mean_k=16 --filters.outlier.multiplier=2.5 --filters.range.limits=‘Classification![7:7]’
[INFO] Filtering /code/odm_filterpoints/parts/part_2.ply (statistical, meanK 16, standard deviation 2.5)
[INFO] running pdal translate -i “/code/odm_filterpoints/parts/part_2.ply” -o “/code/odm_filterpoints/parts/part_2_filtered.ply” outlier range --writers.ply.sized_types=f
alse --writers.ply.storage_mode=‘little endian’ --writers.ply.dims=“x=float,y=float,z=float,nx=float,ny=float,nz=float,red=uchar,blue=uchar,green=uchar,views=uchar” --filter
s.outlier.method=‘statistical’ --filters.outlier.mean_k=16 --filters.outlier.multiplier=2.5 --filters.range.limits=‘Classification![7:7]’

[INFO] Filtering /code/odm_filterpoints/parts/part_6.ply (statistical, meanK 16, standard deviation 2.5)
[INFO] running pdal translate -i “/code/odm_filterpoints/parts/part_6.ply” -o “/code/odm_filterpoints/parts/part_6_filtered.ply” outlier range --writers.ply.sized_types=f
alse --writers.ply.storage_mode=‘little endian’ --writers.ply.dims=“x=float,y=float,z=float,nx=float,ny=float,nz=float,red=uchar,blue=uchar,green=uchar,views=uchar” --filter
s.outlier.method=‘statistical’ --filters.outlier.mean_k=16 --filters.outlier.multiplier=2.5 --filters.range.limits=‘Classification![7:7]’
[INFO] Filtering /code/odm_filterpoints/parts/part_5.ply (statistical, meanK 16, standard deviation 2.5)
[INFO] running pdal translate -i “/code/odm_filterpoints/parts/part_5.ply” -o “/code/odm_filterpoints/parts/part_5_filtered.ply” outlier range --writers.ply.sized_types=f
alse --writers.ply.storage_mode=‘little endian’ --writers.ply.dims=“x=float,y=float,z=float,nx=float,ny=float,nz=float,red=uchar,blue=uchar,green=uchar,views=uchar” --filter
s.outlier.method=‘statistical’ --filters.outlier.mean_k=16 --filters.outlier.multiplier=2.5 --filters.range.limits=‘Classification![7:7]’
[INFO] Filtering /code/odm_filterpoints/parts/part_9.ply (statistical, meanK 16, standard deviation 2.5)
[INFO] running pdal translate -i “/code/odm_filterpoints/parts/part_9.ply” -o “/code/odm_filterpoints/parts/part_9_filtered.ply” outlier range --writers.ply.sized_types=f
alse --writers.ply.storage_mode=‘little endian’ --writers.ply.dims=“x=float,y=float,z=float,nx=float,ny=float,nz=float,red=uchar,blue=uchar,green=uchar,views=uchar” --filter
s.outlier.method=‘statistical’ --filters.outlier.mean_k=16 --filters.outlier.multiplier=2.5 --filters.range.limits=‘Classification![7:7]’
[INFO] Filtering /code/odm_filterpoints/parts/part_11.ply (statistical, meanK 16, standard deviation 2.5)
[INFO] running pdal translate -i “/code/odm_filterpoints/parts/part_11.ply” -o “/code/odm_filterpoints/parts/part_11_filtered.ply” outlier range --writers.ply.sized_types
=false --writers.ply.storage_mode=‘little endian’ --writers.ply.dims=“x=float,y=float,z=float,nx=float,ny=float,nz=float,red=uchar,blue=uchar,green=uchar,views=uchar” --filt
ers.outlier.method=‘statistical’ --filters.outlier.mean_k=16 --filters.outlier.multiplier=2.5 --filters.range.limits=‘Classification![7:7]’
[INFO] Merging 13 point cloud chunks to /code/odm_filterpoints/point_cloud.ply
[INFO] Finished odm_filterpoints stage
[INFO] Running odm_meshing stage
[INFO] Writing ODM Mesh file in: /code/odm_meshing/odm_mesh.ply
[INFO] running /code/SuperBuild/src/PoissonRecon/Bin/Linux/PoissonRecon --in /code/odm_filterpoints/point_cloud.ply --out /code/odm_meshing/odm_mesh.dirty.ply --depth 11
–pointWeight 4.0 --samplesPerNode 1.0 --threads 2 --linearFit
[INFO] running /code/build/bin/odm_cleanmesh -inputFile /code/odm_meshing/odm_mesh.dirty.ply -outputFile /code/odm_meshing/odm_mesh.ply -removeIslands -decimateMesh 20000
0
[INFO] Writing ODM 2.5D Mesh file in: /code/odm_meshing/odm_25dmesh.ply
[INFO] ODM 2.5D DSM resolution: 0.2
[INFO] Created temporary directory: /code/odm_meshing/tmp
[INFO] Creating DSM for 2.5D mesh
[INFO] running pdal info /code/odm_filterpoints/point_cloud.ply > /tmp/tmp7pjc40j4.json
[INFO] Point cloud bounds are [minx: -30.20508194, maxx: 66.90156555] [miny: -66.48937988, maxy: 49.43151093]
[INFO] DEM resolution is (580, 486), max tile size is 4096, will split DEM generation into 1 tiles
[INFO] Generating /code/odm_meshing/tmp/mesh_dsm_r0.28284271247461906_x0_y0.tif (max, radius: 0.28284271247461906, resolution: 0.2)
[INFO] running pdal pipeline -i /tmp/tmp2137v5tv.json > /dev/null 2>&1
[INFO] running gdalbuildvrt “/code/odm_meshing/tmp/tiles.vrt” “/code/odm_meshing/tmp/mesh_dsm_r0.28284271247461906_x0_y0.tif”
0…10…20…30…40…50…60…70…80…90…100 - done.
[INFO] running gdal_translate -co NUM_THREADS=3 -co BIGTIFF=IF_SAFER --config GDAL_CACHEMAX 45.45% /code/odm_meshing/tmp/tiles.vrt /code/odm_meshing/tmp/tiles.tmp.tif
Input file size is 486, 580
0…10…20…30…40…50…60…70…80…90…100 - done.
[INFO] running gdal_translate -co NUM_THREADS=3 -co BIGTIFF=IF_SAFER --config GDAL_CACHEMAX 45.45% -outsize 10% 0 /code/odm_meshing/tmp/tiles.tmp.tif /code/odm_meshing/tm
p/tiles.small.tif
Input file size is 486, 580
0…10…20…30…40…50…60…70…80…90…100 - done.
[INFO] running gdal_fillnodata.py -co NUM_THREADS=3 -co BIGTIFF=IF_SAFER --config GDAL_CACHEMAX 45.45% -b 1 -of GTiff /code/odm_meshing/tmp/tiles.small.tif /code/odm_mesh
ing/tmp/tiles.small_filled.tif
0…10…20…30…40…50…60…70…80…90…100 - done.
[INFO] running gdalbuildvrt -resolution highest -r bilinear “/code/odm_meshing/tmp/merged.vrt” “/code/odm_meshing/tmp/tiles.small_filled.tif” “/code/odm_meshing/tmp/tiles
.tmp.tif”
0…10…20…30…40…50…60…70…80…90…100 - done.
[INFO] running gdal_translate -co NUM_THREADS=3 -co TILED=YES -co BIGTIFF=IF_SAFER -co COMPRESS=DEFLATE --config GDAL_CACHEMAX 45.45% /code/odm_meshing/tmp/merged.vrt /co
de/odm_meshing/tmp/tiles.tif
Input file size is 486, 580
0…10…20…30…40…50…60…70…80…90…100 - done.
[INFO] Starting smoothing…
[INFO] Smoothing iteration 1
[INFO] Completed smoothing to create odm_meshing/tmp/mesh_dsm.tif in 0:00:00.504893
[INFO] Completed mesh_dsm.tif in 0:00:09.805507
[INFO] Creating mesh from DSM: /code/odm_meshing/tmp/mesh_dsm.tif
[INFO] running /code/SuperBuild/src/dem2mesh/dem2mesh -inputFile /code/odm_meshing/tmp/mesh_dsm.tif -outputFile /code/odm_meshing/odm_25dmesh.dirty.ply -maxTileLength 200
0 -maxVertexCount 200000 -maxConcurrency 3
[INFO] running /code/build/bin/odm_cleanmesh -inputFile /code/odm_meshing/odm_25dmesh.dirty.ply -outputFile /code/odm_meshing/odm_25dmesh.ply -removeIslands -decimateMesh
200000
[INFO] Finished odm_meshing stage
[INFO] Running mvs_texturing stage
[INFO] Writing MVS Textured file in: /code/odm_texturing/odm_textured_model_geo.obj
[INFO] running /code/SuperBuild/install/bin/texrecon /code/opensfm/undistorted/reconstruction.nvm /code/odm_meshing/odm_mesh.ply /code/odm_texturing/odm_textured_model_ge
o -d gmi -o gauss_clamping -t none --no_intermediate_results
/code/SuperBuild/install/bin/texrecon (built on Apr 5 2021, 21:19:23)
Load and prepare mesh:
PLY Loader: comment VTK generated PLY File
Reading PLY: 186900 verts… 377655 faces… done.
Warning: Zero-length normals detected: 104 face normals, 1 vertex normals
Generating texture views:
NVM: Loading file…
NVM: Number of views: 28
NVM: Number of features: 20768
Loading 100%… done. (Took 2.356s)
Building adjacency graph:
Adding edges 100%… done. (Took 0.747s)
569806 total edges.
View selection:
Building BVH from 377655 faces… done. (Took: 521 ms)
Calculating face qualities 100%… done. (Took 7.713s)
Postprocessing face infos 100%… done. (Took 0.388s)
Maximum quality of a face within an image: 10558.4
Clamping qualities to 256.596 within normalization.
Optimizing:
Time[s] Energy
0 372900
3 371024
4 366222
4 363746

8 360932
9 360873
110941 faces have not been seen
Took: 18.509s
Generating texture patches:
Running… done. (Took 3.047s)

    4779 texture patches.

Running global seam leveling:
Create matrices for optimization… done.
Lhs dimensionality: 169873 x 169873
Calculating adjustments:
Color channel 2: CG took 99 iterations. Residual is 9.85693e-05
Color channel 1: CG took 100 iterations. Residual is 9.86356e-05
Color channel 0: CG took 104 iterations. Residual is 9.13879e-05
Took 0.414 seconds
Adjusting texture patches 100%… done. (Took 1.969s)
Running local seam leveling:
Blending texture patches 100%… done. (Took 31.821s)
Generating texture atlases:
Sorting texture patches… done.
Working on atlas 26 100%… done.
Finalizing texture atlases… done. (Took: 10.548s)
Building objmodel:
Saving model… done.
Whole texturing procedure took: 94.271s
[INFO] Writing MVS Textured file in: /code/odm_texturing_25d/odm_textured_model_geo.obj
[INFO] running /code/SuperBuild/install/bin/texrecon /code/opensfm/undistorted/reconstruction.nvm /code/odm_meshing/odm_25dmesh.ply /code/odm_texturing_25d/odm_textured_m
odel_geo -d gmi -o gauss_clamping -t none --no_intermediate_results --nadir_mode
/code/SuperBuild/install/bin/texrecon (built on Apr 5 2021, 21:19:23)
Load and prepare mesh:
PLY Loader: comment VTK generated PLY File
Reading PLY: 199560 verts… 397880 faces… done.
Generating texture views:
NVM: Loading file…
NVM: Number of views: 28
NVM: Number of features: 20768
Loading 100%… done. (Took 2.354s)
Building adjacency graph:
Adding edges 100%… done. (Took 0.562s)
596201 total edges.
View selection:
Building BVH from 397880 faces… done. (Took: 323 ms)
Calculating face qualities 100%… done. (Took 5.242s)
Postprocessing face infos 100%… done. (Took 0.503s)
Maximum quality of a face within an image: 0.999993
Clamping qualities to 0.996092 within normalization.
Optimizing: Time[s] Energy
0 101669
1 101525
1 99630

5 97129
6 97095
6 97072
41830 faces have not been seen
Took: 13.065s
Generating texture patches:
Running… done. (Took 2.929s)
733 texture patches.
Running global seam leveling:
Create matrices for optimization… done.
Lhs dimensionality: 187545 x 187545
Calculating adjustments:
Color channel 1: CG took 77 iterations. Residual is 9.80902e-05
Color channel 2: CG took 77 iterations. Residual is 8.74173e-05
Color channel 0: CG took 77 iterations. Residual is 8.83956e-05
Took 0.282 seconds
Adjusting texture patches 100%… done. (Took 2.242s)
Running local seam leveling:
Blending texture patches 100%… done. (Took 12.868s)
Generating texture atlases:
Sorting texture patches… done.
Working on atlas 9 100%… done.
Finalizing texture atlases… done. (Took: 1.873s)
Building objmodel:
Saving model… done.
Whole texturing procedure took: 54.643s
[INFO] Finished mvs_texturing stage
[INFO] Running odm_georeferencing stage
[INFO] Georeferencing point cloud
[INFO] running pdal translate -i “/code/odm_filterpoints/point_cloud.ply” -o “/code/odm_georeferencing/odm_georeferenced_model.laz” ferry transformation --filters.ferry.d
imensions=“views => UserData” --writers.las.compression=“lazip” --filters.transformation.matrix=“1 0 0 444784.0 0 1 0 5319221.0 0 0 1 0 0 0 0 1” --writers.las.offset_x=44478
4.0 --writers.las.offset_y=5319221.0 --writers.las.offset_z=0 --writers.las.a_srs="+proj=utm +zone=31 +datum=WGS84 +units=m +no_defs +type=crs"
[INFO] Calculating cropping area and generating bounds shapefile from point cloud
[INFO] running pdal translate -i “/code/odm_georeferencing/odm_georeferenced_model.laz” -o “/code/odm_georeferencing/odm_georeferenced_model.decimated.las” decimation --f
ilters.decimation.step=40

[INFO] running pdal info --boundary --filters.hexbin.edge_size=1 --filters.hexbin.threshold=0 /code/odm_georeferencing/odm_georeferenced_model.decimated.las > /code/odm_g
eoreferencing/odm_georeferenced_model.boundary.json
[INFO] running pdal info --summary “/code/odm_georeferencing/odm_georeferenced_model.laz” > “/code/odm_georeferencing/odm_georeferenced_model.summary.json”
[INFO] running ogr2ogr -overwrite -f GPKG -a_srs “+proj=utm +zone=31 +datum=WGS84 +units=m +no_defs” /code/odm_georeferencing/odm_georeferenced_model.bounds.gpkg /code/od
m_georeferencing/odm_georeferenced_model.bounds.geojson
- ‘VirtualXPath’ [XML Path Language - XPath]
[INFO] Finished odm_georeferencing stage
[INFO] Running odm_dem stage
[INFO] Classify: False
[INFO] Create DSM: False
[INFO] Create DTM: False
[INFO] DEM input file /code/odm_georeferencing/odm_georeferenced_model.laz found: True
[WARNING] DEM will not be generated
[INFO] Finished odm_dem stage
[INFO] Running odm_orthophoto stage
[INFO] running /code/build/bin/odm_orthophoto -inputFiles /code/odm_texturing_25d/odm_textured_model_geo.obj -logFile /code/odm_orthophoto/odm_orthophoto_log.txt -outputF
ile /code/odm_orthophoto/odm_orthophoto_render.tif -resolution 20.0 -outputCornerFile /code/odm_orthophoto/odm_orthophoto_corners.txt
[INFO] Creating GeoTIFF
[INFO] running gdal_translate -a_ullr 444753.7949180603 5319270.510620117 444850.7949142456 5319154.710617065 -co TILED=YES -co COMPRESS=DEFLATE -co PREDICTOR=2 -co BIGTI
FF=IF_SAFER -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 -co NUM_THREADS=3 -a_srs “+proj=utm +zone=31 +datum=WGS84 +units=m +no_defs +type=crs” --config GDAL_CACHEMAX 45.4% --confi
g GDAL_TIFF_INTERNAL_MASK YES /code/odm_orthophoto/odm_orthophoto_render.tif /code/odm_orthophoto/odm_orthophoto.tif > /code/odm_orthophoto/gdal_translate_log.txt
[INFO] Cropping /code/odm_orthophoto/odm_orthophoto.tif
[INFO] running gdalwarp -cutline /code/odm_georeferencing/odm_georeferenced_model.bounds.gpkg -crop_to_cutline -co TILED=YES -co COMPRESS=DEFLATE -co PREDICTOR=2 -co BIGT
IFF=IF_SAFER -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 -co NUM_THREADS=3 -dstalpha /code/odm_orthophoto/odm_orthophoto.original.tif /code/odm_orthophoto/odm_orthophoto.tif --con
fig GDAL_CACHEMAX 45.4%
- ‘VirtualXPath’ [XML Path Language - XPath]
Using band 4 of source image as alpha.
Creating output file that is 1863P x 2182L.
Processing /code/odm_orthophoto/odm_orthophoto.original.tif [1/1] : 0…10…20…30…40…50…60…70…80…90…100 - done.
[INFO] Building Overviews
[INFO] running gdaladdo -ro -r average --config BIGTIFF_OVERVIEW IF_SAFER --config COMPRESS_OVERVIEW JPEG /code/odm_orthophoto/odm_orthophoto.tif 2 4 8 16
0…10…20…30…40…50…60…70…80…90…100 - done.
Overview building failed.

===== Dumping Info for Geeks (developers need this to fix bugs) =====
Child returned 100
Traceback (most recent call last):
File “/code/stages/odm_app.py”, line 83, in execute
self.first_stage.run()
File “/code/opendm/types.py”, line 338, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 338, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 338, in run
self.next_stage.run(outputs)
[Previous line repeated 7 more times]
File “/code/opendm/types.py”, line 319, in run
self.process(self.args, outputs)
File “/code/stages/odm_orthophoto.py”, line 137, in process
orthophoto.post_orthophoto_steps(args, bounds_file_path, tree.odm_orthophoto_tif, tree.orthophoto_tiles)
File “/code/opendm/orthophoto.py”, line 63, in post_orthophoto_steps
build_overviews(orthophoto_file)
File “/code/opendm/orthophoto.py”, line 34, in build_overviews
system.run('gdaladdo -ro -r average ’
File “/code/opendm/system.py”, line 82, in run
raise SubprocessException(“Child returned {}”.format(retcode), retcode)
opendm.system.SubprocessException: Child returned 100
===== Done, human-readable information to follow… =====

[ERROR] The program exited with a strange error code. Please report it at https://community.opendronemap.org

1 Like

Can you try re-running without the build-overviews flag?

2 Likes

ok. I will do it.
By the way, with the same parameters, I don’t any errors on the other set of images of my sensor multispectral sensor (images were taken at the same time and same location)

1 Like

No error without build-overviews !

But I am really interested by this option.
“Build orthophoto overviews for faster display in programs such as QGIS.”

Can I change another option to do it ?

2 Likes

I am also very interested here why build-overviews caused this issue. I plan to use it a lot as my viewing hardware is old and was hoping the extra data in the ortho would reduce the burden.

Do you have an extra info Saijin_Naib?

1 Like

Nothing at the moment.

You can always use QGIS to build overviews, with tons of extra options/flexibility, and multithreaded in 3.18!

3 Likes

Could you share this file? This is an intriguing error (which I think has been reported a few times before, but I could never reproduce).

1 Like

Well…
Without changing anything, now I don’t have any problem with this command line :thinking:

docker run -it --rm -v "/DD/25_janvier/NRGB:/code/images" -v "/DD/25_janvier/NRGB/odm_orthophoto:/code/odm_orthophoto" -v "/DD/25_janvier/NRGB/odm_georeferencing:/co
de/odm_georeferencing" -v "/DD/25_janvier/NRGB/odm_texturing:/code/odm_texturing" opendronemap/odm --build-overviews --camera-lens=perspective --ignore-gsd --feature-quality
=ultra --force-gps --matcher-distance=10 --orthophoto-png --pc-quality=high --pc-tile --max-concurrency 3

I run it twice and the problem has disappeared… That is so strange.
While looking at the first log, I saw, that my directory was not clean :

Coordinates file already exist: /code/odm_georeferencing/coords.txt
[INFO] Model geo file already exist: /code/odm_georeferencing/odm_georeferencing_model_geo.txt

Maybe it is the reason of the crash…
Thanks

1 Like