View Issue Details
Category | |||||
---|---|---|---|---|---|
整備班:YAYA | |||||
Severity | trivial | Reproducibility | N/A | ||
Status | closed | ||||
Summary | 0000365: Increasing the possible depth of yaya's stack | ||||
Description | When I was adding shiori.OnCallLimit to taromati2, I found that setting the fncdepth to 3000 only made the function not trigger: operator new threw an exception and was caught by ssp, shiori.OnCallLimit was not triggered and the request ended So there are two questions: 1. How can shiori.OnCallLimit be triggered stablely? Adding a try block to a function call is a possibility, but may have some impact on speed 2. Is it possible to increase the stack to shiori can be used? I often use recursion to handle folder file traversal, so I want to make sure the stack is sufficient | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
|
https://github.com/ponapalt/yaya-shiori/commit/1d28ed1bde2f8a25fdb25a03bde75f7298ef4c68 The solution I've come up with so far .... It's not very pretty, probably |
|
I have tested shiori.OnMemoryLimit function and it does not work I don't know what the problem is.. |
|
YAYA Tc566-2 : Add stack overflow handler SSP 2.5.50 : increase stack limit |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-11-23 00:04 | guest | New Issue | |
2021-11-23 00:36 | guest | Note Added: 0000945 | |
2021-11-23 12:31 | guest | Note Added: 0000946 | |
2021-12-03 09:39 | ponapalt | Assigned To | => ponapalt |
2021-12-03 09:39 | ponapalt | Status | new => closed |
2021-12-03 09:39 | ponapalt | Resolution | open => fixed |
2021-12-03 09:39 | ponapalt | Note Added: 0000971 |