[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: subversion 1.2.0 - libsvn_repos/reporter.c does not survive gcc 3.4.2 -O2 optimization

From: John Szakmeister <john_at_szakmeister.net>
Date: 2005-06-20 23:25:07 CEST

On Monday 20 June 2005 10:23, Kiyo Kelvin Lee wrote:
> I am using FreeBSD 5.4-RELEASE and port subversion-python to build
> subversion. And I am also using Apache 2.0.54 (with worker mpm but
> prefork has the same problem) and mod_dav_svn.
> After I build everything with -O2 using the ports system, svn co would
> lead to httpd crashes at the function update_entry() in
> libsvn_repos/reporter.c (found by debugging httpd with gdb).
> It looked like an code optimization problem, so I went on to manually
> recompile reporter.c (with the right flags I believe) without -O2 and
> relink libsvn_repos.so. Putting in the new so file, and svn co works
> right the way without problem.
> Is this a known problem?

I've not seen a problem with optimizations, but then I'm using gcc 3.3.4.
Can you tell me where it's crashing in update_entry()? Maybe the problem
is a little more serious, and we're just not catching it.

> And the problem seems to happen only if I use mod_dav_svn. I tested
> with svnserve, the problem does not seem to happen for svnserve.
> Also note that I noticed the problem since 1.1.4 but before reporting
> the problem I just wanted to check the latest version 1.2.0 and found
> the problem is still there.
> Regards,
> Kiyo

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 20 23:27:27 2005

This is an archived mail posted to the Subversion Dev mailing list.