FS#78428 - [godot] Incompatible with pcre2 10.42

Attached to Project: Community Packages
Opened by Henri (Valta) Osmankäämi (cgx) - Saturday, 06 May 2023, 12:21 GMT
Last edited by Toolybird (Toolybird) - Friday, 07 July 2023, 21:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Using system pcre2 (10.42) causes errors when using regex functions:

ERROR: Condition "p_ptr == nullptr" is true.
at: free_static (core/os/memory.cpp:148)

godot 4.0.2-4

The issue is described with reproduction steps in upstream bug:
https://github.com/godotengine/godot/issues/76174

A fix is in progress to support newer pcre2
https://github.com/godotengine/godot/pull/70472

It's not known if the error message is the only effect. Should this package be built with the build-in pcre2 for now?
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 07 July 2023, 21:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  godot 4.1-1
Comment by Alexander F. Rødseth (xyproto) - Monday, 05 June 2023, 10:07 GMT
Thanks for reporting!

The pcre2 fix was applied and then reverted:
https://github.com/godotengine/godot/commit/d0398f62f08ce0cfba80990b21c6af4181f93fe9

My plan is to switch over to the built-in pcre2 for a while.
Comment by Alexander F. Rødseth (xyproto) - Saturday, 17 June 2023, 13:53 GMT
Switching over to the built-in pcre2 library did not work as expected.
Comment by Alexander F. Rødseth (xyproto) - Thursday, 06 July 2023, 22:03 GMT
godot 4.1 is out. Please test if this is still an issue.
Comment by Henri (Valta) Osmankäämi (cgx) - Friday, 07 July 2023, 08:41 GMT
No more error messages on 4.1

Loading...