Repository navigation
Check stack size in Parser - #59697
Conversation
|
This is an automated comment for commit 1f88206 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page Successful checks
|
| * and a power of two to simplify the division. | ||
| */ | ||
| #ifdef USE_MUSL | ||
| static constexpr uint32_t check_frequency = 128; |
There was a problem hiding this comment.
Interesting. Is MUSL stack smaller?
There was a problem hiding this comment.
Yes, the first run made the Fast test crashing, and the Fast test uses Musl (the intention is to migrate to it eventually and keep it more or less supported before that time). I could set the frequency to 128 for a normal build as well, but I'm afraid it is too frequent.
…stack-size-in-parser
|
The CI is not happy, although it's not obvious why: |
…stack-size-in-parser
|
It happens in coroutines. |
|
Oh no this breaks The reason is inconsistent exception, sometimes it will be |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Check for stack overflow in parsers even if the user misconfigured the
max_parser_depthsetting to a very high value. This closes #59622.