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

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

From: Kiyo Kelvin Lee <kiyolee_at_hotmail.com>
Date: 2005-06-20 16:23:04 CEST

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?
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

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

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