Segfault in v4.3.9-9 with mod_dav_svn
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mod-auth-mysql (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I am attempting to configure Apache's mod-auth-mysql to use the credentials of an installation of the Drupal CMS to protect a path to be served by mod_dav_svn, but there seem to be a number of problems with the module. Here is the relevant parts of my mod_dav_svn configuration:
AuthType Basic
AuthName "SVN"
Auth_MySQL On
Auth_MySQL_Host localhost
Auth_MySQL_User *****
Auth_
Auth_MySQL_DB drupal
Auth_
Auth_
Auth_
Auth_
Auth_
AuthBasicAuth
Auth_
require valid-user
The line that causes problems seems to be "AuthBasicAutho
[Wed Apr 08 14:05:29 2009] [error] Internal error: pcfg_openfile() called with NULL filename
[Wed Apr 08 14:05:29 2009] [error] [client 24.97.63.58] (9)Bad file descriptor: Could not open password file: (null)
A google search reveals that this error comes in not specifying a user file for the basic authentication method (which shouldn't be a problem, as I'm not using the basic authentication method)
If that line is present, the error changes to the following:
[Wed Apr 08 15:40:02 2009] [notice] child pid 19095 exit signal Segmentation fault (11)
The contents of /etc/init.
alias.conf
alias.load
auth_basic.load
auth_mysql.load
authn_file.load
authz_default.load
authz_
authz_host.load
authz_user.load
autoindex.conf
autoindex.load
cgi.load
dav.load
dav_svn.conf
dav_svn.load
deflate.conf
deflate.load
dir.conf
dir.load
env.load
mime.conf
mime.load
negotiation.conf
negotiation.load
php5.conf
php5.load
setenvif.conf
setenvif.load
status.conf
status.load
Could the issue be an incompatibility with libmysqlclient in php5's mysql module (which I have active) vs. mod_auth_mysql?
I had a similar problem using 9.04 64bits server edition.
AuthBasicAuthor itative Off was present, so authentication was really made with MySQL data.
I could enter login and password, but then I got a blank page and /var/log/ apache2/ error.log reported child pid <xxxx> exit signal Segmentation fault (11)
I found interesting info on ubuntu lists: https:/ /lists. ubuntu. com/archives/ ubuntu- users/2009- January/ 172447. html
After switching back to 9.04 32bits, problem was solved (I used the same configuration file in both cases)
It seems that there is still a problem with libapache2- mod-auth- mysql 4.3.9-11, which prevents me from using the 64bits edition