Overview
| Artifact ID: | 8386ff5fb49289fdce9e82c2141f1d87e83f2d63b838d48fabb10b960ba56123 |
|---|---|
| Ticket: | fec0c17d39db02faffa101ebb605d0958dbf3466
segfault compiling deeply nested [catch] |
| User & Date: | sebres on 2019-09-04 11:12:17 |
Changes
- icomment:
Back to the issue: I have still one idea to improve the recursion protection against SO: At the moment we hold the level counter and max depth per interpreter. A thread (which stack we are trying to protect) can own more as one interpreter (and compile resp. execute the code across them), so the stack exhaustion could occur if common stack depth is reached (but the limits in each interpreter are still not reached). I think we could need additionally a "global" (per process or per thread) recursion limit as well as the counter in the thread storage that would hold real nested depth across all interpreter.
- login: "sebres"
- mimetype: "text/x-fossil-wiki"