[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 1.4.3 REPORT error

From: Klug, John A <John.Klug_at_UNISYS.com>
Date: 2007-04-27 17:16:56 CEST

We cannot get the 1.4.3 mod_dav_svn.so to work with our 1.3 subversion
database. I see nothing in the release notes on this.
 
We can browse the trunk just fine, but checkouts and status fails.
 
This is because mod_dav_svn.so causes Apache to return error 500 on the
status after reading the database.
 
The problem goes away when our mod_dav_svn.so from 1.3 is put back into
place with the client and everything else being 1.4.3.
 
I built 1.4.3 with subversion-deps 1.4.3 on SLES 9.
 
I ran strace, and the client side looks exactly the same in 1.4.3 and
1.3.0 up to the error. The server side is somewhat different.
 
Here is the unsuccessful 1.4.3 REPORT:
 
> 8757 read(8, "REPORT /svn/gemini/!svn/vcc/defa"..., 8000) = 550
> 8757 gettimeofday({1177624241, 636881}, NULL) = 0
> 8757 stat64("/srv/www/htdocs/svn/gemini/!svn/vcc/default",
> 0xbfffeb3c) = -1 ENOENT (No such file or directory)
> 8757 lstat64("/srv", {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
> 8757 lstat64("/srv/www", {st_mode=S_IFDIR|0755, st_size=168, ...}) =
> 0
> 8757 lstat64("/srv/www/htdocs", {st_mode=S_IFDIR|0755, st_size=1568,
> ...}) = 0
> 8757 lstat64("/srv/www/htdocs/svn", {st_mode=S_IFLNK|0777,
> st_size=11, ...}) = 0
> 8757 stat64("/srv/www/htdocs/svn",
> {st_mode=S_IFDIR|S_ISGID|S_ISVTX|0777, st_size=3584, ...}) = 0
> 8757 lstat64("/srv/www/htdocs/svn/gemini",
> {st_mode=S_IFDIR|S_ISGID|S_ISVTX|0775, st_size=3584, ...}) = 0
> 8757 lstat64("/srv/www/htdocs/svn/gemini/!svn", 0xbfffeb1c) = -1
> ENOENT (No such file or directory)
> 8757 open("/sirius/svn/dav_svn.passwd", O_RDONLY) = 9
> 8757 fstat64(9, {st_mode=S_IFREG|0644, st_size=63, ...}) = 0
> 8757 read(9, "utc:$apr1$X/IOQ/..$RcGnZ14q7PheT"..., 4096) = 63
> 8757 close(9) = 0
> 8757 open("/sirius/svn/gemini/db/revs/1439", O_RDONLY) = 9
> 8757 fstat64(9, {st_mode=S_IFREG|0664, st_size=692, ...}) = 0
> 8757 lseek(9, 692, SEEK_SET) = 692
> 8757 lseek(9, 628, SEEK_SET) = 628
> 8757 read(9, "\n9.8.r1438/2034 delete false fal"..., 4096) = 64
> 8757 lseek(9, 488, SEEK_SET) = 488
> 8757 read(9, "id: 0.0.r1439/488\ntype: dir\npred"..., 4096) = 204
> 8757 close(9) = 0
> 8757 open("/sirius/svn/gemini/db/revs/1439", O_RDONLY) = 9
> 8757 lseek(9, 488, SEEK_SET) = 488
> 8757 read(9, "id: 0.0.r1439/488\ntype: dir\npred"..., 4096) = 204
> 8757 close(9) = 0
..... Material differences start here
> 8757 getcwd("/", 4096) = 2
> 8757 gettimeofday({1177624241, 671536}, NULL) = 0
> 8757 write(6, "[Thu Apr 26 16:50:41 2007] [erro"..., 122) = 122
> 8757 gettimeofday({1177624241, 671659}, NULL) = 0
> 8757 write(6, "[Thu Apr 26 16:50:41 2007] [erro"..., 139) = 139
> 8757 writev(8, [{"HTTP/1.1 500 Internal Server Err"..., 192}, {"<?xml

> version=\"1.0\" encoding=\"ut"..., 259}], 2) = 451
> 8757 write(7, "192.61.240.114 - klugja [26/Apr/"..., 145) = 145
> 8757 shutdown(8, 1 /* send */) = 0

 
Here is the start of the successful 1.3 REPORT:
 
> 8434 read(8, "REPORT /svn/gemini/!svn/vcc/defa"..., 8000) = 550
> 8434 gettimeofday({1177623960, 597391}, NULL) = 0
> 8434 stat64("/srv/www/htdocs/svn/gemini/!svn/vcc/default",
> 0xbfffeb5c) = -1 ENOENT (No such file or directory)
> 8434 lstat64("/srv", {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
> 8434 lstat64("/srv/www", {st_mode=S_IFDIR|0755, st_size=168, ...}) =
> 0
> 8434 lstat64("/srv/www/htdocs", {st_mode=S_IFDIR|0755, st_size=1568,
> ...}) = 0
> 8434 lstat64("/srv/www/htdocs/svn", {st_mode=S_IFLNK|0777,
> st_size=11, ...}) = 0
> 8434 stat64("/srv/www/htdocs/svn",
> {st_mode=S_IFDIR|S_ISGID|S_ISVTX|0777, st_size=3584, ...}) = 0
> 8434 lstat64("/srv/www/htdocs/svn/gemini",
> {st_mode=S_IFDIR|S_ISGID|S_ISVTX|0775, st_size=3584, ...}) = 0
> 8434 lstat64("/srv/www/htdocs/svn/gemini/!svn", 0xbfffeb3c) = -1
> ENOENT (No such file or directory)
> 8434 open("/sirius/svn/dav_svn.passwd", O_RDONLY) = 9
> 8434 fstat64(9, {st_mode=S_IFREG|0644, st_size=63, ...}) = 0
> 8434 read(9, "utc:$apr1$X/IOQ/..$RcGnZ14q7PheT"..., 4096) = 63
> 8434 close(9) = 0
> 8434 open("/sirius/svn/gemini/db/revs/1439", O_RDONLY) = 9
> 8434 fstat64(9, {st_mode=S_IFREG|0664, st_size=692, ...}) = 0
> 8434 lseek(9, 692, SEEK_SET) = 692
> 8434 lseek(9, 628, SEEK_SET) = 628
> 8434 read(9, "\n9.8.r1438/2034 delete false fal"..., 4096) = 64
> 8434 lseek(9, 488, SEEK_SET) = 488
> 8434 read(9, "id: 0.0.r1439/488\ntype: dir\npred"..., 4096) = 204
> 8434 close(9) = 0
> 8434 open("/sirius/svn/gemini/db/revs/1439", O_RDONLY) = 9
> 8434 lseek(9, 488, SEEK_SET) = 488
> 8434 read(9, "id: 0.0.r1439/488\ntype: dir\npred"..., 4096) = 204
> 8434 close(9) = 0
..... Material differences start here
> 8434 gettimeofday({1177623960, 639105}, NULL) = 0
> 8434 open("/tmp/apr-tmp.yQEQPO", O_RDWR|O_CREAT|O_EXCL, 0600) = 9
> 8434 write(9, "!", 1) = 1
> 8434 close(9) = 0
Received on Fri Apr 27 17:17:23 2007

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.