ioSender icon indicating copy to clipboard operation
ioSender copied to clipboard

Console window freeze the program

Open calabr opened this issue 2 years ago • 4 comments

ioSender 2.0.36p15 Controller GRBL 1.1h Atmega328

Started to send code. After switching Console Verbose output programm may stall in ~10 sec. or after switch from Program tab to Console tab It's continue to send "?" requests, but stopped to send GCode and do not react on any button. App window cannot be closed. Only killed from task-manager. 1 CPU core become 100% loaded. Looks like it's only happen with "-locale ru-RU" switch. I cannot get such issue with English or de-DE.

calabr avatar Dec 05 '21 23:12 calabr

I am not able to replicate this. Does the gcode contain a lot of short movements?

FYI I sometime get hangs while debugging controller code due to the controller USB stack dying. Usually I can then terminate ioSender by unplugging the USB cable.

terjeio avatar Dec 08 '21 12:12 terjeio

Yes it's 25K-100K strings of short moves. I get the same issue with GRBL in CHECK mode and with free running ( motors switched off, feed override 200% for stress-test.) My setup use CH340 USB-UART convertor. Serial port monitor show the successfull "?" from sender and normal reply from grbl. I think it's something happens with ok response parser. Locale type influence - probable some issue with string length. My translation is usually longer than English.

calabr avatar Dec 14 '21 06:12 calabr

I am still not able to replicate this after sending a couple of million lines in Check mode to an Arduino Mega. I have tested with both the Russian and German translations. Can you test with another computer and/or USB cable? Or post a file that fails for me to test with?

terjeio avatar Dec 14 '21 15:12 terjeio

By chance I saw a similar (or the same?) issue when starting a second run of a g-code file that was not properly ended (by a command such as M30). Can you check with the latest Edge version to see if the issue is resolved for you?

terjeio avatar Dec 17 '21 20:12 terjeio