View Issue Details

Category
整備班:YAYA
SeveritytrivialReproducibilityN/A 
Status closed 
Summary0000365: Increasing the possible depth of yaya's stack
DescriptionWhen 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
TagsNo tags attached.
Attach Tags

Activities

guest

2021-11-23 00:36

reporter   ~0000945

https://github.com/ponapalt/yaya-shiori/commit/1d28ed1bde2f8a25fdb25a03bde75f7298ef4c68
The solution I've come up with so far
....
It's not very pretty, probably

guest

2021-11-23 12:31

reporter   ~0000946

I have tested shiori.OnMemoryLimit function and it does not work
I don't know what the problem is..

ponapalt

2021-12-03 09:39

administrator   ~0000971

YAYA Tc566-2 : Add stack overflow handler
SSP 2.5.50 : increase stack limit

Issue History

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