-
Notifications
You must be signed in to change notification settings - Fork 134
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
require polymake.jl 0.9 for polymake 4.9 #1902
Conversation
On my laptop I get weird crashes when I load Oscar and then suspend it with
I still don't know why the new polymake has such a big effect on the ncurses, the only relevant thing that we changed is to add a new dependency on SCIP_jll (which also depends on Readline_jll) but I don't think there is any extra ncurses initialization running. cc: @fingolfin |
I will have a look. I just tried reproducing this on macOS, but no crash, yet some other "funny behaviour": pressing Ctrl-Z once did not get me to a shell, but left me in a weird limbo state. Pressing it again then got me to a shell, from which I could resume. But it was also this way on This does look a bit as if two Perhaps GAP's (BTW we are installing an outdated version of Browse.... That's another bug I'll look into now). |
I was not yet able to trigger a crash with this branch, even on Linux. But also on Linux I get this weird "need to press Ctrl-Z" behavior. I also checked what happens if I load OSCAR without And now I realize that Julia seems to always do this, even if I just start |
TLDR: I think the main problem is that Browse is compiled against the system-ncurses instead of the artifact and then both are loaded, the configuration of the system-ncurses and the load-order has some influence on the effects, e.g. crash / weird terminal output / ... So I guess oscar-system/GAP.jl#614 might help here as well.
With that line removed and the Browse folder deleted the crash goes away and the terminal stays fine even after loading Oscar:
Maybe that is just you, without Oscar it looks like this for me on Gentoo Linux and macOS (munk):
No second Ctrl+Z and no weird terminal behaviour, this is with urxvt and bash. DetailsFirst start:
Second start:
|
I have now moved Polymake up in our imports to load it before GAP, this seems to fix the crashes but I don't really understand why. There are still two ncurses libraries active. Another workaround for me locally is to manually build Browse with the correct ncurses:
This removes the system-ncurses library from |
I have tried various different Linux platforms and haven't seen any crashes with this new import order, so I would merge this later today if there are no objections (this update is needed for a few other things). |
Thank you |
cc: @alexej-jordan