Skip to content

UGS freezes when opening gcode files #2929

@cewalker7

Description

@cewalker7

Version

2.1.15

Hardware / Firmware

GRBL 1.1

What happened

When trying to open a .tap or .gcode file UGS freezes and becomes unresponsive. Nothing loads and I have to close it.

How to reproduce

I can get UGS to load normally using a right click "Run as a program". Once it has loaded everything appears to work I can load plugins, change settings and I can control the CNC to zero it out and move it. But when I go to open a toolpath UGS freezes and becomes unresponsive. It just locks up. I tried to change the configuration file by adding "-J-Xmx2048m" and that didn't help. Attached is the log from UGS as it comes without the extra memory. When UGS is frozen all other programs seem to work fine.

messages.log

This is the version of Java I am running

openjdk version "21.0.8" 2025-07-15
OpenJDK Runtime Environment (build 21.0.8+9-Ubuntu-0ubuntu124.04.1)
OpenJDK 64-Bit Server VM (build 21.0.8+9-Ubuntu-0ubuntu124.04.1, mixed mode, sharing)

The terminal window has these messages in it

OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.netbeans.TopSecurityManager (file:/home/cass/Downloads/linux-x64-ugs-platform-app-2.1.15/ugsplatform-linux-x64/platform/lib/boot.jar)
WARNING: Please consider reporting this to the maintainers of org.netbeans.TopSecurityManager
WARNING: System::setSecurityManager will be removed in a future release

This happens every time using Ubuntu 24.04 lts, the latest version Ubuntu 25.10 and the latest version of Linux Mint. I tried two different file extensions .tap and .gcode. I tried to use files that I have used in the past on a Windows 10 laptop using UGS as well.

Any help would be appreciated

Operating System

Ubuntu 24.04 lts

Anything else

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions