I am trying to remember this as accurately as I can:
Problem was with Z-axis(joint 2). It was reading something like -2421.xxx in DRO(G54) It should of been quite near 349.000 and I have -419.000 in G54 Z offset. So absolute position should of been -70.000(There was an error of about 2770 mm and with our resolution it comes to 2770 * 10000). I was trying to change from manual to MDI when I noticed that those buttons did not react(hard switches connected to halui pins). Then I tried from Gmoccapy via touchscreen but it was "frozen". After that I saw that E-stop did not react either(also hard switch). So I force quit LinuxCNC. After that I got LinuxCNC crash report(that usually comes at startup if something is wrong in hal config). But I was too hasty and lost it. After that I restarted LinuxCNC and saw an error about incorrect limits configuration. After start DRO reading was same. So I went to inspect mechanical things(like if axis was on hard limit) and then I saw this axis slowly moving to negative direction. At that point I did shutdown PC completely, switched off mains and waited. And then I checked encoder connectors and saw that Z-encoder connector was detached. Plugged it in restarted and everything was ok. And yes I do have enable pins in use. I cannot be 100% sure this is how it went but this is my best memory image.
Tero