Current master shows a new bug when homing a gantry.
Every time I home my gantry (joints 0&1) with one of the home switches active it fails on the first attempt:
emc/task/taskintf.cc 1006: Error on joint 0, command number 140
joint 0 following error
Cannot unhome while homing, joint 0
If I then retry to home it works, if I retry again it fails, retry again it works etc.
I did a git bisect and got this result (which seems rather unrelated):
user@debian:~/git/linuxcnc-master$ git bisect view
commit e6cc88d34aa1a545f95d7c4053af8ae11e39ce7a (HEAD)
Author: Luca Toniolo <10792599+grandixximo@users.noreply.github.com>
Date: Mon Aug 24 00:54:58 2026 +1000
interp: restore the spindle override after an aborted thread
G33 and G76 suspend the spindle override and queue the restore behind the move. An abort clears the interpreter list, so the restore is lost and nothing else re-enables it: the override stays dead until a later thread completes, and Interp::synch() reads that back as the modal M48 or M49 state.
Re-assert it in Interp::on_abort, on the active spindle only. Motion keeps one global enable bit, so looping over every spindle has the inactive ones clear it again.
@grandixximo do you see a possible connection
Current master shows a new bug when homing a gantry.
Every time I home my gantry (joints 0&1) with one of the home switches active it fails on the first attempt:
If I then retry to home it works, if I retry again it fails, retry again it works etc.
I did a git bisect and got this result (which seems rather unrelated):
@grandixximo do you see a possible connection