Skip to content
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

terminal freezes #42

Open
2 of 6 tasks
Shelly333-2 opened this issue Aug 30, 2024 · 8 comments
Open
2 of 6 tasks

terminal freezes #42

Shelly333-2 opened this issue Aug 30, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@Shelly333-2
Copy link

Basic questions:

  • I am using the latest Ketting launcher version at the time of writing.
  • I am not running my server in a onedrive folder.
  • I have provided full logs and not a screenshot.
  • I am having an issue with ketting and not the ketting launcher.
  • I have checked all items without reading.
  • I have provided proper reproduction steps.

Ketting launcher Version

v1.5.0

Description of behavior

terminal freezes on version selection and after the server started and stoped

Reproduction Steps

use a terminal or ssh connection to server and use ketting launcher

Logs

i cant provide the server log

JVM Flags

java -Xms6144M -Xmx6144M -jar server.jar -nogui

Operating system

ubuntu server 24.04.1 LTS

Additional context

No response

@Shelly333-2 Shelly333-2 added the bug Something isn't working label Aug 30, 2024
@C0D3-M4513R
Copy link
Member

What do you mean by "terminal freezes"?

@JustRed23
Copy link
Member

If you meant that your ssh connection freezes, then this is normal behaviour, as this also happens on forge due to the use of JLine

@Shelly333-2
Copy link
Author

in my case any terminal freezes not just ssh

@Shelly333-2
Copy link
Author

that didnt happen on forge might be just a random bug

@C0D3-M4513R
Copy link
Member

C0D3-M4513R commented Sep 17, 2024

Just out of curiosity: Do you have something like this in your logs?

[ERROR] Failed to construct terminal; falling back to unsupported
java.lang.NumberFormatException: For input string: "0x100"

For me, with kettinglauncher 1.5.0, my terminal simply doesn't show typed characters, after I stop the server. Until then everything behaves correctly. I can make the terminal behave correctly again when executing reset.

Ctrl+L, Enter, reset, Enter is a known combination to get most terminals operational again. Ctrl+L, Enter simply clears any junk that might be currently in the commandline and is thus not needed in this case.

my terminal works fine on version select and when starting the server however.
I tested with Konsole on Plasma 6, NixOs 24.05.

Edit: it seems to not be consistent in breaking like this?

@C0D3-M4513R
Copy link
Member

C0D3-M4513R commented Sep 17, 2024

I found that this is pretty consistently reproducible (or at least what I described), if you stop the server via typing stop (and not with ctrl+c).
Also I found that c217780 (should be 1.2.0 or so?) also also has the issue (that is the earliest commit that will work at all. earlier commits all refuse to start, because of some issues).

So I think this might not even be a launcher issue (as I wouldn't even know what would cause input to stop being displayed), but just the fact that an unsupported terminal causes issues?

@Shelly333-2
Copy link
Author

this error didnt happen [ERROR] Failed to construct terminal; falling back to unsupported
java.lang.NumberFormatException: For input string: "0x100" and i probaly expained the reproduction process starting ketting causes the terminal to freeze and on ssh only stoping causes the freeze

@C0D3-M4513R
Copy link
Member

C0D3-M4513R commented Sep 18, 2024

I can’t reproduce the freeze then (Only the behavior I described, which is not a freeze).
I am however only testing via a local Terminal Emulator, not an acutal tty.
I’ve also not tried via ssh, but I also don’t have a suitable pc for that rn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants