Svn Tagging/Branching not working -> Redmine.pm segmentation fault

Added by Boris Fritscher almost 2 years ago

Hello,
I have a Redmine installation which uses Apache2 and Redmine.pm to authenticate users over ldap (works nicely!).

Commits and checkouts work also! But when I try to do a branch/tag (copy) i get :

"COPY of '/svn/[My Project]' Could nt read status line connection was closed by server (http://xxx.xxx.xxx.xxx)

Checking the errors logs of apache2 I have a

child pid XXXXX exit signal Segmentation fault (11)

If I disable authentication on /svn the copy operation works, so it isn't the mod_dav modules that segfaults.

here is my apache configuration:

<VirtualHost *:80>

 ServerName redmine.domain
 ServerAdmin webmaster@localhost
 <Location /sys>
  Order allow,deny
  Allow from 127.0.0.1
 </Location>
PerlLoadModule Apache::Authn::Redmine 
 <Location /svn>

 DAV svn
 SVNParentPath "/var/svn" 

 AuthType Basic
 AuthName redmine
 Require valid-user

 PerlAccessHandler Apache::Authn::Redmine::access_handler
 PerlAuthenHandler Apache::Authn::Redmine::authen_handler

 RedmineDSN  "DBI:mysql:database=redmine;host=127.0.0.1" 
 RedmineDbUser "redmine" 
 RedmineDbPass  "xxxx" 

</Location>
<Location /svn-private>
 DAV svn
 SVNParentPath "/var/svn" 
 Order deny,allow
 Deny from all
 <Limit GET PROPFIND OPTIONS REPORT>
  Allow from 127.0.0.1
 </Limit>
</Location>
ProxyPass /svn !
ProxyPass /svn-private !

ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/

ErrorLog /var/log/apache2/error.log
</VirtualHost>

I have tested the same configuration on two setups
Redmine TRUNK on
Debian apache2 2.2.9 with subversion 1.5.1
and Debian(ech) apache2 2.2.3 with subversion 1.4.2

Any Ideas?

Replies (2)

RE: Svn Tagging/Branching not working -> Redmine.pm segmentation fault - Added by Boris Fritscher almost 2 years ago

The problem seems to come from the DBI connection, because if I set is_public_project and is_member to return 1 in Redmine.pm there is no error.

RE: Svn Tagging/Branching not working -> Redmine.pm segmentation fault - Added by Boris Fritscher almost 2 years ago

SOLVED! i had to change my apache settings from apache2-mpm-worker to apache2-mpm-prefork!

(1-2/2)