64-bit Subversion crashes on Mac OS X
From: Simon Wilson <sepwilson_at_gmail.com>
Date: Mon, 7 Mar 2011 08:59:35 +0100
I'm posting here for feedback before opening an issue with Subversion tracker.
Using the 'svn mkdir' command against a 1.5/1.6 format repository via ra_local (i.e. with a file:// URL) with 64-bit Subversion on Mac OS X results in a segmentation fault. This 100% reproducible both with 'svn' in Terminal and when loaded as a library in our Cocoa application.
We first detected this behavior in 1.6.14.
We are building against the Mac OS X 10.5 SDK. We build 3-way universal libraries for Subversion (x86, ppc and X86_64). We have only seen this crash in the 64-bit Intel version running on Mac OS X 10.6 Snow Leopard.
Here is relevant portion of the backtrace generated with gdb:
#0 0x00007fff881d1160 in strlen ()
The URL passed to svn_client_mkdir2() is:
file:///Users/me/Dev/Test%20Data/Repositories/fsfs-1.5/test
Here are the gcc arguments used to build the 64-bit version:
gcc \
The environment/arguments passed to configure are:
ARCHFLAGS="-arch x86_64"
./configure --with-ssl --with-apxs=no --disable-shared --enable-threadsafe-ssl
We build against the APR and Neon versions included with the Subversion dependencies download.
The GCC version used is i686-apple-darwin10-gcc-4.2.1.
Best regards,
http://www.zennaware.com
|
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.