What version of protobuf and what language are you using?
Version: v3.19.1
Language: PHP v7.4
What operating system and version?
Windows 10
What runtime / compiler are you using
NTS Visual C++ 2017 x64 (VC15)
What did you do?
Steps to reproduce the behavior:
- Enable
keep_descriptor_pool_after_request option
- Call some route which uses protobuf
- Call the route a second time
What did you expect to see
No crash.
What did you see instead?
The PHP extension is crashing/segfaulting
Anything else we should know about your project / environment
PHP Extension Build: NTS, VC15
Http server: NGINX with php-cgi
@haberman @TeBoring
EDIT: attached compiled extension.
protobuf_x64_vc15_php7.4_nts.zip