|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-02-26 11:09 UTC] santiago739 at gmail dot com
[2010-03-01 06:19 UTC] cfalo at aedgency dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 19:00:02 2025 UTC |
Description: ------------ We are getting segmentation fault errors that follow no pattern, seems that just after httpd restart we always get one, but then we can have several runs with no errors. Also same data indexed in another index seems to produce less errors. The segfault comes just after sphinx results are returned to the module We are running on four 2.83GHz Intel Pentium Xeon cpus with 1.5GB RAM (virtualized environment mimicking production servers) Actual result: -------------- {{{ (gdb) bt #0 php_sphinx_result_to_array (c=0x2b2cb4388a40, result=0x2b2cb41f7670, array=0x7fffa108d1e0) at /usr/src/debug/php-pecl- sphinx-1.0.3/sphinx-1.0.3/sphinx.c:179 #1 0x00002b2ca540e4d3 in zim_SphinxClient_runQueries (ht=<value optimized out>, return_value=0x2b2cb43ab490, return_value_ptr=<value optimized out>, this_ptr=<value optimized out>, return_value_used=<value optimized out>) at /usr/src/debug/php-pecl- sphinx-1.0.3/sphinx-1.0.3/sphinx.c:1344 #2 0x00002b2ca1afd09b in xdebug_execute_internal () from /usr/lib64/php/modules/xdebug.so #3 0x00002b2c9f76604b in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffa108d4c0) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:202 #4 0x00002b2c9f76513c in execute (op_array=0x2b2cb4329cb0) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:92 #5 0x00002b2ca1afcd31 in xdebug_execute () from /usr/lib64/php/modules/xdebug.so #6 0x00002b2c9f765c91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffa108d9d0) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:234 #7 0x00002b2c9f76513c in execute (op_array=0x2b2cb4380a38) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:92 #8 0x00002b2ca1afcd31 in xdebug_execute () from /usr/lib64/php/modules/xdebug.so #9 0x00002b2c9f765c91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffa108dfc0) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:234 #10 0x00002b2c9f76513c in execute (op_array=0x2b2cb41c79d0) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:92 #11 0x00002b2ca1afcd31 in xdebug_execute () from /usr/lib64/php/modules/xdebug.so #12 0x00002b2c9f765c91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffa108e380) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:234 #13 0x00002b2c9f76513c in execute (op_array=0x2b2cb4279258) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:92 #14 0x00002b2ca1afcd31 in xdebug_execute () from /usr/lib64/php/modules/xdebug.so #15 0x00002b2c9f765c91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffa108e990) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:234 #16 0x00002b2c9f76513c in execute (op_array=0x2b2cb0383638) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:92 #17 0x00002b2ca1afcd31 in xdebug_execute () from /usr/lib64/php/modules/xdebug.so #18 0x00002b2c9f765c91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffa108f040) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:234 #19 0x00002b2c9f76513c in execute (op_array=0x2b2c99ffa460) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:92 #20 0x00002b2ca1afcd31 in xdebug_execute () from /usr/lib64/php/modules/xdebug.so #21 0x00002b2c9f765c91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffa108f3e0) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:234 #22 0x00002b2c9f76513c in execute (op_array=0x2b2c99ddc7e8) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:92 #23 0x00002b2ca1afcd31 in xdebug_execute () from /usr/lib64/php/modules/xdebug.so #24 0x00002b2c9f765c91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffa108f6a0) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:234 #25 0x00002b2c9f76513c in execute (op_array=0x2b2cb3923430) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:92 #26 0x00002b2ca1afcd31 in xdebug_execute () from /usr/lib64/php/modules/xdebug.so #27 0x00002b2c9f765c91 in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffa108fe10) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:234 #28 0x00002b2c9f76513c in execute (op_array=0x2b2cb3901408) at /usr/src/debug/php-5.2.11/Zend/zend_vm_execute.h:92 #29 0x00002b2ca1afcd31 in xdebug_execute () from /usr/lib64/php/modules/xdebug.so #30 0x00002b2c9f745663 in zend_execute_scripts (type=8, retval=<value optimized out>, file_count=3) at /usr/src/debug/php-5.2.11/Zend/zend.c:1134 #31 0x00002b2c9f7055a8 in php_execute_script (primary_file=0x7fffa10923b0) at /usr/src/debug/php-5.2.11/main/main.c:2020 #32 0x00002b2c9f7ca1fd in php_handler (r=0x2b2cb40c3138) at /usr/src/debug/php-5.2.11/sapi/apache2handler/sapi_apache2.c:632 #33 0x00002b2c99cffa4a in ap_run_handler () from /usr/sbin/httpd #34 0x00002b2c99d02ec2 in ap_invoke_handler () from /usr/sbin/httpd #35 0x00002b2c99d0d958 in ap_process_request () from /usr/sbin/httpd #36 0x00002b2c99d0ab90 in ?? () from /usr/sbin/httpd #37 0x00002b2c99d06cb2 in ap_run_process_connection () from /usr/sbin/httpd #38 0x00002b2c99d11899 in ?? () from /usr/sbin/httpd #39 0x00002b2c99d11b2a in ?? () from /usr/sbin/httpd #40 0x00002b2c99d11be0 in ?? () from /usr/sbin/httpd #41 0x00002b2c99d128cb in ap_mpm_run () from /usr/sbin/httpd #42 0x00002b2c99cece48 in main () from /usr/sbin/httpd }}}