-
Notifications
You must be signed in to change notification settings - Fork 34
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
info.updateTerminalSize() can crash on MacOS Ventura #86
Comments
I can't really read the text in that video. Can you post the crash text and the code that reproduces this? It's strange that it works for a while. This is tricky since I don't have a mac machine to test on, and this doesn't look like I'll be able to reproduce it in a unit test on CI. |
Hey The same crash text is in the hs_err log attached I think. If that doesn't help I'll post it when I get back to my laptop tomorrow 👍 |
Ah, thanks, I missed that in the original post. Does this crash only occur under Graal? Does it work on a regular JVM? |
On the HotSpot JVM the crash is as follows:
HotSpot hs_err_pid java details: > java -version
java version "17.0.6" 2023-01-17 LTS
Java(TM) SE Runtime Environment (build 17.0.6+9-LTS-190)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.6+9-LTS-190, mixed mode, sharing) |
Possibly related? jline/jline3#688 - there are several linked issues that might be worth reading about. I do use JLine (v3.22.0), but not to discover or update anything regarding the size of the terminal. |
Hello. I'm having a problem that may be related. I'm on M1 MacBook Pro running Ventura. Calling Do you think it is related to this issue or is it a separate issue? |
Sure, I can try. How should I do to try that branch? Is there a binary somewhere for that branch or do I have to build it locally? |
I just merged the PR, so you can use the latest snapshot once it finishes building. |
I have tried with the latest snapshot release and it still failed to detect the terminal size. It fails in the same way as with 2.0.0-beta11, that is,
|
@ajalt Naive testing suggests that this has worked to fix the crash. However, changing the term size doesn't affect the numbers in the column. At least the size does not shrink to nothing any more :) Screen.Recording.2023-02-13.at.16.49.57.mov |
I just released a new version of Mordant that reverts to the old |
Firstly let me thank you for this amazing lib AND cliktcommand. They are super useful :)
However, apart from not really working (as you can see from the video, all the tables get squashed to nothing), the jvm
updateTerminalSize
function causes the JVM to crash on MacOs Ventura:hs_err_pid22892.log
replay_pid77535.log
Crash log on console out:
sigsegv.mov
All this command I'm running is calling the updateTerminalSize function in a CliktCommand underneath. I'm adapting the mordant terminal using the interfaces provided for Clikt, if you are wondering, and everything works fine in a linux docker environment.
Edit:
Second edit: added console crash message for GraalVm and replay log
The text was updated successfully, but these errors were encountered: