<i>segfault compiling deeply nested [catch]</i> status still Pending with 3 other changes
by
.
D 2019-09-04T11:12:17.620
J icomment Back\sto\sthe\sissue:\sI\shave\sstill\sone\sidea\sto\simprove\sthe\srecursion\sprotection\sagainst\sSO:\r\n\r\nAt\sthe\smoment\swe\shold\sthe\slevel\scounter\sand\smax\sdepth\sper\sinterpreter.\sA\sthread\s(which\sstack\swe\sare\r\ntrying\sto\sprotect)\scan\sown\smore\sas\sone\sinterpreter\s(and\scompile\sresp.\sexecute\sthe\scode\sacross\sthem),\r\nso\sthe\sstack\sexhaustion\scould\soccur\sif\scommon\sstack\sdepth\sis\sreached\s(but\sthe\slimits\sin\seach\sinterpreter\r\nare\sstill\snot\sreached).\r\n\r\nI\sthink\swe\scould\sneed\sadditionally\sa\s"global"\s(per\sprocess\sor\sper\sthread)\srecursion\slimit\r\nas\swell\sas\sthe\scounter\sin\sthe\sthread\sstorage\sthat\swould\shold\sreal\snested\sdepth\sacross\sall\sinterpreter.
J login sebres
J mimetype text/x-fossil-wiki
K fec0c17d39db02faffa101ebb605d0958dbf3466
U sebres
Z 7497c7adf9e762daefb388c58baeb624