I agree, it seems improbable but there is something about Darktable and controlling the camera that damages gphoto2 on my system if any problem occurs and the Darktable session end is forced. Knowing how to restore it, I tried again, crashed, and gphoto2 was damaged.