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

Possible compatibility problem with mod_dav_so in windows.

From: Marc Haesen <Marc.Haesen_at_oneaccess-net.com>
Date: 2007-05-07 08:56:28 CEST

Hi,

I have encountered a compatibility problem causing a crash in apache.
I am using the released Apache 2.2.4 on windows and I am using the
mod_dav_svn.so module compiled with the Visual Studio 2005 compiler. I
am using the latest version of trunk.
The apache server crashes when doing the svn lock command on the client.

The reason is that the mod_dav.so module of the apache server is not
compiled with the Visual Studio 2005 compiler. In the Visual Studio 2005
compiler the time_t data structure is 64 by default, which is not the
case with the compiler used to compile the mod_dav.so module of apache.
Since the dav_lock data structure (containing a time_t member) is both
accessed from mod_dav.so and mod_dav_svn.so, this is causing a memory
corruption.

If I use a mod_dav.so module compiled with the Visual studio 2005
compiler (the same as with the mod_dav_svn.so), the crash disappears and
everything seems to work fine.

Regards,
Marc

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 7 09:00:27 2007

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.