From: jelly_bean_junky at hotmail dot com
Operating system: OpenBSD 3.6 GENERIC#59
PHP version: 5.0.3
PHP Bug Type: Apache2 related
Bug description: The php apache2handler module segfaults
Description:
------------
Error message produced:
[notice] child pid 8484 exit signal Segmentation fault (11)
I can send the core if requested.
Reproduce code:
---------------
Any sort of php code will randomly produce no page or missing parts
Expected result:
----------------
no page or missing images or links
Actual result:
--------------
(gdb) bt
#0 0x0027c220 in ?? ()
#1 0x086c2941 in zm_info_apache (zend_module=0x7972636e) at
/home/kibble/packages/php-5.0.3/sapi/apache2handler/php_functions.c:405
#2 0x0869136c in zend_hash_clean (ht=0x28603540) at
/home/kibble/packages/php-5.0.3/Zend/zend_hash.c:540
#3 0x086914c0 in zend_hash_apply_deleter (ht=0x28603540, p=0x8419abec) at
/home/kibble/packages/php-5.0.3/Zend/zend_hash.c:589
#4 0x0868a146 in zend_startup (utility_functions=0x285f81d8,
extensions=0x3c029028, start_builtin_functions=-809529992)
at /home/kibble/packages/php-5.0.3/Zend/zend.c:607
#5 0x0865305e in php_module_startup (sf=0x285f81d8,
additional_modules=0x3c061298, num_additional_modules=0) at
/home/kibble/packages/php-5.0.3/main/main.c:1428
#6 0x0865301c in php_module_startup (sf=0x285f5ee0,
additional_modules=0x0, num_additional_modules=3485437428)
at /home/kibble/packages/php-5.0.3/main/main.c:1426
#7 0x086bedf1 in php_apache_sapi_log_message (msg=0x0) at
/home/kibble/packages/php-5.0.3/sapi/apache2handler/sapi_apache2.c:257
#8 0x04b7aa20 in run_cleanups (cref=0x3c029028) at apr_pools.c:1951
#9 0x04b79de9 in apr_pool_destroy (pool=0x3c029018) at apr_pools.c:730
#10 0x04b79dce in apr_pool_destroy (pool=0x3c027018) at apr_pools.c:727
#11 0x1c038648 in destroy_and_exit_process (process=0x3c027098,
process_exit_value=0) at main.c:208
#12 0x1c03948a in main (argc=3, argv=0xcfbf8fa4) at main.c:624
(gdb) frame 1
#1 0x086c2941 in zm_info_apache (zend_module=0x7972636e) at
/home/kibble/packages/php-5.0.3/sapi/apache2handler/php_functions.c:405
405 sprintf(tmp, "Connection: %lld - Keep-Alive: %lld",
(serv->timeout / 1000000), (serv->keep_alive_timeout / 1000000));
(gdb) info locals
zend_module = (zend_module_entry *) 0x86c2928
apv = (unsigned char *) 0x72636564 <Address 0x72636564 out of bounds>
tmp1 = {c = 0x17 "�", len = 3485437024, a = 1852141679}
tmp =
"ssl_private_encrypt\000\025\000\000\000`\214��openssl_pkcs7_encrypt\000C(\022\000\000\000`\214��openssl_pkcsp��\fp��,��<(D\212��p��\fp��,ssl_T\212��1��\f���,\000��,[EMAIL
PROTECTED]<\006\000\000\000t\212�\022�\000\000\000\034��\fL��\f�\211���5\230\016\fF�\210\000l�\004��z\r\006\000\000\000�\211��\234\211��
\211��"...
n = 1600484449
max_requests = 7630969
p = 0x285c227b "ind the property %s"
serv = (server_rec *) 0x76697270
--
Edit bug report at http://bugs.php.net/?id=32146&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32146&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=32146&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=32146&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32146&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32146&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32146&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32146&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32146&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32146&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32146&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=32146&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=32146&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32146&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32146&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32146&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32146&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32146&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32146&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32146&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32146&r=mysqlcfg