php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32146 The php apache2handler module segfaults
Submitted: 2005-03-01 10:57 UTC Modified: 2005-03-20 18:10 UTC
From: jelly_bean_junky at hotmail dot com Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 5.0.3 OS: OpenBSD 3.6 GENERIC#59
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-03-01 10:57 UTC] jelly_bean_junky at hotmail dot com
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??,T\212??u??\f\fF?\210??z\r\017\000\000\000@\211??\000?\001<\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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-04 16:42 UTC] sniper@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



 [2005-03-20 18:10 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 06:01:33 2024 UTC