-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RegEx.search_all
causes 'Condition "p_ptr == nullptr" is true.' error with PCRE2 10.42 (Linux distro packages)
#76174
Comments
I know you are on linux, but I'm just adding a data point in case others are checking this bug. No repro on current master on macOS. The error is likely triggered when |
I get the same error upon calling |
arch build is using system pcre2, which is at version 10.42 I'm not sure if the only effect of this bug is the error message. I opened arch bug as well, just in case this issue might have other consequences. (https://bugs.archlinux.org/task/78428) |
RegEx.search_all
causes 'Condition "p_ptr == nullptr" is true.' error with PCRE2 10.42 (Linux distro packages)
Fixes godotengine#76174. (cherry picked from commit 290db4a)
Godot version
v4.0.2.stable.arch_linux
System information
ArchLinux rolling, Linux 6.2.11-arch1-1. Vulkan Mobile on RX 6900XT
Issue description
When using RegEx.search_all, an error is added to the log:
The number of triggered errors seems to be affected by the number of matches the regex makes.
Steps to reproduce
Have any script that does something using
RegEx.search_all
:The above example will trigger 5 error messages (1 per match + 1 fixed).
Minimal reproduction project
minimal_project.zip
Script was made for running through CLI:
godot --headless -s new_script.gd
The text was updated successfully, but these errors were encountered: