Date: Sun, 28 Oct 2007 10:37:55 GMT From: Yarodin <yarodin@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/117596: Apache 2.2.6 segfault when using mod_dbd Message-ID: <200710281037.l9SAbtJ4021286@www.freebsd.org> Resent-Message-ID: <200710281040.l9SAe2Yt084969@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 117596 >Category: ports >Synopsis: Apache 2.2.6 segfault when using mod_dbd >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 28 10:40:02 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Yarodin >Release: 6.2-STABLE >Organization: >Environment: FreeBSD web.server 6.2-STABLE FreeBSD 6.2-STABLE #18: Sun Oct 21 12:53:32 YEKST 2007 root@home.bsd:/usr/obj/usr/src/sys/CUSTOM i386 >Description: GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Core was generated by `httpd'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libpcre.so.0...done. Loaded symbols for /usr/local/lib/libpcre.so.0 Reading symbols from /usr/local/lib/libaprutil-1.so.2...done. Loaded symbols for /usr/local/lib/libaprutil-1.so.2 Reading symbols from /usr/local/lib/mysql/libmysqlclient_r.so.15...done. Loaded symbols for /usr/local/lib/mysql/libmysqlclient_r.so.15 Reading symbols from /lib/libm.so.4...done. Loaded symbols for /lib/libm.so.4 Reading symbols from /lib/libz.so.3...done. Loaded symbols for /lib/libz.so.3 Reading symbols from /usr/local/lib/libexpat.so.6...done. Loaded symbols for /usr/local/lib/libexpat.so.6 Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /usr/local/lib/libapr-1.so.2...done. Loaded symbols for /usr/local/lib/libapr-1.so.2 Reading symbols from /lib/libcrypt.so.3...done. Loaded symbols for /lib/libcrypt.so.3 Reading symbols from /lib/libpthread.so.2...done. Loaded symbols for /lib/libpthread.so.2 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/local/libexec/apache22/mod_dbd.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_dbd.so Reading symbols from /usr/local/libexec/apache22/mod_authn_file.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_authn_file.so Reading symbols from /usr/local/libexec/apache22/mod_authn_dbd.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_authn_dbd.so Reading symbols from /usr/local/libexec/apache22/mod_authn_default.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_authn_default.so Reading symbols from /usr/local/libexec/apache22/mod_authz_host.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_authz_host.so Reading symbols from /usr/local/libexec/apache22/mod_authz_user.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_authz_user.so Reading symbols from /usr/local/libexec/apache22/mod_authz_owner.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_authz_owner.so Reading symbols from /usr/local/libexec/apache22/mod_authz_default.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_authz_default.so Reading symbols from /usr/local/libexec/apache22/mod_auth_basic.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_auth_basic.so Reading symbols from /usr/local/libexec/apache22/mod_file_cache.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_file_cache.so Reading symbols from /usr/local/libexec/apache22/mod_cache.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_cache.so Reading symbols from /usr/local/libexec/apache22/mod_disk_cache.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_disk_cache.so Reading symbols from /usr/local/libexec/apache22/mod_mem_cache.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_mem_cache.so Reading symbols from /usr/local/libexec/apache22/mod_include.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_include.so Reading symbols from /usr/local/libexec/apache22/mod_filter.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_filter.so Reading symbols from /usr/local/libexec/apache22/mod_charset_lite.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_charset_lite.so Reading symbols from /usr/local/libexec/apache22/mod_deflate.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_deflate.so Reading symbols from /usr/local/libexec/apache22/mod_log_config.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_log_config.so Reading symbols from /usr/local/libexec/apache22/mod_env.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_env.so Reading symbols from /usr/local/libexec/apache22/mod_mime_magic.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_mime_magic.so Reading symbols from /usr/local/libexec/apache22/mod_cern_meta.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_cern_meta.so Reading symbols from /usr/local/libexec/apache22/mod_expires.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_expires.so Reading symbols from /usr/local/libexec/apache22/mod_headers.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_headers.so Reading symbols from /usr/local/libexec/apache22/mod_unique_id.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_unique_id.so Reading symbols from /usr/local/libexec/apache22/mod_setenvif.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_setenvif.so Reading symbols from /usr/local/libexec/apache22/mod_ssl.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_ssl.so Reading symbols from /usr/lib/libssl.so.4...done. Loaded symbols for /usr/lib/libssl.so.4 Reading symbols from /lib/libcrypto.so.4...done. Loaded symbols for /lib/libcrypto.so.4 Reading symbols from /usr/local/libexec/apache22/mod_mime.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_mime.so Reading symbols from /usr/local/libexec/apache22/mod_autoindex.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_autoindex.so Reading symbols from /usr/local/libexec/apache22/mod_suexec.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_suexec.so Reading symbols from /usr/local/libexec/apache22/mod_cgi.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_cgi.so Reading symbols from /usr/local/libexec/apache22/mod_negotiation.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_negotiation.so Reading symbols from /usr/local/libexec/apache22/mod_dir.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_dir.so Reading symbols from /usr/local/libexec/apache22/mod_actions.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_actions.so Reading symbols from /usr/local/libexec/apache22/mod_speling.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_speling.so Reading symbols from /usr/local/libexec/apache22/mod_alias.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_alias.so Reading symbols from /usr/local/libexec/apache22/mod_rewrite.so...done. Loaded symbols for /usr/local/libexec/apache22/mod_rewrite.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x28142185 in my_stat (path=0xbfbfd600 "/usr/local/share/mysql/charsets/Index.xml", stat_area=0xbfbfd560, my_flags=0) at my_lib.c:649 649 my_lib.c: No such file or directory. in my_lib.c [New LWP 100242] 1. For freebsd mysql port maintainer: All of mysql*-client from freebsd ports are not install /usr/local/share/mysql/* wich needed for working with mysql-client at some cases. 2. For apache developers: I don't think that handling mysqlclient error messages at segfault style is a very good idea ;) >How-To-Repeat: 1. Install mysql50-client (for example) from ports. (without installed mysql50-server) 2. Install apache22 from ports with mod_dbd and mysql support 3. Try to use it throught mod_authn_dbd (for example) as described at http://httpd.apache.org/docs/2.2/mod/mod_authn_dbd.html >Fix: Copy all folders from mysql50-server tar.gz to /usr/local/share/mysql/ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710281037.l9SAbtJ4021286>