Hi there,
I have some weird problem with some httpd child processes staying after
httpd stop.
Backtrace shows that it's some kind of a dead lock - last frame
__lll_lock_wait_private ()
and few frames back I see zend_hash_destroy () - any known problems or
suggestions
how to investigate further (bt:
http://pastie.org/private/81b6adlo07xjujlxeqameq ) ?
httpd-2.2.15-5 64bit
0x00002b50f2433e6e in __lll_lock_wait_private () from /lib64/libc.so.6
(gdb) bt
#0 0x00002b50f2433e6e in __lll_lock_wait_private () from /lib64/libc.so.6
#1 0x00002b50f23cb944 in _L_lock_15349 () from /lib64/libc.so.6
#2 0x00002b50f23ca901 in free () from /lib64/libc.so.6
#3 0x00002b50f8ae17e0 in zend_hash_destroy (ht=0x2b50f07d9030) at
/usr/src/debug/php-5.2.11/Zend/zend_hash.c:529
#4 0x00002b50f8b5b939 in destroy_php_config (data=0x2b50f26a69c0) at
/usr/src/debug/php-5.2.11/sapi/apache2handler/apache_config.c:216
#5 0x00002b50f16da81d in ?? () from /usr/lib64/libapr-1.so.0
#6 0x00002b50f16db29b in apr_pool_destroy () from /usr/lib64/libapr-1.so.0
#7 0x00002b50f16db287 in apr_pool_destroy () from /usr/lib64/libapr-1.so.0
#8 0x00002b50f16db287 in apr_pool_destroy () from /usr/lib64/libapr-1.so.0
#9 0x00002b50f16db287 in apr_pool_destroy () from /usr/lib64/libapr-1.so.0
#10 0x00002b50f06b2f15 in clean_child_exit () from /usr/sbin/httpd
#11 0x00002b50f06b321d in just_die () from /usr/sbin/httpd
#12 <signal handler called>
#13 0x00002b50f2433e6e in __lll_lock_wait_private () from /lib64/libc.so.6
#14 0x00002b50f23cb944 in _L_lock_15349 () from /lib64/libc.so.6
#15 0x00002b50f23ca901 in free () from /lib64/libc.so.6
#16 0x00002b50f8ae263e in zend_hash_del_key_or_index (ht=0x2b512c92fbd0,
arKey=0x202 <Address 0x202 out of bounds>, nKeyLength=124,
h=4784513338241600971,
flag=<value optimized out>) at
/usr/src/debug/php-5.2.11/Zend/zend_hash.c:502
#17 0x00002b50fab0b837 in apc_request_shutdown () at
/home/builder/rpm/BUILD/APC-3.1.3p1/apc_main.c:886
#18 0x00002b50fab02c55 in zm_deactivate_apc (type=-227907136,
module_number=128) at /home/builder/rpm/BUILD/APC-3.1.3p1/php_apc.c:320
#19 0x00002b50f8ad85dc in module_registry_cleanup (module=<value optimized
out>) at /usr/src/debug/php-5.2.11/Zend/zend_API.c:1976
#20 0x00002b50f8ae15a4 in zend_hash_reverse_apply (ht=0x2b50f8e81840,
apply_func=0x2b50f8ad85c0 <module_registry_cleanup>)
at /usr/src/debug/php-5.2.11/Zend/zend_hash.c:755
#21 0x00002b50f8ad6bfd in zend_deactivate_modules () at
/usr/src/debug/php-5.2.11/Zend/zend.c:838
#22 0x00002b50f8a9426a in php_request_shutdown (dummy=<value optimized out>)
at /usr/src/debug/php-5.2.11/main/main.c:1463
#23 0x00002b50f8b5b3be in php_handler (r=0x2b50f078d858) at
/usr/src/debug/php-5.2.11/sapi/apache2handler/sapi_apache2.c:472
#24 0x00002b50f069a771 in ap_run_handler () from /usr/sbin/httpd
#25 0x00002b50f069b034 in ap_invoke_handler () from /usr/sbin/httpd
#26 0x00002b50f06accba in ap_process_request () from /usr/sbin/httpd
#27 0x00002b50f06a9571 in ap_process_http_connection () from /usr/sbin/httpd
#28 0x00002b50f06a436c in ap_run_process_connection () from /usr/sbin/httpd
#29 0x00002b50f06a47b9 in ap_process_connection () from /usr/sbin/httpd
#30 0x00002b50f06b3abf in child_main () from /usr/sbin/httpd
#31 0x00002b50f06b3c77 in make_child () from /usr/sbin/httpd
#32 0x00002b50f06b43b5 in ap_mpm_run () from /usr/sbin/httpd
#33 0x00002b50f068079f in main () from /usr/sbin/httpd
I would appreciate pointing me into the right direction :-)
Best regards,
Marek
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/lll-lock-wait-private-zend-hash-destroy-deadlock-tp2241826p2241826.html
Sent from the Zend Framework mailing list archive at Nabble.com.