-
-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UGS crash....Java crash after an amount of time #2305
Comments
Just got another java crash report..... its long so I put it in a text file. |
I don't own a Apple M2 device so it is hard for me to debug this. So any help with this would be appreciated. |
YES YES! :-) Ill help any way I can....just tell me what you need. |
The first thing I would try is replace the Java runtime with another variant. Start with downloading the "All platforms" edition of UGS: This does not contain a Java runtime environment, so that needs to be downloaded and unzipped separately from here: Then you need to edit the Then start UGS with the script |
Thank you I'll try all this tonight!
Paul
…-------- Original Message --------
On Sep 3, 2023, 2:41 PM, Joacim Breiler wrote:
The first thing I would try is replace the Java runtime with another variant.
Start with downloading the "All platforms" edition of UGS:
https://github.com/winder/Universal-G-Code-Sender#downloads
This does not contain a Java runtime environment, so that needs to be downloaded and unzipped separately from here:
https://adoptium.net/temurin/releases/?os=mac&arch=aarch64&version=11
Then you need to edit the ugsplatform/etc/ugsplatform.conf and change the config parameter:
jdkhome="jdk/jdk-13.0.1+9-jre" to point to the your JDK directory.
Then start UGS with the script ugsplatform/bin/ugsplatform
—
Reply to this email directly, [view it on GitHub](#2305 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AOFLDH4IJSU4DTMKSSW5XF3XYTFOTANCNFSM6AAAAAA4I3GIN4).
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
Ok, Not sure but I think I did everything correctly but now im getting a terminal opening up before UGS opens with this: Last login: Mon Sep 4 12:01:39 on ttys000 but this never happened before, and I havent run UGS long enough today for it or java to crash. I am running now so I will post. |
The terminal showing errors are normal when running from the start script. If this works I will try and package a new UGS variant for MacOSX for Aarch64 architecture. Thanks for testing this! |
No problem! Im happy to help. Oh and one thing....my xbox controller for my machine was working amazingly and now with whatever im doing now.....no buttons show in the settings window and it no longer moves my machine. ??? Could it be how its currently running? Instead of being installed in the application folder per usual? Not a huge deal I assume it will work when i go back to the regular install and usage..... |
You are now running Java for an architecture which might not be supported by the library we are using for accessing the gamepad. But as I don't have access to a machine with that architecture I have no way of verifying this. Post your log from |
Most of the day on Monday after your recommendations and about 3 hours tonight with no crashes. I will continue to run the machine and leave UGS running until tomorrow and the same for tomorrow evening after I get off work and will leave UGS open but not connected until then. Just as a point of reference, even if I wasnt using the machine but had ugs open and connected, it would still crash. As of now, it seems to have stopped. |
BTW.... there is no such file or folder for UGS.... |
Third day, no crashes....still running. Just an update. |
Thanks, I'll try and create a new packaging for MacOSX aarch64. |
Hej! Joacim.... :-) Any progress on a new build for MacOSX? I can help if you would like. Anything I can do I am happy to. Thanks! |
Hey again Joacim! I pulled the new Pre-release down and used it for a while today. It crashed twice both times I wasnt using it but I was using it for about 2 hours before that. It seems like it crashes when Im NOT using it.... :( Everything else seems to be working....Im really enjoying having my controller back. Below is the crash info: |
So for the last week I have downloaded a nightly build and the program opens then just sits there with my spinning apple balloon and doesnt actually start but its half way open trying...???? to load? Video.... https://drive.google.com/file/d/1g4HyJt0IfCMmWyH-CazLMBzMiLFz_X8i/view?usp=drive_link |
Maybe some cache I need to delete and start over? |
That version should contain the feature that clears the cache on startup. If not or if you are unsure, there is a release candidate that you can try here: https://github.com/winder/Universal-G-Code-Sender/releases/tag/v2.1.0 |
If that still doesn't work I would appreciate the log file from |
I deleted some files in macos pertaining to UGS....they were pretty hidden but now seem to be working......I seriously tried to open it up several times in the last few days and it would just hang. I cleared those files.....I can look to see what they were....and now it opens. |
Here are the logs anyway..... and the files I hunted down and deleted. |
Version
2.0.20
Hardware / Firmware
FluidNC
What happened
I have been using UGS on my linux box to control my machine for a short amount of time but have recently switched to my macmini that I moved to the shop. After a while, what seems like a few min to an hour??? UGS crashes ORRR java is crashing. I have yet to have java crash on anything or ugs crash on my linux box. Not sure if its UGS or Java. Just posting here to see if its me or something else. thanks!
How to reproduce
Run UGS normally and it will eventually crash or its java crashing.
Operating System
Ventura 13.5.1 (22G90)
Anything else
Mac Mini 2023 M2 chip
Not where to find the java log file.
The text was updated successfully, but these errors were encountered: