[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Subversion segmentation fault for 1 repository



The last part of strace:

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f20b974c000
read(4, "# This is the configuration file "..., 4096) = 1738
read(4, ""..., 4096)                    = 0
close(4)                                = 0
munmap(0x7f20b974c000, 4096)            = 0
stat("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
open("graphics/db/__db.register", O_RDWR|O_CREAT, 0660) = 4
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
fcntl(4, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1, len=1}) = 0
fstat(4, {st_mode=S_IFREG|0640, st_size=125, ...}) = 0
read(4, "                   11370\n"..., 25) = 25
fcntl(4, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0
fcntl(4, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=1}) = 0
fstat(4, {st_mode=S_IFREG|0640, st_size=125, ...}) = 0
lseek(4, 0, SEEK_SET)                   = 0
write(4, "X                      0\n"..., 25) = 25
write(4, "X                      0\n"..., 25) = 25
write(4, "X                      0\n"..., 25) = 25
write(4, "X                      0\n"..., 25) = 25
write(4, "X                      0\n"..., 25) = 25
lseek(4, 0, SEEK_SET)                   = 0
read(4, "X                      0\n"..., 25) = 25
fcntl(4, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0
lseek(4, 0, SEEK_SET)                   = 0
write(4, "                   11376\n"..., 25) = 25
open("graphics/db/__db.rep.init", O_RDONLY) = -1 ENOENT (No such file or directory)
open("graphics/db/__db.001", O_RDWR)    = 5
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=24576, ...}) = 0
close(5)                                = 0
open("graphics/db/__db.001", O_RDWR)    = 5
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
mmap(NULL, 24576, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) = 0x7f20b9747000
close(5)                                = 0
munmap(0x7f20b9747000, 12884901887)     = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


Full output:
http://debian.pastebin.com/m3f148b4c

On Fri, Jul 31, 2009 at 05:12:05AM -0800, Dean Hamstead wrote:
> run strace with svnadmin
> 
> 
> Dean
> 
> On 7/31/2009, "Jakub Nadolny" <jakub.nadolny@carrywater.pl> wrote:
> 
> >Hi,
> >
> >I've changed hardware in my server from i386 to AMD64 and everything works fine
> >except one SVN repository.
> >
> >When I try to access it, there is following error:
> >  svn: OPTIONS z 'http://some.local.ip.address/svn/repo-name': Could not read status line: connection was closed by server (http://some.local.ip.address)
> >
> >in Apache error log:
> >  [notice] child pid 3504 exit signal Segmentation fault (11)
> >
> >I've thought it might me dav_svn issue but:
> >  svnadmin verify repo-name
> >gives following result:
> >  Segmentation fault
> >
> >The same is with:
> >  svnadmin recover repo-name
> >
> >  Repository lock acquired.
> >  Please wait; recovering the repository may take some time...
> >  Segmentation fault
> >
> >This repo is very big - server repo directory is 7.1 GB. Maybe this is a reason
> >for that? All other repositories work fine, although they are much smaller.
> >
> >On i386 machine this repository, just copied from amd64 works fine.
> >
> >Any help will be appreciated.
> >
> >Regards,
> >Jakub


Reply to: