[horde] Horde/Apache instability problems

Daniel A. Ramaley daniel.ramaley at DRAKE.EDU
Fri Jun 16 07:16:12 PDT 2006


>This is definitely a bug in PHP then. Upgrade to a newer version.

Thank you for the response! I have upgraded PHP from 4.3.9 to 4.4.2 
compiled from source. Unfortunately, the problems have not gone away. 
PostgreSQL is still logging "unexpected EOF on client connection" 
several times per minute, and on occasion Apache core dumps. Examining 
the core files with gdb gives very similar messages to what is listed 
above.

Do you think i should try upgrading to PHP 5? Or is the problem 
elsewhere? The only other thing i can think to try would be to 
reinstall Apache and PHP, switching from 64-bit to 32-bit in the 
process.

For reference, the first few lines of the new gdb backtrace is pasted 
below. The text of line #0 seems to vary; before it did not.

(gdb) bt
#0  zend_hash_get_current_key_ex (ht=0x552b1af220, 
str_index=0x7fbffcf3d8, 
    str_length=0x0, num_index=0x7fbffcf3e0, duplicate=0 '\0', pos=0x0)
    at /usr/local/src/php-4.4.2/Zend/zend_hash.c:1067
#1  0x0000002a99fe803d in preg_replace_impl (ht=Variable "ht" is not 
available.)
    at /usr/local/src/php-4.4.2/ext/pcre/php_pcre.c:1163
#2  0x0000002a9a11fb1a in execute (op_array=0x552b1d2458)
    at /usr/local/src/php-4.4.2/Zend/zend_execute.c:1675
#3  0x0000002a9a11d61c in execute (op_array=0x552b0614a8)
    at /usr/local/src/php-4.4.2/Zend/zend_execute.c:1719
#4  0x0000002a9a11d61c in execute (op_array=0x552b1d6f18)
    at /usr/local/src/php-4.4.2/Zend/zend_execute.c:1719

-- 
------------------------------------------------------------------------
Dan Ramaley                            Dial Center 118, Drake University
Network Programmer/Analyst             2407 Carpenter Ave
+1 515 271-4540                        Des Moines IA 50311 USA


More information about the horde mailing list