Hi,
When doing an update from cvspserver, i got an "error" without any
explanations. I added a strace wrap in the cvspsserver script and the
strace log ends like with 3 Bad file descriptor errors just before the
error message is sent to the client.
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fad000
read(7, "<\0\0\0", 4096) = 4
select(8, [3 5 7], [], NULL, NULL) = 1 (in [7])
read(7, "E ", 4092) = 2
select(8, [3 5 7], [], NULL, NULL) = 1 (in [7])
read(7, "cvs update: Updating softwar/gui"..., 4090) = 58
write(1, "E cvs update: Updating softwar/g"..., 60) = 60
munmap(0xb7fad000, 4096) = 0
select(8, [3 5 7], [], NULL, NULL) = 1 (in [7])
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fad000
read(7, "j\0\0\0", 4096) = 4
select(8, [3 5 7], [], NULL, NULL) = 1 (in [7])
read(7, "Clear-sticky softwar/gui/myframe"..., 4092) = 106
write(1, "Clear-sticky softwar/gui/myframe"..., 106) = 106
munmap(0xb7fad000, 4096) = 0
select(8, [3 5 7], [], NULL, NULL) = 1 (in [5])
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fad000
read(5, "", 4096) = 0
close(5) = 0
select(8, [3 7], [], NULL, NULL) = 1 (in [3])
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fac000
read(3, "", 4096) = 0
close(3) = 0
select(8, [7], [], NULL, NULL) = 1 (in [7])
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fab000
read(7, "", 4096) = 0
close(7) = 0
close(10) = 0
waitpid(12467, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 12467
--- SIGCHLD (Child exited) @ 0 (0) ---
fcntl64(1, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(1, F_SETFL, O_RDWR) = 0
fstat64(7, 0xbff6f1dc) = -1 EBADF (Bad file descriptor)
fstat64(5, 0xbff6f1dc) = -1 EBADF (Bad file descriptor)
fstat64(3, 0xbff6f1dc) = -1 EBADF (Bad file descriptor)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7faa000
write(1, "error \n", 8) = 8
_______________________________________________
Bug-cvs mailing list
Bug-cvs@nongnu.org
http://lists.nongnu.org/mailman/listinfo/bug-cvs