Overview
| Artifact ID: | 2f8a04d55e1978dd220cd711b702c8005e4b587a1af3c5dec070b8bd794aa3e8 |
|---|---|
| Ticket: | fec0c17d39db02faffa101ebb605d0958dbf3466
segfault compiling deeply nested [catch] |
| User & Date: | sebres on 2019-09-11 18:38:58 |
Changes
- closedate changed to: "2458738.27706645"
- closer changed to: "sebres"
- icomment:
Branch [/timeline?r=bug-fec0c17d39-8.6-limit|bug-fec0c17d39-8.6-limit] gets merged, so it is ultimately fixed now for 8.6 in [ecf524bce0]. The body of <code>catch</code> is compiled in core on demand, so the original script falls in the category of mixed eval+compile and now it stops to compile after ca. 1250 nested compilations (mentioned factor 5/4).<br/> Although the script returned successfully with 0 now (due to top <code>catch</code>'s around of catch-ed error), but the error is pretty visible using <code>$errorInfo</code>: <pre style="padding-left:10pt"> % puts [eval [gencode 100000]] 0 % puts $::errorInfo too many nested compilations (infinite loop?) invoked from within "catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch {catch ... </pre> Thus close now.<br/> Thanks for reminder, Don! - login: "sebres"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Closed"