php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69539 segfaults after reload
Submitted: 2015-04-28 00:00 UTC Modified: 2020-01-20 17:18 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: grant dot keller at sonic dot com Assigned: derick (profile)
Status: Closed Package: Xdebug
PHP Version: 5.5.24 OS: Scientific Linux release 6.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: grant dot keller at sonic dot com
New email:
PHP Version: OS:

 

 [2015-04-28 00:00 UTC] grant dot keller at sonic dot com
Description:
------------
Package used is php55u-pecl-xdebug-2.3.2-1.ius.centos6.x86_64. With xdebug enabled, if I run 'service httpd reload', then any requests to the server generate the following in the httpd/error_log:
[Mon Apr 27 16:31:27 2015] [notice] child pid 26233 exit signal Segmentation fault (11), possible coredump in /tmp/apachedump

Restarting the service fixes the problem. If I disable the config for xdebug, the reload does not cause this problem. My xdebug config is:

zend_extension=xdebug.so

xdebug.remote_host="xx.xx.xx.xx"
xdebug.remote_port="9000"
xdebug.remote_enable=1
xdebug.collect_params=4
xdebug.collect_return=1
xdebug.remote_log="/var/log/xdebug.log"
xdebug.profiler_output_dir=/tmp
xdebug.profiler_enable_trigger=1
xdebug.idekey='XDEBUG_NOTEPAD'


Actual result:
--------------
#0  0x00007f0d01c89da0 in ?? ()
#1  0x00007f0d04353d22 in ZEND_USER_OPCODE_SPEC_HANDLER (execute_data=0x7f0d0f30d608)
    at /usr/src/debug/php-5.5.24/Zend/zend_vm_execute.h:1106
#2  0x00007f0d04352e48 in execute_ex (execute_data=0x7f0d0f30d608) at /usr/src/debug/php-5.5.24/Zend/zend_vm_execute.h:363
#3  0x00007f0d042cf12e in dtrace_execute_ex (execute_data=0x7f0d0f30d608) at /usr/src/debug/php-5.5.24/Zend/zend_dtrace.c:73
#4  0x00007f0d01cd3753 in xdebug_execute_ex (execute_data=0x7f0d0f30d608)
    at /usr/src/debug/php55u-pecl-xdebug-2.3.2/NTS/xdebug.c:1526
#5  0x00007f0cf828ed84 in ?? () from /usr/lib64/php/modules/suhosin.so
#6  0x00007f0d04352d51 in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER (execute_data=0x7f0d0f30d4c0)
    at /usr/src/debug/php-5.5.24/Zend/zend_vm_execute.h:2755
#7  0x00007f0d04352e48 in execute_ex (execute_data=0x7f0d0f30d4c0) at /usr/src/debug/php-5.5.24/Zend/zend_vm_execute.h:363
#8  0x00007f0d042cf12e in dtrace_execute_ex (execute_data=0x7f0d0f30d4c0) at /usr/src/debug/php-5.5.24/Zend/zend_dtrace.c:73
#9  0x00007f0d01cd3753 in xdebug_execute_ex (execute_data=0x7f0d0f30d4c0)
    at /usr/src/debug/php55u-pecl-xdebug-2.3.2/NTS/xdebug.c:1526
#10 0x00007f0cf828ed84 in ?? () from /usr/lib64/php/modules/suhosin.so
#11 0x00007f0d042de11c in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/debug/php-5.5.24/Zend/zend.c:1327
#12 0x00007f0d0427e4ba in php_execute_script (primary_file=0x7fffd05931d0) at /usr/src/debug/php-5.5.24/main/main.c:2525
#13 0x00007f0d043908cd in php_handler (r=0x7f0d0f759818) at /usr/src/debug/php-5.5.24/sapi/apache2handler/sapi_apache2.c:667
#14 0x00007f0d0ede5cd0 in ap_run_handler (r=0x7f0d0f759818) at /usr/src/debug/httpd-2.2.15/server/config.c:158
#15 0x00007f0d0ede958e in ap_invoke_handler (r=0x7f0d0f759818) at /usr/src/debug/httpd-2.2.15/server/config.c:376
#16 0x00007f0d0edf4c50 in ap_process_request (r=0x7f0d0f759818) at /usr/src/debug/httpd-2.2.15/modules/http/http_request.c:282
#17 0x00007f0d0edf1ac8 in ap_process_http_connection (c=0x7f0d0f746a58) at /usr/src/debug/httpd-2.2.15/modules/http/http_core.c:190
#18 0x00007f0d0eded7d8 in ap_run_process_connection (c=0x7f0d0f746a58) at /usr/src/debug/httpd-2.2.15/server/connection.c:43
#19 0x00007f0d0edf9ad7 in child_main (child_num_arg=<value optimized out>)
    at /usr/src/debug/httpd-2.2.15/server/mpm/prefork/prefork.c:667
#20 0x00007f0d0edf9dea in make_child (s=0x7f0d0f13d860, slot=0) at /usr/src/debug/httpd-2.2.15/server/mpm/prefork/prefork.c:763
#21 0x00007f0d0edfa11b in startup_children (_pconf=<value optimized out>, plog=<value optimized out>, s=<value optimized out>)
    at /usr/src/debug/httpd-2.2.15/server/mpm/prefork/prefork.c:781
#22 ap_mpm_run (_pconf=<value optimized out>, plog=<value optimized out>, s=<value optimized out>)
    at /usr/src/debug/httpd-2.2.15/server/mpm/prefork/prefork.c:1002
#23 0x00007f0d0edd19b0 in main (argc=1, argv=0x7fffd0593798) at /usr/src/debug/httpd-2.2.15/server/main.c:763


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-05-04 05:40 UTC] carolinak at prokonto dot pl
Confirm bug on PHP 5.4.40 - centos 6 x64.
 [2020-01-20 17:18 UTC] derick@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: derick
 [2020-01-20 17:18 UTC] derick@php.net
If this is Xdebug related, please file a bug report at https://bugs.xdebug.org (but only if you use a supported version of PHP and Xdebug)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 14 09:01:26 2025 UTC