From nobody@FreeBSD.org  Sun Oct 28 10:38:30 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BFE9A16A419
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Oct 2007 10:38:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id AF3E513C4A7
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Oct 2007 10:38:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SAbtji021287
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Oct 2007 10:37:55 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l9SAbtJ4021286;
	Sun, 28 Oct 2007 10:37:55 GMT
	(envelope-from nobody)
Message-Id: <200710281037.l9SAbtJ4021286@www.freebsd.org>
Date: Sun, 28 Oct 2007 10:37:55 GMT
From: Yarodin <yarodin@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Apache 2.2.6 segfault when using mod_dbd
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         117596
>Category:       ports
>Synopsis:       www/apache22 segfault when using mod_dbd
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    apache
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 28 10:40:02 UTC 2007
>Closed-Date:    Sun May 17 09:57:46 UTC 2009
>Last-Modified:  Sun May 17 09:57:46 UTC 2009
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->clement 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Oct 28 10:42:05 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117596 

From: yarodin <yarodin@gmail.com>
To: bug-followup@freebsd.org,
 yarodin@gmail.com
Cc:  
Subject: Re: ports/117596: www/Apache22 - apache 2.2.6 segfault when using mod_dbd
Date: Sun, 28 Oct 2007 16:38:07 +0500

 Some notes...
 How to fix:
 Copy all folders from /usr/local/share/mysql/* of mysql50-server(for example) 
 installation to same place of mysql50-client(for example) installation.
 
 At my case:
 
 charsets/                       hungarian/                      romanian/
 czech/                          italian/                        russian/
 danish/                         japanese/                       serbian/
 dutch/                          korean/                         slovak/
 english/                        spanish/
 estonian/                       norwegian/                      swedish/
 french/                         norwegian-ny/                   ukrainian/
 german/                         polish/
 greek/                          portuguese/
 
 ./charsets:
 Index.xml     ascii.xml     cp1256.xml    cp852.xml     geostd8.xml   hp8.xml       
 koi8u.xml     latin5.xml    macroman.xml
 README        cp1250.xml    cp1257.xml    cp866.xml     greek.xml     
 keybcs2.xml   latin1.xml    latin7.xml    swe7.xml
 armscii8.xml  cp1251.xml    cp850.xml     dec8.xml      hebrew.xml    
 koi8r.xml     latin2.xml    macce.xml
 
 ./czech:
 errmsg.sys
 
 ./danish:
 errmsg.sys
 
 ./dutch:
 errmsg.sys
 
 ./english:
 errmsg.sys
 
 ./estonian:
 errmsg.sys
 
 ./french:
 errmsg.sys
 
 ./german:
 errmsg.sys
 
 ./greek:
 errmsg.sys
 
 ./hungarian:
 errmsg.sys
 
 ./italian:
 errmsg.sys
 
 ./japanese:
 errmsg.sys
 
 ./korean:
 errmsg.sys
 
 ./norwegian:
 errmsg.sys
 
 ./norwegian-ny:
 errmsg.sys
 
 ./polish:
 errmsg.sys
 
 ./portuguese:
 errmsg.sys
 
 ./romanian:
 errmsg.sys
 
 ./russian:
 errmsg.sys
 
 ./serbian:
 errmsg.sys
 
 ./slovak:
 errmsg.sys
 
 ./spanish:
 errmsg.sys
 
 ./swedish:
 errmsg.sys
 
 ./ukrainian:
 errmsg.sys
Responsible-Changed-From-To: clement->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Fri Aug 22 18:37:56 UTC 2008 
Responsible-Changed-Why:  
I am in a position to at least test/reproduce this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117596 
Responsible-Changed-From-To: pgollucci->apache 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Sat Dec 27 20:25:38 UTC 2008 
Responsible-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=117596 
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Sun May 17 09:10:34 UTC 2009 
State-Changed-Why:  
Hi, 

Could you please test if this issue still exists with an fresh ports 
tree? Thanks for your report. 

- Martin 


http://www.freebsd.org/cgi/query-pr.cgi?pr=117596 

From: Yar Odin <yarodin@gmail.com>
To: bug-followup@freebsd.org,
 yarodin@gmail.com
Cc:  
Subject: Re: ports/117596: www/apache22 segfault when using mod_dbd
Date: Sun, 17 May 2009 15:47:45 +0600

 --nextPart35515913.6Kf4ec2qAT
 Content-Type: text/plain;
   charset="utf-8"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 Nope. Your may close this PR.
 
 =2D-=20
 Yar Odin <yarodin@gmail.com>
 GnuPG Key: http://dl.getdropbox.com/u/935420/Keys/yarodin.asc
 GnuPG Key ID: 0x3449D79E
 
 --nextPart35515913.6Kf4ec2qAT
 Content-Type: application/pgp-signature; name=signature.asc 
 Content-Description: This is a digitally signed message part.
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.9 (GNU/Linux)
 
 iD8DBQBKD91HOMLFRTRJ154RAgkXAJ9owajM6PSxlqQm2DtGmD+YWzD1FACeOWVr
 zj4HK0FKhzHXeB/piuDdAz4=
 =IrG6
 -----END PGP SIGNATURE-----
 
 --nextPart35515913.6Kf4ec2qAT--
State-Changed-From-To: feedback->closed 
State-Changed-By: pgollucci 
State-Changed-When: Sun May 17 09:57:45 UTC 2009 
State-Changed-Why:  
closed at submitter request, no logner an issue, note: pgollucci@ is 
dubious 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117596 
>Unformatted:
