LinuxCNC randomly crashes reportedly due to Python bug

More
04 Aug 2025 06:32 #332793 by matasbuk
Hello, I am running the master branch of LinuxCNC with QTLathe GUI. I have a Python component that reads the feed rate from linuxcnc.stat and further use that value in my C component. The machine seems to randomly hard crash and exit LinuxCNC fully. What could be the problem ar what could I change to solve this? Thank you in advance! I am attaching the Python and C components, .ini and .hal files and the error log.

Please Log in or Create an account to join the conversation.

More
04 Aug 2025 07:49 #332796 by unknown
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.

Starting DISPLAY program: qtvcp
hm2/hm2_7i95.0: Smart Serial port 0: DoIt not cleared from previous servo thread. Servo thread rat.sserial.0.fault-count pin will indicate if this is happening frequently.

The error log has identified an issue (noted above), you will need to address this.

Please Log in or Create an account to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum