Project

General

Profile

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

Added by Boris Fritscher over 15 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 (6)

RE: Svn Tagging/Branching not working -> Redmine.pm segmentation fault - Added by Boris Fritscher over 15 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 over 15 years ago

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

RE: Svn Tagging/Branching not working -> Redmine.pm segmentation fault - Added by Terence Mill about 13 years ago

Is that advisable for production environments in terms of scalibility, is it?

RE: Svn Tagging/Branching not working -> Redmine.pm segmentation fault - Added by Terence Mill about 13 years ago

We have major issues (segmentation faults) because of redmine.pm is not thread safe. Please help!
We use advanced subversion integration and having svn and redmine on same server.

RE: Svn Tagging/Branching not working -> Redmine.pm segmentation fault - Added by Julien CLERC almost 13 years ago

I can't change mpm on windows (only winnt possible and it's threaded), so what is the solution to make redmine.pm robust and thread safe ?

RE: Svn Tagging/Branching not working -> Redmine.pm segmentation fault - Added by Julien CLERC almost 12 years ago

Up ! Is there a patch of redmine.pm for this issue on windows ?

    (1-6/6)