ID: 35773
Updated by: [EMAIL PROTECTED]
Reported By: igmar at palsenberg dot com
-Status: Assigned
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Linux 2.6.x
PHP Version: 4CVS-2005-12-22 (CVS)
Assigned To: derick
New Comment:
.
Previous Comments:
------------------------------------------------------------------------
[2005-12-22 14:18:27] igmar at palsenberg dot com
Description:
------------
The ZE loops at certain code. I haven't found the actual code that
triggers it, but it show up frequently when using phpMyAdmin.
Configure line :
./configure' '--with-apache=/home/igmar/OWN/lamp-ssl/apache_1.3.34'
'--with-gd' '--with-zlib' '--with-kerberos' '--with-openssl'
'--enable-gd-native-ttf' '--with-freetype' '--with-freetype-dir=/usr'
'--enable-track-vars' '--with-freetype' '--with-mysql=/usr'
'--enable-sockets' '--with-config-file-path=/etc/httpsd'
'--enable-memory-limit' '--enable-sysvshm' '--enable-sysvsem'
'--with-domxml' '--with-dom' '--enable-ftp' '--with-openssl'
'--with-db4' '--with-gettext' '--with-pdflib' '--with-jpeg-dir=/usr'
'--with-tiff-dir=/usr' '--with-png-dir=/usr' '--with-ming=/usr'
'--with-xmlrpc' '--with-readline' '--enable-xslt' '--with-xslt-sablot'
'--enable-mbstring' '--with-imap' '--with-imap-ssl'
Apache is 1.3.34 + latest mod_ssl
Reproduce code:
---------------
Unknown
Actual result:
--------------
2 backtraces when the process starts looping. If there is a way that I
can find out which PHP code it is actually executing, I'll be happy to
find out.
4.3.x didn't exhibit this behaviour, I haven't tested 4.4.0.
BT #1
#0 0x080f9326 in zend_hash_find (ht=0x84e53cc, arKey=0x87904bc
"buffer",
nKeyLength=7, pData=0xbfcb22c8)
at /home/igmar/OWN/lamp-ssl/php-src/Zend/zend_hash.c:896
#1 0x080ff813 in zend_fetch_var_address (opline=0x87c7450,
Ts=0xbfcb2310,
type=0) at
/home/igmar/OWN/lamp-ssl/php-src/Zend/zend_execute.c:594
#2 0x08101c26 in execute (op_array=0x8747e2c)
at /home/igmar/OWN/lamp-ssl/php-src/Zend/zend_execute.c:1302
#3 0x08104405 in execute (op_array=0x85b935c)
at /home/igmar/OWN/lamp-ssl/php-src/Zend/zend_execute.c:2272
#4 0x080f529f in zend_execute_scripts (type=8, retval=0x0,
file_count=3)
at /home/igmar/OWN/lamp-ssl/php-src/Zend/zend.c:934
#5 0x080d370c in php_execute_script (primary_file=0xbfcbc650)
at /home/igmar/OWN/lamp-ssl/php-src/main/main.c:1753
#6 0x0810c558 in apache_php_module_main (r=0x858e454,
display_source_mode=0)
at /home/igmar/OWN/lamp-ssl/php-src/sapi/apache/sapi_apache.c:54
#7 0x080cbc80 in send_php (r=0x858e454, display_source_mode=0,
filename=0x0)
at /home/igmar/OWN/lamp-ssl/php-src/sapi/apache/mod_php4.c:627
#8 0x080cbf0e in send_parsed_php (r=0x858e454)
at /home/igmar/OWN/lamp-ssl/php-src/sapi/apache/mod_php4.c:642
#9 0x0821d7c8 in ap_invoke_handler ()
#10 0x08232e7e in process_request_internal ()
#11 0x08232edd in ap_process_request ()
#12 0x08229ceb in child_main ()#13 0x08229fd4 in make_child ()
#14 0x0822a30d in perform_idle_server_maintenance ()
#15 0x0822a91a in standalone_main ()
#16 0x0822af3d in main ()
BT #2 :
0x080f8536 in zend_hash_add_or_update (ht=0x864cb2c, arKey=0x85cee4c
"offset",
nKeyLength=7, pData=0xbfcb1314, nDataSize=4, pDest=0xbfcb1318,
flag=1)
at /home/igmar/OWN/lamp-ssl/php-src/Zend/zend_hash.h:197
197 h += (h << 5);
#0 0x080f8536 in zend_hash_add_or_update (ht=0x864cb2c,
arKey=0x85cee4c "offset", nKeyLength=7, pData=0xbfcb1314,
nDataSize=4,
pDest=0xbfcb1318, flag=1)
at /home/igmar/OWN/lamp-ssl/php-src/Zend/zend_hash.h:197
#1 0x080ff9df in zend_fetch_var_address (opline=0x87bd13c,
Ts=0xbfcb1360,
type=1) at
/home/igmar/OWN/lamp-ssl/php-src/Zend/zend_execute.c:609
#2 0x08101c5b in execute (op_array=0x8604e30)
at /home/igmar/OWN/lamp-ssl/php-src/Zend/zend_execute.c:1281
#3 0x08103f93 in execute (op_array=0x8747e2c)
at /home/igmar/OWN/lamp-ssl/php-src/Zend/zend_execute.c:1719
#4 0x08104405 in execute (op_array=0x85b935c)
at /home/igmar/OWN/lamp-ssl/php-src/Zend/zend_execute.c:2272
#5 0x080f529f in zend_execute_scripts (type=8, retval=0x0,
file_count=3)
at /home/igmar/OWN/lamp-ssl/php-src/Zend/zend.c:934
#6 0x080d370c in php_execute_script (primary_file=0xbfcbc650)
at /home/igmar/OWN/lamp-ssl/php-src/main/main.c:1753
#7 0x0810c558 in apache_php_module_main (r=0x858e454,
display_source_mode=0)
at /home/igmar/OWN/lamp-ssl/php-src/sapi/apache/sapi_apache.c:54
#8 0x080cbc80 in send_php (r=0x858e454, display_source_mode=0,
filename=0x0)
at /home/igmar/OWN/lamp-ssl/php-src/sapi/apache/mod_php4.c:627
#9 0x080cbf0e in send_parsed_php (r=0x858e454)
at /home/igmar/OWN/lamp-ssl/php-src/sapi/apache/mod_php4.c:642
#10 0x0821d7c8 in ap_invoke_handler ()
#11 0x08232e7e in process_request_internal ()
#12 0x08232edd in ap_process_request ()
#13 0x08229ceb in child_main ()
#14 0x08229fd4 in make_child ()
#15 0x0822a30d in perform_idle_server_maintenance ()
#16 0x0822a91a in standalone_main ()
#17 0x0822af3d in main ()
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35773&edit=1