|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2015-06-06 14:06 UTC] 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)
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 05:00:01 2025 UTC |
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:1365Hm, not sure where to go from here without gdb... Could you verify that libevent returns a sane version from its API? █ mike@smugmug:/tmp$ cat evv.c #include <stdio.h> #include <event2/event.h> int main(int argc, char *argv[]) { printf("version: %s\n", event_get_version()); return 0; } █ mike@smugmug:/tmp$ gcc -levent -o evv evv.c █ mike@smugmug:/tmp$ ./evv version: 2.0.22-stable