php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67882 Dead lock when php_error_cb is called under specific pattern.
Submitted: 2014-08-21 17:09 UTC Modified: 2018-01-13 11:33 UTC
Votes:4
Avg. Score:4.2 ± 0.8
Reproduced:4 of 4 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: plaramee at cellfishmedia dot ca Assigned: nikic (profile)
Status: Closed Package: Streams related
PHP Version: 5.4.31 OS: CentOS 6.5
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: plaramee at cellfishmedia dot ca
New email:
PHP Version: OS:

 

 [2014-08-21 17:09 UTC] plaramee at cellfishmedia dot ca
Description:
------------
For a test script, you can create something that will use curl to fetch or update a web service. If the request takes more time than max_execution_time the socket will keep that thread open and create a dead lock.

Test script:
---------------
I don't really have a test script and cannot reproduce it easily. 

Expected result:
----------------
The socket should be closed and Apache should recycle the thread once MaxRequestPerChild is met.

Actual result:
--------------
[root@random random.com]# strace -p 22738
Process 22738 attached - interrupt to quit
futex(0x7f1b1461be80, FUTEX_WAIT_PRIVATE, 2, NULL^C <unfinished ...>
Process 22738 detached
[root@random random.com]# lsof -p 22738
COMMAND   PID   USER   FD   TYPE             DEVICE SIZE/OFF    NODE NAME
httpd   22738 apache  cwd    DIR              253,0     4096  140724 /usr/local/apache2/htdocs/random.com/wwwroot
httpd   22738 apache  rtd    DIR              253,0     4096       2 /
httpd   22738 apache  txt    REG              253,0  1910170  137737 /usr/local/apache2/bin/httpd
httpd   22738 apache  mem    REG              253,0    44656   27230 /lib64/libnss_ldap.so.2
httpd   22738 apache  DEL    REG                0,4           584573 /dev/zero
httpd   22738 apache  mem    REG              253,0  1902028  141073 /usr/lib/php/20100525/mongo.so
httpd   22738 apache  mem    REG              253,0   803223  140671 /usr/lib/php/20100525/apc.so
httpd   22738 apache  mem    REG              253,0    27424    3961 /lib64/libnss_dns-2.12.so
httpd   22738 apache  mem    REG              253,0    65928    3963 /lib64/libnss_files-2.12.so
httpd   22738 apache  mem    REG              253,0   122040    4556 /lib64/libselinux.so.1
httpd   22738 apache  mem    REG              253,0    10192    7795 /lib64/libkeyutils.so.1.3
httpd   22738 apache  mem    REG              253,0    43728    7807 /lib64/libkrb5support.so.0.1
httpd   22738 apache  mem    REG              253,0   106160    5183 /usr/lib64/libsasl2.so.2.0.23
httpd   22738 apache  mem    REG              253,0   110960    3973 /lib64/libresolv-2.12.so
httpd   22738 apache  mem    REG              253,0    60512    7750 /lib64/liblber-2.4.so.2.5.6
httpd   22738 apache  mem    REG              253,0   161664    7960 /usr/lib64/libssh2.so.1.0.1
httpd   22738 apache  mem    REG              253,0   244656    3933 /lib64/libnspr4.so
httpd   22738 apache  mem    REG              253,0    18720   18617 /lib64/libplc4.so
httpd   22738 apache  mem    REG              253,0    14560   18618 /lib64/libplds4.so
httpd   22738 apache  mem    REG              253,0   179416   18087 /usr/lib64/libnssutil3.so
httpd   22738 apache  mem    REG              253,0  1299984    7713 /usr/lib64/libnss3.so
httpd   22738 apache  mem    REG              253,0   181168    7715 /usr/lib64/libsmime3.so
httpd   22738 apache  mem    REG              253,0   254328   18630 /usr/lib64/libssl3.so
httpd   22738 apache  mem    REG              253,0    14664    4395 /lib64/libcom_err.so.2.1
httpd   22738 apache  mem    REG              253,0   174840    7803 /lib64/libk5crypto.so.3.1
httpd   22738 apache  mem    REG              253,0   941920    7805 /lib64/libkrb5.so.3.3
httpd   22738 apache  mem    REG              253,0   277704    7784 /lib64/libgssapi_krb5.so.2.2
httpd   22738 apache  mem    REG              253,0   314240    7752 /lib64/libldap-2.4.so.2.5.6
httpd   22738 apache  mem    REG              253,0   206672    5215 /lib64/libidn.so.11.6.1
httpd   22738 apache  mem    REG              253,0   135896    4265 /lib64/libtinfo.so.5.7
httpd   22738 apache  mem    REG              253,0   642600   48001 /usr/lib64/libfreetype.so.6.3.22
httpd   22738 apache  mem    REG              253,0  1950976    7873 /usr/lib64/libcrypto.so.1.0.1e
httpd   22738 apache  mem    REG              253,0   441112    7876 /usr/lib64/libssl.so.1.0.1e
httpd   22738 apache  mem    REG              253,0  1381472    5427 /usr/lib64/libxml2.so.2.7.6
httpd   22738 apache  mem    REG              253,0   113432    3957 /lib64/libnsl-2.12.so
httpd   22738 apache  mem    REG              253,0   596264    3955 /lib64/libm-2.12.so
httpd   22738 apache  mem    REG              253,0   343088    7854 /usr/lib64/libcurl.so.4.1.1
httpd   22738 apache  mem    REG              253,0   262896   45220 /usr/lib64/libjpeg.so.62.0.0
httpd   22738 apache  mem    REG              253,0   155456   45235 /usr/lib64/libpng12.so.0.49.0
httpd   22738 apache  mem    REG              253,0   185616   24285 /usr/lib64/libmcrypt.so.4.4.8
httpd   22738 apache  mem    REG              253,0  1584680    8254 /usr/lib64/mysql/libmysqlclient.so.16.0.0
httpd   22738 apache  mem    REG              253,0   140096    4261 /lib64/libncurses.so.5.7
httpd   22738 apache  mem    REG              253,0   269592    4557 /lib64/libreadline.so.6.0
httpd   22738 apache  mem    REG              253,0    88600    4390 /lib64/libz.so.1.2.3
httpd   22738 apache  mem    REG              253,0 33811638  124930 /usr/local/apache2/modules/libphp5.so
httpd   22738 apache  mem    REG              253,0   172899  137719 /usr/local/apache2/modules/mod_rewrite.so
httpd   22738 apache  mem    REG              253,0    43849  137718 /usr/local/apache2/modules/mod_alias.so
httpd   22738 apache  mem    REG              253,0    35942  137714 /usr/local/apache2/modules/mod_dir.so
httpd   22738 apache  mem    REG              253,0   102763  137705 /usr/local/apache2/modules/mod_autoindex.so
httpd   22738 apache  mem    REG              253,0    61738  137704 /usr/local/apache2/modules/mod_status.so
httpd   22738 apache  mem    REG              253,0    31372  137700 /usr/local/apache2/modules/mod_unixd.so
httpd   22738 apache  mem    REG              253,0    47738  137699 /usr/local/apache2/modules/mod_lbmethod_heartbeat.so
httpd   22738 apache  mem    REG              253,0    33094  137698 /usr/local/apache2/modules/mod_lbmethod_bybusyness.so
httpd   22738 apache  mem    REG              253,0    32490  137697 /usr/local/apache2/modules/mod_lbmethod_bytraffic.so
httpd   22738 apache  mem    REG              253,0    32350  137696 /usr/local/apache2/modules/mod_lbmethod_byrequests.so
httpd   22738 apache  mem    REG              253,0  2204311   25503 /usr/local/lib64/libcrypto.so.1.0.0
httpd   22738 apache  mem    REG              253,0   479556   25506 /usr/local/lib64/libssl.so.1.0.0
httpd   22738 apache  mem    REG              253,0   828774  137694 /usr/local/apache2/modules/mod_ssl.so
httpd   22738 apache  mem    REG              253,0    48100  137692 /usr/local/apache2/modules/mod_slotmem_shm.so
httpd   22738 apache  mem    REG              253,0    38590  137687 /usr/local/apache2/modules/mod_proxy_express.so
httpd   22738 apache  mem    REG              253,0   109378  137686 /usr/local/apache2/modules/mod_proxy_balancer.so
httpd   22738 apache  mem    REG              253,0   186949  137685 /usr/local/apache2/modules/mod_proxy_ajp.so
httpd   22738 apache  mem    REG              253,0    54788  137684 /usr/local/apache2/modules/mod_proxy_wstunnel.so
httpd   22738 apache  mem    REG              253,0    56050  137682 /usr/local/apache2/modules/mod_proxy_scgi.so
httpd   22738 apache  mem    REG              253,0    63318  137681 /usr/local/apache2/modules/mod_proxy_fcgi.so
httpd   22738 apache  mem    REG              253,0   111630  137680 /usr/local/apache2/modules/mod_proxy_http.so
httpd   22738 apache  mem    REG              253,0   108796  137679 /usr/local/apache2/modules/mod_proxy_ftp.so
httpd   22738 apache  mem    REG              253,0    53315  137678 /usr/local/apache2/modules/mod_proxy_connect.so
httpd   22738 apache  mem    REG              253,0   294177  137677 /usr/local/apache2/modules/mod_proxy.so
httpd   22738 apache  mem    REG              253,0    23371  137675 /usr/local/apache2/modules/mod_version.so
httpd   22738 apache  mem    REG              253,0    42167  137674 /usr/local/apache2/modules/mod_setenvif.so
httpd   22738 apache  mem    REG              253,0    62331  137671 /usr/local/apache2/modules/mod_headers.so
httpd   22738 apache  mem    REG              253,0    28946  137668 /usr/local/apache2/modules/mod_env.so
httpd   22738 apache  mem    REG              253,0    85723  137664 /usr/local/apache2/modules/mod_log_config.so
httpd   22738 apache  mem    REG              253,0    54301  137662 /usr/local/apache2/modules/mod_mime.so
httpd   22738 apache  mem    REG              253,0    54997  137654 /usr/local/apache2/modules/mod_filter.so
httpd   22738 apache  mem    REG              253,0    43469  137650 /usr/local/apache2/modules/mod_reqtimeout.so
httpd   22738 apache  mem    REG              253,0    41287  137631 /usr/local/apache2/modules/mod_auth_basic.so
httpd   22738 apache  mem    REG              253,0    34158  137630 /usr/local/apache2/modules/mod_access_compat.so
httpd   22738 apache  mem    REG              253,0    58623  137628 /usr/local/apache2/modules/mod_authz_core.so
httpd   22738 apache  mem    REG              253,0    27796  137624 /usr/local/apache2/modules/mod_authz_user.so
httpd   22738 apache  mem    REG              253,0    35938  137623 /usr/local/apache2/modules/mod_authz_groupfile.so
httpd   22738 apache  mem    REG              253,0    33362  137622 /usr/local/apache2/modules/mod_authz_host.so
httpd   22738 apache  mem    REG              253,0    36689  137621 /usr/local/apache2/modules/mod_authn_core.so
httpd   22738 apache  mem    REG              253,0    29401  137616 /usr/local/apache2/modules/mod_authn_file.so
httpd   22738 apache  mem    REG              253,0    19536    3953 /lib64/libdl-2.12.so
httpd   22738 apache  mem    REG              253,0   469528    3355 /lib64/libfreebl3.so
httpd   22738 apache  mem    REG              253,0  1921216    3947 /lib64/libc-2.12.so
httpd   22738 apache  mem    REG              253,0   142640    3971 /lib64/libpthread-2.12.so
httpd   22738 apache  mem    REG              253,0    40400    3951 /lib64/libcrypt-2.12.so
httpd   22738 apache  mem    REG              253,0    43832    3975 /lib64/librt-2.12.so
httpd   22738 apache  mem    REG              253,0   793482  134181 /usr/local/apr/lib/libapr-1.so.0.5.1
httpd   22738 apache  mem    REG              253,0   165264    5247 /lib64/libexpat.so.1.5.2
httpd   22738 apache  mem    REG              253,0   557162  134720 /usr/local/apr/lib/libaprutil-1.so.0.5.3
httpd   22738 apache  mem    REG              253,0   181432    5077 /lib64/libpcre.so.0.0.1
httpd   22738 apache  mem    REG              253,0   154520    3940 /lib64/ld-2.12.so
httpd   22738 apache  DEL    REG                0,4             9208 /dev/zero
httpd   22738 apache    0r   CHR                1,3      0t0    3800 /dev/null
httpd   22738 apache    1w   CHR                1,3      0t0    3800 /dev/null
httpd   22738 apache    2w   REG              253,0      624  230109 /usr/local/apache2/logs/error_log-20140821 (deleted)
httpd   22738 apache    3u  sock                0,6      0t0    9133 can't identify protocol
httpd   22738 apache    5r  FIFO                0,8      0t0  584572 pipe
httpd   22738 apache    6w  FIFO                0,8      0t0  584572 pipe
httpd   22738 apache    7w   REG              253,0        0  223111 /usr/local/apache2/logs/random.com.error.log
httpd   22738 apache    8w   REG              253,0      714  223144 /usr/local/apache2/logs/random.com.error.log-20140821 (deleted)
httpd   22738 apache    9w   REG              253,0        0  222851 /usr/local/apache2/logs/access_log
httpd   22738 apache   10w   REG              253,0 79094912  230110 /usr/local/apache2/logs/random.com.access.log-20140821 (deleted)
httpd   22738 apache   11w   REG              253,0 20256419  223145 /usr/local/apache2/logs/random.com.access.log-20140821 (deleted)
httpd   22738 apache   12u   REG                0,9        0    3798 [eventpoll]
httpd   22738 apache   13u  sock                0,6      0t0 1623754 can't identify protocol
httpd   22738 apache   14u  unix 0xffff8801d7def3c0      0t0 1623622 socket
[root@random random.com]# gdb
gdb            gdb-add-index  gdbtui         gdbus          
[root@random random.com]# gdb
gdb            gdb-add-index  gdbtui         gdbus          
[root@random random.com]# gdb -p 22738
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-64.el6_5.2)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Attaching to process 22738
Reading symbols from /usr/local/apache2/bin/httpd...done.
Reading symbols from /lib64/libpcre.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libpcre.so.0
Reading symbols from /usr/local/apr/lib/libaprutil-1.so.0...done.
Loaded symbols for /usr/local/apr/lib/libaprutil-1.so.0
Reading symbols from /lib64/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libexpat.so.1
Reading symbols from /usr/local/apr/lib/libapr-1.so.0...done.
Loaded symbols for /usr/local/apr/lib/libapr-1.so.0
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib64/libfreebl3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libfreebl3.so
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /lib64/libnss_dns.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_dns.so.2
Reading symbols from /usr/local/apache2/modules/mod_authn_file.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_authn_file.so
Reading symbols from /usr/local/apache2/modules/mod_authn_core.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_authn_core.so
Reading symbols from /usr/local/apache2/modules/mod_authz_host.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_authz_host.so
Reading symbols from /usr/local/apache2/modules/mod_authz_groupfile.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_authz_groupfile.so
Reading symbols from /usr/local/apache2/modules/mod_authz_user.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_authz_user.so
Reading symbols from /usr/local/apache2/modules/mod_authz_core.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_authz_core.so
Reading symbols from /usr/local/apache2/modules/mod_access_compat.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_access_compat.so
Reading symbols from /usr/local/apache2/modules/mod_auth_basic.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_auth_basic.so
Reading symbols from /usr/local/apache2/modules/mod_reqtimeout.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_reqtimeout.so
Reading symbols from /usr/local/apache2/modules/mod_filter.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_filter.so
Reading symbols from /usr/local/apache2/modules/mod_mime.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_mime.so
Reading symbols from /usr/local/apache2/modules/mod_log_config.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_log_config.so
Reading symbols from /usr/local/apache2/modules/mod_env.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_env.so
Reading symbols from /usr/local/apache2/modules/mod_headers.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_headers.so
Reading symbols from /usr/local/apache2/modules/mod_setenvif.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_setenvif.so
Reading symbols from /usr/local/apache2/modules/mod_version.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_version.so
Reading symbols from /usr/local/apache2/modules/mod_proxy.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_proxy.so
Reading symbols from /usr/local/apache2/modules/mod_proxy_connect.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_proxy_connect.so
Reading symbols from /usr/local/apache2/modules/mod_proxy_ftp.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_proxy_ftp.so
Reading symbols from /usr/local/apache2/modules/mod_proxy_http.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_proxy_http.so
Reading symbols from /usr/local/apache2/modules/mod_proxy_fcgi.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_proxy_fcgi.so
Reading symbols from /usr/local/apache2/modules/mod_proxy_scgi.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_proxy_scgi.so
Reading symbols from /usr/local/apache2/modules/mod_proxy_wstunnel.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_proxy_wstunnel.so
Reading symbols from /usr/local/apache2/modules/mod_proxy_ajp.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_proxy_ajp.so
Reading symbols from /usr/local/apache2/modules/mod_proxy_balancer.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_proxy_balancer.so
Reading symbols from /usr/local/apache2/modules/mod_proxy_express.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_proxy_express.so
Reading symbols from /usr/local/apache2/modules/mod_slotmem_shm.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_slotmem_shm.so
Reading symbols from /usr/local/apache2/modules/mod_ssl.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_ssl.so
Reading symbols from /usr/local/lib64/libssl.so.1.0.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib64/libssl.so.1.0.0
Reading symbols from /usr/local/lib64/libcrypto.so.1.0.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib64/libcrypto.so.1.0.0
Reading symbols from /usr/local/apache2/modules/mod_lbmethod_byrequests.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_lbmethod_byrequests.so
Reading symbols from /usr/local/apache2/modules/mod_lbmethod_bytraffic.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_lbmethod_bytraffic.so
Reading symbols from /usr/local/apache2/modules/mod_lbmethod_bybusyness.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_lbmethod_bybusyness.so
Reading symbols from /usr/local/apache2/modules/mod_lbmethod_heartbeat.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_lbmethod_heartbeat.so
Reading symbols from /usr/local/apache2/modules/mod_unixd.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_unixd.so
Reading symbols from /usr/local/apache2/modules/mod_status.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_status.so
Reading symbols from /usr/local/apache2/modules/mod_autoindex.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_autoindex.so
Reading symbols from /usr/local/apache2/modules/mod_dir.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_dir.so
Reading symbols from /usr/local/apache2/modules/mod_alias.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_alias.so
Reading symbols from /usr/local/apache2/modules/mod_rewrite.so...done.
Loaded symbols for /usr/local/apache2/modules/mod_rewrite.so
Reading symbols from /usr/local/apache2/modules/libphp5.so...done.
Loaded symbols for /usr/local/apache2/modules/libphp5.so
Reading symbols from /lib64/libreadline.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libreadline.so.6
Reading symbols from /lib64/libncurses.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib64/libncurses.so.5
Reading symbols from /usr/lib64/mysql/libmysqlclient.so.16...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/mysql/libmysqlclient.so.16
Reading symbols from /usr/lib64/libmcrypt.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libmcrypt.so.4
Reading symbols from /usr/lib64/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libpng12.so.0
Reading symbols from /usr/lib64/libjpeg.so.62...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libjpeg.so.62
Reading symbols from /usr/lib64/libcurl.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libcurl.so.4
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /usr/lib64/libxml2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libxml2.so.2
Reading symbols from /usr/lib64/libssl.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssl.so.10
Reading symbols from /usr/lib64/libcrypto.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libcrypto.so.10
Reading symbols from /usr/lib64/libfreetype.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libfreetype.so.6
Reading symbols from /lib64/libtinfo.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib64/libtinfo.so.5
Reading symbols from /lib64/libidn.so.11...(no debugging symbols found)...done.
Loaded symbols for /lib64/libidn.so.11
Reading symbols from /usr/lib64/libldap-2.4.so.2...Missing separate debuginfo for /usr/lib64/libldap-2.4.so.2
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/63/ad9b87efd8d1f1af565e4467ebbe80dacc5168.debug
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libldap-2.4.so.2
Reading symbols from /lib64/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libgssapi_krb5.so.2
Reading symbols from /lib64/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5.so.3
Reading symbols from /lib64/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libk5crypto.so.3
Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /usr/lib64/libssl3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssl3.so
Reading symbols from /usr/lib64/libsmime3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libsmime3.so
Reading symbols from /usr/lib64/libnss3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libnss3.so
Reading symbols from /usr/lib64/libnssutil3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libnssutil3.so
Reading symbols from /usr/lib64/libplds4.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libplds4.so
Reading symbols from /usr/lib64/libplc4.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libplc4.so
Reading symbols from /usr/lib64/libnspr4.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libnspr4.so
Reading symbols from /usr/lib64/libssh2.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssh2.so.1
Reading symbols from /usr/lib64/liblber-2.4.so.2...Missing separate debuginfo for /usr/lib64/liblber-2.4.so.2
Try: yum --disablerepo='*' --enablerepo='*-debug*' install /usr/lib/debug/.build-id/36/4f5fd7aa59ed2af32e0dfc95c4a029b72e4906.debug
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/liblber-2.4.so.2
Reading symbols from /usr/lib64/libsasl2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libsasl2.so.2
Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /usr/lib/php/20100525/apc.so...done.
Loaded symbols for /usr/lib/php/20100525/apc.so
Reading symbols from /usr/lib/php/20100525/mongo.so...done.
Loaded symbols for /usr/lib/php/20100525/mongo.so
Reading symbols from /lib64/libnss_ldap.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_ldap.so.2
0x00007f1b143842be in __lll_lock_wait_private () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64 expat-2.0.1-11.el6_2.x86_64 freetype-2.3.11-14.el6_3.1.x86_64 glibc-2.12-1.132.el6_5.2.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-15.el6_5.1.x86_64 libcom_err-1.41.12-18.el6_5.1.x86_64 libcurl-7.19.7-37.el6_5.3.x86_64 libidn-1.18-2.el6.x86_64 libjpeg-turbo-1.2.1-3.el6_5.x86_64 libmcrypt-2.5.8-9.el6.x86_64 libpng-1.2.49-1.el6_2.x86_64 libselinux-2.0.94-5.3.el6_4.1.x86_64 libssh2-1.4.2-1.el6.x86_64 libxml2-2.7.6-14.el6_5.2.x86_64 mysql-libs-5.1.73-3.el6_5.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64 nspr-devel-4.10.6-1.el6_5.x86_64 nss-3.16.1-4.el6_5.x86_64 nss-pam-ldapd-0.7.5-18.2.el6_4.x86_64 nss-softokn-freebl-3.14.3-10.el6_5.x86_64 nss-util-3.16.1-1.el6_5.x86_64 openssl-1.0.1e-16.el6_5.14.x86_64 pcre-7.8-6.el6.x86_64 readline-6.0-4.el6.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt
#0  0x00007f1b143842be in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f1b143090b0 in _L_lock_5195 () from /lib64/libc.so.6
#2  0x00007f1b14304a0b in _int_free () from /lib64/libc.so.6
#3  0x00007f1b0e23db50 in php_error_cb (type=1, error_filename=0x7f1b06ba27c8 "/usr/local/apache2/htdocs/random.com/wwwroot/includes/functions/base.inc.php", error_lineno=17, format=<value optimized out>, args=<value optimized out>)
    at /usr/local/src/php-5.4.31/main/main.c:976
#4  0x00007f1b0e1410c8 in soap_error_handler (error_num=1, error_filename=0x7f1b06ba27c8 "/usr/local/apache2/htdocs/random.com/wwwroot/includes/functions/base.inc.php", error_lineno=17, 
    format=0x7f1b0e775980 "Maximum execution time of %d second%s exceeded", args=0x7fff67e1af00) at /usr/local/src/php-5.4.31/ext/soap/soap.c:2206
#5  0x00007f1b0e297a2c in zend_error (type=1, format=0x7f1b0e775980 "Maximum execution time of %d second%s exceeded") at /usr/local/src/php-5.4.31/Zend/zend.c:1116
#6  <signal handler called>
#7  0x00007f1b1430222e in malloc_consolidate () from /lib64/libc.so.6
#8  0x00007f1b14305415 in _int_malloc () from /lib64/libc.so.6
#9  0x00007f1b143069a1 in malloc () from /lib64/libc.so.6
#10 0x00007f1b0c42096c in xmlDictCreate () from /usr/lib64/libxml2.so.2
#11 0x00007f1b0c3601a1 in xmlInitParserCtxt () from /usr/lib64/libxml2.so.2
#12 0x00007f1b0c36040c in xmlNewParserCtxt () from /usr/lib64/libxml2.so.2
#13 0x00007f1b0c363aee in xmlCreateURLParserCtxt () from /usr/lib64/libxml2.so.2
#14 0x00007f1b0c37a81a in xmlReadFile () from /usr/lib64/libxml2.so.2
#15 0x00007f1b0e12c1da in zif_simplexml_load_file (ht=<value optimized out>, return_value=0x29ec5e8, return_value_ptr=<value optimized out>, this_ptr=<value optimized out>, return_value_used=<value optimized out>)
    at /usr/local/src/php-5.4.31/ext/simplexml/simplexml.c:2177
#16 0x00007f1b0e30c44c in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/local/src/php-5.4.31/Zend/zend_vm_execute.h:643
#17 0x00007f1b0e300590 in execute (op_array=0x29e8a58) at /usr/local/src/php-5.4.31/Zend/zend_vm_execute.h:410
#18 0x00007f1b0e296e9d in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/local/src/php-5.4.31/Zend/zend.c:1315
#19 0x00007f1b0e23aaf7 in php_execute_script (primary_file=0x7fff67e1dc20) at /usr/local/src/php-5.4.31/main/main.c:2502
#20 0x00007f1b0e341f5d in php_handler (r=0x29d6b60) at /usr/local/src/php-5.4.31/sapi/apache2handler/sapi_apache2.c:667
#21 0x000000000044b8b0 in ap_run_handler (r=0x29d6b60) at config.c:170
#22 0x000000000044fa3e in ap_invoke_handler (r=0x29d6b60) at config.c:433
#23 0x0000000000461c6c in ap_internal_redirect (new_uri=<value optimized out>, r=<value optimized out>) at http_request.c:644
#24 0x00007f1b0eae4fd5 in handler_redirect (r=0x29cffc0) at mod_rewrite.c:5106
#25 0x000000000044b8b0 in ap_run_handler (r=0x29cffc0) at config.c:170
#26 0x000000000044fa3e in ap_invoke_handler (r=0x29cffc0) at config.c:433
#27 0x000000000046207a in ap_process_async_request (r=0x29cffc0) at http_request.c:317
#28 0x00000000004621df in ap_process_request (r=0x29cffc0) at http_request.c:363
#29 0x000000000045e6a2 in ap_process_http_sync_connection (c=0x29c59c0) at http_core.c:190
#30 ap_process_http_connection (c=0x29c59c0) at http_core.c:231
#31 0x0000000000456260 in ap_run_process_connection (c=0x29c59c0) at connection.c:41
#32 0x00000000004689fe in child_main (child_num_arg=<value optimized out>) at prefork.c:704
#33 0x0000000000468c54 in make_child (s=0x25525d8, slot=9) at prefork.c:800
#34 0x0000000000469777 in perform_idle_server_maintenance (_pconf=<value optimized out>, plog=<value optimized out>, s=<value optimized out>) at prefork.c:902
#35 prefork_run (_pconf=<value optimized out>, plog=<value optimized out>, s=<value optimized out>) at prefork.c:1090
#36 0x0000000000431cbe in ap_run_mpm (pconf=0x2521138, plog=0x254e378, s=0x25525d8) at mpm_common.c:96
#37 0x000000000042bfa4 in main (argc=1, argv=0x7fff67e1e3b8) at main.c:777
(gdb) quit
A debugging session is active.

	Inferior 1 [process 22738] will be detached.

Quit anyway? (y or n) y
Detaching from program: /usr/local/apache2/bin/httpd, process 22738
[root@random random.com]# php -v
PHP 5.4.31 (cli) (built: Jul 31 2014 17:47:53) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
[root@random random.com]# grep max_ex /etc/php.ini 
max_execution_time = 5
[root@random random.com]# apachectl -version
Server version: Apache/2.4.10 (Unix)
Server built:   Jul 31 2014 16:27:09


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-10-02 18:00 UTC] arekm at maven dot pl
Related to bug #65674 ?
 [2018-01-13 11:33 UTC] nikic@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: nikic
 [2018-01-13 11:33 UTC] nikic@php.net
This has been fixed in PHP 7.1. PHP will no longer interrupt internal function calls on timeout.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 20:01:29 2024 UTC