ports/76328: apache2 will fail to graceful restart when php4's module recode is loaded
dhchen
dhchen at dhchen.com
Mon Jan 17 02:50:18 UTC 2005
>Number: 76328
>Category: ports
>Synopsis: apache2 will fail to graceful restart when php4's module recode is loaded
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 17 02:50:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: dhchen
>Release: FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD equinox.dhchen.com 6.0-CURRENT FreeBSD 6.0-CURRENT #2: Mon Jan 3 00:38:24 CST 2005 root at equinox.dhchen.com:/usr/obj/usr/src/sys/EQUINOX i386
>Description:
If mod_php4 loads recode.so(GNU recode library) as its extension, apache2 cannot graceful restart, neither using apachectl
or kill -HUP. If this extension is removed, things go perfectly.
Below is the backtrace: (I dont know why recode.so will try to access mysql library, maybe that's the problem)
(gdb) where
#0 0x283e019f in kill () from /lib/libc.so.6
#1 0x283d3ca6 in raise () from /lib/libc.so.6
#2 0x284540d2 in abort () from /lib/libc.so.6
#3 0x283ef55c in _UTF8_wcsnrtombs () from /lib/libc.so.6
#4 0x283ef5a8 in _UTF8_wcsnrtombs () from /lib/libc.so.6
#5 0x283f026b in _UTF8_wcsnrtombs () from /lib/libc.so.6
#6 0x283f0842 in _UTF8_wcsnrtombs () from /lib/libc.so.6
#7 0x283f09bf in free () from /lib/libc.so.6
#8 0x288bc851 in my_no_flags_free () from /usr/local/lib/mysql/libmysqlclient.so.14
#9 0x288c27a9 in delete_dynamic () from /usr/local/lib/mysql/libmysqlclient.so.14
#10 0x288c40cc in hash_free () from /usr/local/lib/mysql/libmysqlclient.so.14
#11 0x28b55711 in recode_delete_outer () from /usr/local/lib/librecode.so.3
#12 0x28a26ed7 in zm_shutdown_recode (type=1, module_number=14)
at /usr/ports/converters/php4-recode/work/php-4.3.10/ext/recode/recode.c:113
#13 0x285b01bd in ?? () from /usr/local/libexec/apache2/libphp4.so
#14 0x285b24ff in ?? () from /usr/local/libexec/apache2/libphp4.so
#15 0x285b267c in ?? () from /usr/local/libexec/apache2/libphp4.so
#16 0x285ac514 in ?? () from /usr/local/libexec/apache2/libphp4.so
#17 0x2857b78a in ?? () from /usr/local/libexec/apache2/libphp4.so
#18 0x2857b747 in ?? () from /usr/local/libexec/apache2/libphp4.so
#19 0x285ca1c1 in ?? () from /usr/local/libexec/apache2/libphp4.so
#20 0x28356edd in run_cleanups (cref=0x80a1028) at apr_pools.c:1951
#21 0x283560fc in apr_pool_clear (pool=0x80a1018) at apr_pools.c:693
#22 0x0806b81d in main (argc=3, argv=0xbfbfecd8) at main.c:594
Both apache, php4 and recode is the newest version from cvs.
>How-To-Repeat:
Install apache2, mod_php4 and php4-extensions, choose RECODE extension
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list