apache2.2&php5.3
Евгений Селявка
evg.selyavka at gmail.com
Wed Apr 25 09:51:24 UTC 2012
Dear users!
I have installed FreeBSD 9.0-RELEASE amd64
also i install
Server version: Apache/2.2.22 (FreeBSD)
Server built: Mar 25 2012 18:06:37
and
PHP 5.3.10 with Suhosin-Patch (cli) (built: Mar 26 2012 00:37:18) (DEBUG)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
php compiled as module for apache server.
In server log i see message:
Apr 25 12:53:08 webserver kernel: pid 76154 (httpd), uid 80: exited on
signal 11 (core dumped)
Apr 25 12:56:00 webserver kernel: pid 75200 (httpd), uid 80: exited on
signal 11 (core dumped)
Apr 25 13:05:17 webserver kernel: pid 76173 (httpd), uid 80: exited on
signal 11 (core dumped)
I find core file. After analyze with gdb i see this:
#0 0x00000008099b30e4 in timelib_day_of_year (y=-99999, m=-99999,
d=-99999) at /usr/ports/lang/php5/work/php-5.3.10/ext/date/lib/dow.c:74
74 /usr/ports/lang/php5/work/php-5.3.10/ext/date/lib/dow.c: No such
file or directory.
in /usr/ports/lang/php5/work/php-5.3.10/ext/date/lib/dow.c
[New Thread 802407400 (LWP 100217/httpd)]
(gdb) bt
#0 0x00000008099b30e4 in timelib_day_of_year (y=-99999, m=-99999,
d=-99999) at /usr/ports/lang/php5/work/php-5.3.10/ext/date/lib/dow.c:74
#1 0x00000008099b345a in timelib_isoweek_from_date (y=-99999, m=-99999,
d=-99999, iw=0x7fffffffc268, iy=0x7fffffffc260) at
/usr/ports/lang/php5/work/php-5.3.10/ext/date/lib/dow.c:88
#2 0x00000008099a5590 in date_format (format=0x80f2eb828 "c",
format_len=1, t=0x80f211300, localtime=1) at
/usr/ports/lang/php5/work/php-5.3.10/ext/date/php_date.c:1049
#3 0x00000008099ac405 in zif_date_format (ht=1, return_value=0x80f2ee658,
return_value_ptr=0x0, this_ptr=0x80f37b6a0, return_value_used=1) at
/usr/ports/lang/php5/work/php-5.3.10/ext/date/php_date.c:2781
#4 0x0000000809bec17c in zend_do_fcall_common_helper_SPEC
(execute_data=0x817c070a0) at zend_vm_execute.h:320
#5 0x0000000809bed125 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0x817c070a0) at zend_vm_execute.h:425
#6 0x0000000809beb10a in execute (op_array=0x80f026ef0) at
zend_vm_execute.h:107
#7 0x0000000809b9db85 in zend_call_function (fci=0x7fffffffc790,
fci_cache=0x7fffffffc590) at
/usr/ports/lang/php5/work/php-5.3.10/Zend/zend_execute_API.c:969
#8 0x0000000809b9cc7a in call_user_function_ex
(function_table=0x80245f6f0, object_pp=0x7fffffffca90,
function_name=0x7fffffffcb00, retval_ptr_ptr=0x7fffffffcb18, param_count=0,
params=0x0,
no_separation=1, symbol_table=0x0) at
/usr/ports/lang/php5/work/php-5.3.10/Zend/zend_execute_API.c:758
#9 0x0000000809aaa387 in php_var_serialize_intern (buf=0x7fffffffd3b0,
struc=0x80f37b6a0, var_hash=0x7fffffffd360) at
/usr/ports/lang/php5/work/php-5.3.10/ext/standard/var.c:788
#10 0x0000000809aab01b in php_var_serialize_intern (buf=0x7fffffffd3b0,
struc=0x80f0453a8, var_hash=0x7fffffffd360) at
/usr/ports/lang/php5/work/php-5.3.10/ext/standard/var.c:866
#11 0x0000000809aabc88 in php_var_serialize (buf=0x7fffffffd3b0,
struc=0x80f3849b8, var_hash=0x7fffffffd360) at
/usr/ports/lang/php5/work/php-5.3.10/ext/standard/var.c:885
#12 0x000000081100f11c in ps_srlzr_encode_php () from
/usr/local/lib/php/20090626-debug/session.so
#13 0x000000081100d071 in php_session_encode () from
/usr/local/lib/php/20090626-debug/session.so
#14 0x000000081100de51 in php_session_save_current_state () from
/usr/local/lib/php/20090626-debug/session.so
#15 0x0000000811012040 in php_session_flush () from
/usr/local/lib/php/20090626-debug/session.so
#16 0x0000000811013f63 in zm_deactivate_session () from
/usr/local/lib/php/20090626-debug/session.so
#17 0x0000000809bb983b in module_registry_cleanup (module=0x80241a040) at
/usr/ports/lang/php5/work/php-5.3.10/Zend/zend_API.c:2168
#18 0x0000000809bc1f1e in zend_hash_reverse_apply (ht=0x809fcd4e0,
apply_func=0x809bb9800 <module_registry_cleanup>) at
/usr/ports/lang/php5/work/php-5.3.10/Zend/zend_hash.c:960
#19 0x0000000809baeb46 in zend_deactivate_modules () at
/usr/ports/lang/php5/work/php-5.3.10/Zend/zend.c:939
#20 0x0000000809b29f9e in php_request_shutdown (dummy=0x0) at
/usr/ports/lang/php5/work/php-5.3.10/main/main.c:1638
#21 0x0000000809cab146 in php_apache_request_dtor (r=0x8026750d8) at
/usr/ports/lang/php5/work/php-5.3.10/sapi/apache2handler/sapi_apache2.c:513
#22 0x0000000809cab928 in php_handler (r=0x8026750d8) at
/usr/ports/lang/php5/work/php-5.3.10/sapi/apache2handler/sapi_apache2.c:685
#23 0x000000000043634a in ap_run_handler (r=0x8026750d8) at config.c:157
#24 0x0000000000439582 in ap_invoke_handler (r=0x8026750d8) at config.c:376
#25 0x0000000000443b1a in ap_internal_redirect (new_uri=Variable "new_uri"
is not available.
) at http_request.c:554
#26 0x000000080970c8f0 in handler_redirect (r=0x80266d0a0) at
mod_rewrite.c:4843
#27 0x000000000043634a in ap_run_handler (r=0x80266d0a0) at config.c:157
#28 0x0000000000439582 in ap_invoke_handler (r=0x80266d0a0) at config.c:376
#29 0x0000000000443c8e in ap_process_request (r=0x80266d0a0) at
http_request.c:282
#30 0x0000000000440f78 in ap_process_http_connection (c=0x802665290) at
http_core.c:190
#31 0x000000000043d242 in ap_run_process_connection (c=0x802665290) at
connection.c:43
#32 0x0000000000448531 in child_main (child_num_arg=Variable
"child_num_arg" is not available.
) at prefork.c:667
#33 0x00000000004487d4 in make_child (s=0x80242a708, slot=7) at
prefork.c:768
#34 0x0000000000449064 in ap_mpm_run (_pconf=Variable "_pconf" is not
available.
) at prefork.c:903
#35 0x00000000004238df in main (argc=dwarf2_read_address: Corrupted DWARF
expression.
) at main.c:753
I not to understand which php module do this. Also i have some programmers
which write php script, may be they writing something wrong.
--
С уважением Селявка Евгений
More information about the freebsd-apache
mailing list