svenhb / GRBL-Plotter

A GCode sender (not only for lasers or plotters) for up to two GRBL controller. SVG, DXF, HPGL import. 6 axis DRO.
https://grbl-plotter.de/
GNU General Public License v3.0
696 stars 176 forks source link

Crash when running under Proton in Linux #411

Open ArcaEge opened 4 months ago

ArcaEge commented 4 months ago

Describe the bug I followed the steps in the Linux install guide, however when I attempt to connect to GRBL, the whole program crashes. This only occurs on a valid serial port with a serial device connected, however it also crashes when there is no GRBL running (it crashed with an Arduino running blink in my testing).

Details System: Fedora Workstation 40 running GNOME/X11 Proton: Crashes under both 9.0-2 and experimental (haven't tested other versions)

To Reproduce Here is a screen recording to make things easier: https://github.com/svenhb/GRBL-Plotter/assets/40526225/20231eb7-95fc-4399-b7dd-5cf144b367d2

Expected behavior It should connect to GRBL and not crash.

Here is a paste of the log (I had to truncate some parts in the middle) https://pastebin.com/hrnPjzCu

svenhb commented 4 months ago

Sorry no idea about Linux. I see, it is connecting, then abort.... image

No idea what does this mean from your log - because it was connected...

[0000000000000128:] EXCEPTION handling: System.ArgumentException: The given port name is invalid.  It may be a valid port, but not a serial port.
Parameter name: portName
1940.428:0124:0128:trace:seh:RtlGrowFunctionTable 000000000109D430, 65
ArcaEge commented 4 months ago

OK, would you like me to do additional testing? I can connect it to a GRBL machine that I know did not cause a crash in Windows

svenhb commented 4 months ago

You may have look into (or upload) the logfile of GRBL-Plotter. Menu - About - open the "Data Path", go to subfolder logfiles and check "logfile.txt".

ArcaEge commented 4 months ago

OK, I've had to reinstall my system because I corrupted my OS partition trying to resize it, I'll have a look at this soon.