- General
- General LinuxCNC Questions
- How stop or recover a linuxCNC crash when code contains infinite loop?
How stop or recover a linuxCNC crash when code contains infinite loop?
14 Jan 2018 20:46 #104460
by berntd
G'day
I am running 2.5.0
When I write G code and load it, it sometimes happens that I made a mistake and a while loop contains a parameter that does not increase or has been changed elsewhere.
When I load that file, the linuxCNC goes crazy busy and there seems no way of stopping it or recovering.
I eventually have to turn the computer off, which has other terrible consequences
the whole computer becomes completely unresponsive.
My guess is that it is the graphical path preview section that does this?
Is there any way to recover or stop this?
Regards
Bernt
I am running 2.5.0
When I write G code and load it, it sometimes happens that I made a mistake and a while loop contains a parameter that does not increase or has been changed elsewhere.
When I load that file, the linuxCNC goes crazy busy and there seems no way of stopping it or recovering.
I eventually have to turn the computer off, which has other terrible consequences
the whole computer becomes completely unresponsive.
My guess is that it is the graphical path preview section that does this?
Is there any way to recover or stop this?
Regards
Bernt
Please Log in or Create an account to join the conversation.
14 Jan 2018 23:03 #104479
by rodw
Replied by rodw on topic How stop or recover a linuxCNC crash when code contains infinite loop?
I think you have learnt why you need an external estop switch fitted. Do you have one?
Please Log in or Create an account to join the conversation.
15 Jan 2018 20:39 #104514
by newbynobi
Replied by newbynobi on topic How stop or recover a linuxCNC crash when code contains infinite loop?
Just open a terminal and type linuxcnc, you will see a message that linuxcnc is still running and you must enter y to stop the running one.
Thats it
Thats it
Please Log in or Create an account to join the conversation.
- General
- General LinuxCNC Questions
- How stop or recover a linuxCNC crash when code contains infinite loop?
Time to create page: 0.131 seconds