php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39730 Abrupt and unrepeatable Segmentation fault (11)
Submitted: 2006-12-04 15:14 UTC Modified: 2008-11-27 02:09 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: schroeter dot jan at web dot de Assigned:
Status: Wont fix Package: Unknown/Other Function
PHP Version: 4.4.4 OS: Linux
Private report: No CVE-ID: None
 [2006-12-04 15:14 UTC] schroeter dot jan at web dot de
Description:
------------
I'm having trouble with my server(s) for some weeks now and did not find any solution for now. My System is Opensuse 10.1 (32 bit) with Apache 2.2.3 and PHP 4.4.4 as apache module (also tried latest stable CVS, but wasn't the solution).


Im having abrupt segmentation faults in my Apache errorlog. Most frequently the problem seems to appear while accessing the start page of an actual Joomla installation, but i've had the error with an Worpress too. So it cannot be isolated to some php Scripts. Sadly i am not able to reproduce this error - when it appears it will not go until an apache restart, but then everything works fine for some time (maybe hours or even days).

Reproduce code:
---------------
Sorry, for now i dont know how to reproduce this error.

Expected result:
----------------
No segfault

Actual result:
--------------
Here is a gdb backtrace of the request which died with a segmentation fault. If you need any further details, tell me, and please also tell me how to obtain this information ;-) .

#0  0xb7fa91a4 in do_lookup_x () from /lib/ld-linux.so.2
#1  0xb7fa9587 in _dl_lookup_symbol_x () from /lib/ld-linux.so.2
#2  0xb7fad24d in _dl_fixup () from /lib/ld-linux.so.2
#3  0xb7fb2630 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#4  0xb70f6029 in internal_getent () from /lib/libnss_files.so.2
#5  0xb70f6332 in _nss_files_gethostbyaddr_r () from /lib/libnss_files.so.2
#6  0xb7ddec22 in gethostbyaddr_r@@GLIBC_2.1.2 () from /lib/libc.so.6
#7  0xb7ddea32 in gethostbyaddr () from /lib/libc.so.6
#8  0xb79157fe in zif_gethostbyaddr (ht=1, return_value=0x8741224, this_ptr=0x0,
return_value_used=1)
    at /usr/src/packages/BUILD/php4-4.4.4/ext/standard/dns.c:125
#9  0xb79b86ab in execute (op_array=0x856ff84) at
/usr/src/packages/BUILD/php4-4.4.4/Zend/zend_execute.c:1675
#10 0xb79b42c7 in execute (op_array=0x856b3cc) at
/usr/src/packages/BUILD/php4-4.4.4/Zend/zend_execute.c:1719
#11 0xb79a221e in zend_execute_scripts (type=8, retval=0x0, file_count=3) at
/usr/src/packages/BUILD/php4-4.4.4/Zend/zend.
#12 0xb7975215 in php_execute_script (primary_file=0xbfaee9d4) at
/usr/src/packages/BUILD/php4-4.4.4/main/main.c:1752
#13 0xb79bc600 in php_handler (r=0x8596e68) at
/usr/src/packages/BUILD/php4-4.4.4/sapi/apache2handler/sapi_apache2.c:581
#14 0x080796f9 in ap_run_handler ()
#15 0x08079e43 in ap_invoke_handler ()
#16 0x0809c1e0 in ap_process_request ()
#17 0x08098d62 in ap_process_http_connection ()
#18 0x08081b2b in ap_run_process_connection ()
#19 0x08081f38 in ap_process_connection ()
#20 0x080be32f in child_main ()
#21 0x080be511 in make_child ()
#22 0x080be762 in perform_idle_server_maintenance ()
#23 0x080bec8c in ap_mpm_run ()
#24 0x08062f06 in main () 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-04 15:27 UTC] tony2001@php.net
In order to investigate this problem we need to know how to reproduce it.
Marking as "suspended".
 [2008-11-27 02:09 UTC] jani@php.net
We are sorry, but we can not support PHP 4 related problems anymore.
Momentum is gathering for PHP 6, and we think supporting PHP 4 will
lead to a waste of resources which we want to put into getting PHP 6
ready.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 10 11:01:27 2024 UTC