[
https://issues.apache.org/jira/browse/THRIFT-4356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16219281#comment-16219281
]
ASF GitHub Bot commented on THRIFT-4356:
----------------------------------------
GitHub user RobberPhex opened a pull request:
https://github.com/apache/thrift/pull/1400
add stdc++ back
at Linux x86,
will cause errror:
````
# php -d extension=./thrift_protocol.so -m
PHP Warning: PHP Startup: Unable to load dynamic library
'./thrift_protocol.so' - ./thrift_protocol.so: undefined symbol:
_ZTVN10__cxxabiv120__si_class_type_infoE in Unknown on line 0
````
ref
[commit](https://issues.apache.org/jira/browse/THRIFT-4356?focusedCommentId=16219118&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16219118)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/RobberPhex/thrift fix-libcpp-dep
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/1400.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1400
----
commit 194b730d565c822dd516f705e51f49d5632e1052
Author: Robert Lu <[email protected]>
Date: 2017-10-25T18:39:17Z
add stdc++ back
----
> 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)