Repository navigation
pg query ext segfault at thread exit after the extension is unloaded frankenphp zts - #2797
Merged
norberttech merged 4 commits intoDec 3, 2026
Conversation
…on is unloaded - keep pg_query.so mapped for the life of the process - ZTS test: engine thread and a parsing thread exit after the unload
…unload - engine thread and a late worker exit after the engine shutdown - compile-time ZTS assertion in the flow-php-ext test - CI lints the ZTS tests with the zts-embed feature
- class objects come out of a Zval as borrow guards - re-entry into a writer from its own stream throws an Error
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 1.x #2797 +/- ##
============================================
+ Coverage 91.50% 91.56% +0.05%
Complexity 32588 32588
============================================
Files 2256 2245 -11
Lines 94239 93522 -717
============================================
- Hits 86237 85635 -602
+ Misses 8002 7887 -115
🚀 New features to boost your workflow:
|
This comment has been minimized.
This comment has been minimized.
norberttech
deleted the
2796-pg-query-ext-segfault-at-thread-exit-after-the-extension-is-unloaded-frankenphp-zts
branch
December 3, 2026 23:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves: #2796
Change Log
Added
flow-php/pg-query-ext- ZTS test for threads that exit after the extension is unloadedflow-php/flow-php-ext- ZTS test for threads that exit after the extension is unloadedflow-php/arrow-ext- ZTS test for threads that exit after the extension is unloadedflow-php/arrow-ext- test for a stream that calls back into its own writerFixed
flow-php/pg-query-ext- segfault at thread exit after the extension is unloaded (FrankenPHP, ZTS)Changed
flow-php/flow-php-ext- ext-php-rs upgraded to 0.17flow-php/arrow-ext- ext-php-rs upgraded to 0.17flow-php/arrow-ext- a stream that calls back into its own writer gets an Errorflow-php/flow-php-ext- CI lints the ZTS test with the zts-embed featureflow-php/arrow-ext- CI lints the ZTS test with the zts-embed featureRemoved
Deprecated
Security