View Issue Details

Category
整備班:YAYA
SeveritytrivialReproducibilityN/A 
Status new 
Summary0000365: 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

  1. 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..

Add Note

View Status
Note
Upload Files
Maximum size: 1,953 KiB

Attach files by dragging & dropping, selecting or pasting them.

送信ボタンを押す前に / Before pushing "Send" button

  • スパム避けのためにパスワードが必要です。送信ボタンを押すとユーザー名とパスワードを聞かれますので、それぞれ "bts" と入力してください。
  • To send report, please input "bts" into username and password box in popup dialog.

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