-
Notifications
You must be signed in to change notification settings - Fork 190
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
Stack overflow (solvable by increasing stack size) #1643
Comments
A better fix is to jump to OCaml 4.14.0 instead of 4.13.1 — there 90 kilobytes are enough:
|
Just for completeness, here's the lldb backtrace on OCaml 4.13.1+flambda:
|
@Blaisorblade ran into the same issue while installing full coq-platform, perhaps this issue should also be reported at platform repo? |
Maybe I should have; at least on Apr 18 I opened a discussion on the Coq Platform Zulip (because I wasn’t sure it was a valid issue and what to do about it) and there was some follow-up. |
Link: https://coq.zulipchat.com/#narrow/stream/250632-Coq-Platform-devs-.26-users/topic/Coq.20Platform.20and.20stack.20overflows (I’m on my phone and in vacation, so no time to re-read it). |
Is there anything we can do about this in the end? It seems to be a Coq/Platform issue IIUC? |
Probably a low-priority issue — I'm logging it anyway in case it helps.
While installing the latest Coq platform on Apple Silicon (coq-platform.2022.04.0
8.152022.0, usingcoq-hott.8.15
), I got a stack overflow/segfault:The fix is to increase the soft ulimit for the stack size —
ulimit -s -S 24528
will work (the default here is8176
, andulimit -S -s $[8176*207/100]
still fails; whileulimit -S -s $[8176*208/100]
works).The text was updated successfully, but these errors were encountered: