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

mod_dav_svn.so causes a Fatal Bug in Apache 2.2.21 with SVN v1.7.0 or v1.7.1

From: DarkStone <darkstone_at_163.com>
Date: Tue, 25 Oct 2011 00:38:16 +0800 (CST)

Hi there :)

Below is my info:

Operating system: Windows 7 Ultimate x86
The release of Subversion: v1.7.0 and v1.7.1 Binary Version
The release of Apache: v2.2.21

The Fatal Bug I've Found:

When I've setup Apache 2.2.21 with SVN v1.7.0, Apache and SVN works fine, except one thing:

When I request an XML file using HTTP POST, Apache gives me HTTP 500 Internal Error
But if I request that same XML file using HTTP GET, it works just fine

Here is the access.log

::1 - - [24/Oct/2011:23:54:17 +0800] "POST /data/VideoMenuBar.xml HTTP/1.1" 500 537
::1 - - [24/Oct/2011:23:54:06 +0800] "GET /data/VideoMenuBar.xml HTTP/1.1" 200 3695

Note that this bug happens every time and affecting all XML file requests using HTTP POST!

And later I tested Apache 2.2.21 with SVN v1.7.1, it got the same bug

After many testings I finally locate the problem:

mod_dav_svn.so (from Subversion v1.7.0 and v1.7.1 windows binary)
Yes, the bug is causing by mod_dav_svn.so

Why am I so positive about this?

'cuz when I remove this line from httpd.conf:

LoadModule dav_svn_module modules/mod_dav_svn.so

and restart Apache Service, I can request any XML file using HTTP POST or GET with no problems!

Later I've tested Apache 2.2.21 + SVN 1.6.17, it does not have this bug

Which meansmod_dav_svn.so from Subversion v1.6.17 works perfectly

I'm from China, thanks for bearing with my bad English, I wish you get the point and fix this bug asap.

Keep going on your great work!

DarkStone
2011-10-25
Received on 2011-10-26 19:56:29 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.