Bug #69764 [Fbk->Opn]: Seg Fault on phpinfo()
| From: | clay dot garland at agencymatrix dot com | Date: | Mon, 08 Jun 2015 15:50:50 +0000 |
| Subject: | Bug #69764 [Fbk->Opn]: Seg Fault on phpinfo() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-193198@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69764&edit=1
ID: 69764
User updated by: clay dot garland at agencymatrix dot com
Reported by: clay dot garland at agencymatrix dot com
Summary: Seg Fault on phpinfo()
-Status: Feedback
+Status: Open
Type: Bug
Package: *General Issues
Operating System: CentOS 7 x64
PHP Version: 5.4.41
Block user comment: N
Private report: N
New Comment:
#define PHP_HTTP_EVENT_VERSION "2.0.21-stable"
#define PHP_HTTP_HAVE_EVENT 1
#define PHP_HTTP_HAVE_EVENT2 1
is the output of grepping config.h for EVENT.
Previous Comments:
------------------------------------------------------------------------
[2015-06-08 10:43:09] mike@php.net
Okay, php_http.c:221 hints to the detected libevent version. Please try this:
$ pecl download pecl_http
$ tar xzf pecl_http-*.tgz
$ cd pecl_http-*
$ phpize
$ ./configure
$ grep EVENT config.h
------------------------------------------------------------------------
[2015-06-08 10:38:24] mike@php.net
What does the following command output?
ldd /usr/lib/php/modules/http.so (or whatever your path to the pecl/http module is)
------------------------------------------------------------------------
[2015-06-06 16:43:59] cmb@php.net
That seems to be related to pecl_http. Does the segfault also
occur without this extension? Which version of pecl_http do you
use?
------------------------------------------------------------------------
[2015-06-06 15:16:56] clay dot garland at agencymatrix dot com
gdb bt output:
#0 0x00007f3c9ca35ed8 in php_info_print_table_row_internal (num_cols=3,
value_class=value_class@entry=0x7f3c9cbd07ff "v",
row_elements=row_elements@entry=0x7fff6b11e850) at
/usr/src/debug/php-5.4.41/ext/standard/info.c:1100
#1 0x00007f3c9ca369b0 in php_info_print_table_row (num_cols=num_cols@entry=3)
at /usr/src/debug/php-5.4.41/ext/standard/info.c:1135
#2 0x00007f3c8c2601ed in zm_info_http (zend_module=0x7f3c9e7f5a30) at
/var/tmp/pecl_http/php_http.c:221
#3 0x00007f3c9ca36af0 in _display_module_info_func (module=<optimized out>) at
/usr/src/debug/php-5.4.41/ext/standard/info.c:186
#4 0x00007f3c9cae91a5 in zend_hash_apply (ht=ht@entry=0x7fff6b11e9b0,
apply_func=apply_func@entry=0x7f3c9ca36ae0 <_display_module_info_func>) at
/usr/src/debug/php-5.4.41/Zend/zend_hash.c:716
#5 0x00007f3c9ca379c1 in php_print_info (flag=flag@entry=-1) at
/usr/src/debug/php-5.4.41/ext/standard/info.c:879
#6 0x00007f3c9cb88424 in do_cli (argc=2, argv=0x7fff6b120078) at
/usr/src/debug/php-5.4.41/sapi/cli/php_cli.c:685
#7 0x00007f3c9c91a577 in main (argc=2, argv=0x7fff6b120078) at
/usr/src/debug/php-5.4.41/sapi/cli/php_cli.c:1365
------------------------------------------------------------------------
[2015-06-06 14:06:02] clay dot garland at agencymatrix dot com
Description:
------------
Segmentation fault on phpinfo()
Test script:
---------------
<?php
phpinfo();
Expected result:
----------------
I expect to see phpinfo()
Actual result:
--------------
Segmentation fault (core dumped)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69764&edit=1