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

Re: Server Hooks not working

From: Florian Engelhardt <f.engelhardt_at_21torr.com>
Date: 2005-05-20 14:25:59 CEST

On Fri, 20 May 2005 13:51:56 +0200 (CEST)
"Peter N. Lundblad" <peter@famlundblad.se> wrote:

> Can you try committing locally with an file:// URL running as the same
> user as svnserve? If you get the same error, you could strace the svn
> command and see what error really occurs. (YOu can trace svnserve as
> well, but it is a little more complicated since it forks a new
> process per connection.)

That is not possible:
svn_at_svn svn $ svn co file:///SVN/test test
svn: Valid UTF-8 data
(hex:)
followed by invalid UTF-8 sequence
(hex: 90 0b 0a 08)

If i change the locale to an ISO-locale it works, but
i there comes another error:

svn@svn test $ svn up
svn: XML parser failed in ''

I found out, there are many files missing in the .svn dir and in the
.svn/props dir. Manualy fixing this is not an opinion.
Maybe these two bugs are one?

Example:
svn@svn test $ svn diff func.data.php
Aborted

Regards

Florian Engelhardt

PS: strace svn diff fund.data.php

.....
open(".svn/format", O_RDONLY) = 3
read(3, "4\n", 80) = 2
close(3) = 0
open(".svn/format", O_RDONLY) = 3
read(3, "4\n", 80) = 2
close(3) = 0
open(".svn/entries", O_RDONLY) = 3
read(3, "<?xml version=\"1.0\" encoding=\"ut"..., 8192) = 4331
read(3, "", 3861) = 0
close(3) = 0
lstat64("func.data.php", {st_mode=S_IFREG|0644, st_size=14638, ...}) = 0
open(".svn/format", O_RDONLY) = 3
read(3, "4\n", 80) = 2
close(3) = 0
lstat64("func.data.php", {st_mode=S_IFREG|0644, st_size=14638, ...}) = 0
open(".svn/format", O_RDONLY) = 3
read(3, "4\n", 80) = 2
close(3) = 0
open(".svn/entries", O_RDONLY) = 3
read(3, "<?xml version=\"1.0\" encoding=\"ut"..., 8192) = 4331
read(3, "", 3861) = 0
close(3) = 0
lstat64("func.data.php", {st_mode=S_IFREG|0644, st_size=14638, ...}) = 0
open(".svn/entries", O_RDONLY) = 3
read(3, "<?xml version=\"1.0\" encoding=\"ut"..., 8192) = 4331
read(3, "", 3861) = 0
close(3) = 0
lstat64("func.data.php", {st_mode=S_IFREG|0644, st_size=14638, ...}) = 0
lstat64("func.data.php", {st_mode=S_IFREG|0644, st_size=14638, ...}) = 0
lstat64(".svn/text-base/func.data.php.svn-base", {st_mode=S_IFREG|0444, st_size=14622, ...}) = 0
lstat64(".svn/props/func.data.php.svn-work", 0xbfffeacc) = -1 ENOENT (No such file or directory)
lstat64(".svn/props/func.data.php.svn-work", 0xbfffea7c) = -1 ENOENT (No such file or directory)
lstat64(".svn/props/func.data.php.svn-work", 0xbfffeacc) = -1 ENOENT (No such file or directory)
stat64("func.data.php", {st_mode=S_IFREG|0644, st_size=14638, ...}) = 0
stat64(".svn/text-base/func.data.php.svn-base", {st_mode=S_IFREG|0444, st_size=14622, ...}) = 0
lstat64(".svn/props/func.data.php.svn-work", 0xbfffebcc) = -1 ENOENT (No such file or directory)
lstat64(".svn/props/func.data.php.svn-work", 0xbfffeb7c) = -1 ENOENT (No such file or directory)
lstat64(".svn/props/func.data.php.svn-work", 0xbfffebcc) = -1 ENOENT (No such file or directory)
lstat64(".svn/props/func.data.php.svn-work", 0xbfffec0c) = -1 ENOENT (No such file or directory)
lstat64(".svn/prop-base/func.data.php.svn-base", {st_mode=S_IFREG|0444, st_size=4, ...}) = 0
open(".svn/prop-base/func.data.php.svn-base", O_RDONLY) = 3
read(3, "END\n", 4096) = 4
close(3) = 0
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2586, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb765e000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2586
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb765e000, 4096) = 0
open("/usr/share/locale/en_US/LC_MESSAGES/subversion.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/subversion.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
brk(0x80c3000) = 0x80c3000
open(".svn/text-base/func.data.php.svn-base", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=14622, ...}) = 0
old_mmap(NULL, 3086921728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
old_mmap(NULL, 3087052800, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
old_mmap(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0xb745f000
munmap(0xb745f000, 659456) = 0
munmap(0xb7600000, 389120) = 0
mprotect(0xb7500000, 135168, PROT_READ|PROT_WRITE) = 0
old_mmap(NULL, 3086921728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
kill(16198, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 20 14:24:25 2005

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

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