Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2012 13:51:24 +0400
From:      =?KOI8-R?B?5dfHxc7JyiDzxczR18vB?= <evg.selyavka@gmail.com>
To:        freebsd-apache@freebsd.org
Subject:   apache2.2&php5.3
Message-ID:  <CAKPhvNZTi2rTRO9uSB6MQx%2BuddE79P-uwNWDCr_MSAsK9gJToA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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=3D-99999, m=3D-99999,
d=3D-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=3D-99999, m=3D-99999,
d=3D-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=3D-99999, m=3D-99999=
,
d=3D-99999, iw=3D0x7fffffffc268, iy=3D0x7fffffffc260) at
/usr/ports/lang/php5/work/php-5.3.10/ext/date/lib/dow.c:88
#2  0x00000008099a5590 in date_format (format=3D0x80f2eb828 "c",
format_len=3D1, t=3D0x80f211300, localtime=3D1) at
/usr/ports/lang/php5/work/php-5.3.10/ext/date/php_date.c:1049
#3  0x00000008099ac405 in zif_date_format (ht=3D1, return_value=3D0x80f2ee6=
58,
return_value_ptr=3D0x0, this_ptr=3D0x80f37b6a0, return_value_used=3D1) 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=3D0x817c070a0) at zend_vm_execute.h:320
#5  0x0000000809bed125 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=3D0x817c070a0) at zend_vm_execute.h:425
#6  0x0000000809beb10a in execute (op_array=3D0x80f026ef0) at
zend_vm_execute.h:107
#7  0x0000000809b9db85 in zend_call_function (fci=3D0x7fffffffc790,
fci_cache=3D0x7fffffffc590) 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=3D0x80245f6f0, object_pp=3D0x7fffffffca90,
function_name=3D0x7fffffffcb00, retval_ptr_ptr=3D0x7fffffffcb18, param_coun=
t=3D0,
params=3D0x0,
    no_separation=3D1, symbol_table=3D0x0) at
/usr/ports/lang/php5/work/php-5.3.10/Zend/zend_execute_API.c:758
#9  0x0000000809aaa387 in php_var_serialize_intern (buf=3D0x7fffffffd3b0,
struc=3D0x80f37b6a0, var_hash=3D0x7fffffffd360) at
/usr/ports/lang/php5/work/php-5.3.10/ext/standard/var.c:788
#10 0x0000000809aab01b in php_var_serialize_intern (buf=3D0x7fffffffd3b0,
struc=3D0x80f0453a8, var_hash=3D0x7fffffffd360) at
/usr/ports/lang/php5/work/php-5.3.10/ext/standard/var.c:866
#11 0x0000000809aabc88 in php_var_serialize (buf=3D0x7fffffffd3b0,
struc=3D0x80f3849b8, var_hash=3D0x7fffffffd360) 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=3D0x80241a040) at
/usr/ports/lang/php5/work/php-5.3.10/Zend/zend_API.c:2168
#18 0x0000000809bc1f1e in zend_hash_reverse_apply (ht=3D0x809fcd4e0,
apply_func=3D0x809bb9800 <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=3D0x0) at
/usr/ports/lang/php5/work/php-5.3.10/main/main.c:1638
#21 0x0000000809cab146 in php_apache_request_dtor (r=3D0x8026750d8) at
/usr/ports/lang/php5/work/php-5.3.10/sapi/apache2handler/sapi_apache2.c:513
#22 0x0000000809cab928 in php_handler (r=3D0x8026750d8) at
/usr/ports/lang/php5/work/php-5.3.10/sapi/apache2handler/sapi_apache2.c:685
#23 0x000000000043634a in ap_run_handler (r=3D0x8026750d8) at config.c:157
#24 0x0000000000439582 in ap_invoke_handler (r=3D0x8026750d8) at config.c:3=
76
#25 0x0000000000443b1a in ap_internal_redirect (new_uri=3DVariable "new_uri=
"
is not available.
) at http_request.c:554
#26 0x000000080970c8f0 in handler_redirect (r=3D0x80266d0a0) at
mod_rewrite.c:4843
#27 0x000000000043634a in ap_run_handler (r=3D0x80266d0a0) at config.c:157
#28 0x0000000000439582 in ap_invoke_handler (r=3D0x80266d0a0) at config.c:3=
76
#29 0x0000000000443c8e in ap_process_request (r=3D0x80266d0a0) at
http_request.c:282
#30 0x0000000000440f78 in ap_process_http_connection (c=3D0x802665290) at
http_core.c:190
#31 0x000000000043d242 in ap_run_process_connection (c=3D0x802665290) at
connection.c:43
#32 0x0000000000448531 in child_main (child_num_arg=3DVariable
"child_num_arg" is not available.
) at prefork.c:667
#33 0x00000000004487d4 in make_child (s=3D0x80242a708, slot=3D7) at
prefork.c:768
#34 0x0000000000449064 in ap_mpm_run (_pconf=3DVariable "_pconf" is not
available.
) at prefork.c:903
#35 0x00000000004238df in main (argc=3Ddwarf2_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.

--=20
=F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD =F3=C5=CC=D1=D7=CB=C1 =E5=D7=C7=C5=CE=C9=CA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKPhvNZTi2rTRO9uSB6MQx%2BuddE79P-uwNWDCr_MSAsK9gJToA>