[ https://issues.apache.org/jira/browse/THRIFT-4356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16219118#comment-16219118 ]
Daniel Smith edited comment on THRIFT-4356 at 10/25/17 6:54 PM: ---------------------------------------------------------------- [~Robert Lu] What version of PHP was this tested on? It looks like this introduced a different bug for me: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/thrift_protocol.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/thrift_protocol.so: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE in Unknown on line 0 PHP 7.1.10 (cli) (built: Oct 10 2017 01:25:12) ( NTS ) I'm running this in Docker with a base image of php:7.1-apache. I'll try running it just on that image without my changes and see if there's a difference. ETA: PHP 7.2.0RC4 seems to work was (Author: danielsmithsd): [~Robert Lu] What version of PHP was this tested on? It looks like this introduced a different bug for me: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/thrift_protocol.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/thrift_protocol.so: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE in Unknown on line 0 PHP 7.1.10 (cli) (built: Oct 10 2017 01:25:12) ( NTS ) I'm running this in Docker with a base image of php:7.1-apache. I'll try running it just on that image without my changes and see if there's a difference. > thrift_protocol call Transport cause Segmentation fault > ------------------------------------------------------- > > Key: THRIFT-4356 > URL: https://issues.apache.org/jira/browse/THRIFT-4356 > Project: Thrift > Issue Type: Bug > Components: PHP - Library > Affects Versions: 0.9.3, 0.10.0 > Environment: PHP 7.0.23 (cli) (built: Sep 25 2017 08:07:30) ( NTS ) > macOS 10.13.1 Beta (17B25c) > Reporter: Robert Lu > Assignee: Robert Lu > Priority: Critical > Fix For: 0.11.0 > > > When thrift_protocol extension try to read or write some bytes, if there is > some exception, will cause Segmentation fault -- This message was sent by Atlassian JIRA (v6.4.14#64029)