I did some additional tests with literally commenting out operations from the bottom up, and it seems, that at least for Docker (I don't have currently access to windows machine to test), the segmentation fault comes from this line:
chunk.buildTexture(blending_mode=Metashape.MosaicBlending,
texture_size=4096,
texture_type=Metashape.Model.TextureType.DiffuseMap,
fill_holes=True,
ghosting_filter=True, progress=lambda x: print(f"Progress {x}"))
I added a progress to see what's going on, and weirdly enough this how the end of it looks like:
Progress 84.99994046368285
Progress 85.0
done in 1.35395 sec
Progress 85.0
Progress 100.0
Like... the progress keeps logging after it's done? How's that possible?
I don't know if that's just a coincidence. I have no idea what's going on, but this is super annoying.
I appreciate any help