Bug#366391: subversion crash signal 15 in child, SNDCTL_TMR_TIMEBASE

2006-05-09 Thread Peter Samuelson

[I wrote]
 That's not subversion crashing, that's subversion killing ssh.
 Upgrade openssh-client to version 1:4.2p1-6 or newer.

I should have mentioned, as well, that the situation is harmless even
if you don't upgrade openssh-client.

subversion has always killed ssh when it is done using the tunnel, but
previously the warning was suppressed by using SIGKILL (like 'kill -9')
which does not give the child process a chance to clean itself up (and
print that message).  I changed this to SIGTERM because Colin fixed ssh
to stop printing the message.


signature.asc
Description: Digital signature


Bug#366391: subversion crash signal 15 in child, SNDCTL_TMR_TIMEBASE

2006-05-08 Thread Rafal Maj
Package: subversion
Version: 1.3.0-3
Severity: important

It seems svn started to crash - it is killed, but the kill (signal 15)
occurs at end, so despite that I am able to use svn it seems.

ii  subversion 1.3.0-3


$ svn up
At revision 1202.
Killed by signal 15.


$strace -ff -o trace svn up
[...]
unlink(OUT/.svn/lock) = 0
unlink(case/.svn/lock)= 0
unlink(TRASH/.svn/lock)   = 0
unlink(.svn/lock) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f28000
write(1, At revision 1202.\n, 18At revision 1202.
) = 18
close(5)= 0
close(4)= 0
waitpid(24137, 0xbf846578, WNOHANG|WUNTRACED) = 0
kill(24137, SIGTERM)= 0
select(0, NULL, NULL, NULL, {0, 46875}Killed by signal 15.
) = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
select(0, NULL, NULL, NULL, {0, 44000}) = 0 (Timeout)
waitpid(24137, [{WIFEXITED(s)  WEXITSTATUS(s) == 255}],
WNOHANG|WUNTRACED) = 24137
gettimeofday({1147081070, 491605}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 608395}) = 0 (Timeout)
brk(0x818e000)  = 0x818e000
munmap(0xb7f28000, 4096)= 0
exit_group(0)   = ?


the crash is in child process:

$ tail -n 50 trace.10586
write(3, \375\320\16\356WB\356\335\364]\2\376[\24\305Z\366Xv\7\272...,
64) = 64
select(7, [3 4], [], NULL, NULL)   = 1 (in [3])
read(3, \375\317\263\235\224\350\32\311\300\'\246q\211\215wV0...,
8192) = 176
select(7, [3 4], [5], NULL, NULL)   = 1 (out [5])
write(5, ( success ( ) ) ( success ( 36:0..., 135) = 135
select(7, [3 4], [], NULL, NULL) = 1 (in [4])
read(4, ( update ( ( ) 0: true ) ) , 16384) = 27
select(7, [3 4], [3], NULL, NULL)   = 1 (out [3])
write(3, \205\2z\240\354\3227\272\16\327\252\362\241\223;*2\2\322...,
64) = 64
select(7, [3 4], [], NULL, NULL)   = 1 (in [3])
read(3, \354\362\273\357a0#\315P}\242\201\16AQ\260\363\2603\350...,
8192) = 64
select(7, [3 4], [5], NULL, NULL)   = 1 (out [5])
write(5, ( success ( ( ) 0: ) ) , 23) = 23
select(7, [3 4], [], NULL, NULL) = 1 (in [4])
read(4, ( set-path ( 0: 1202 false ( ) )..., 16384) = 57
select(7, [3 4], [3], NULL, NULL)   = 1 (out [3])
write(3, p\246/x7\377\236\244\317V\340o\272\205s\303\0\200\326L...,
96) = 96
select(7, [3 4], [], NULL, NULL)   = 1 (in [3])
read(3, \372\305\320m\3537\4\211\245G([EMAIL PROTECTED]...,
8192) = 480
select(7, [3 4], [5], NULL, NULL)   = 1 (out [5])
write(5, ( success ( ( ) 0: ) ) ( target-..., 438) = 438
select(7, [3 4], [], NULL, NULL)= 1 (in [4])
read(4, ( success ( ) ) , 16384)  = 16
select(7, [3 4], [3], NULL, NULL) = 1 (out [3])
write(3, f\351\20\204\357\306\277}T\353+vqMJ!\1_\346\230q\334\327...,
64) = 64
select(7, [3 4], [], NULL, NULL)= 1 (in [3])
read(3, \335*\333l\235\321\224\375PO\2\240\205\314\200\310\273...,
8192) = 64
select(7, [3 4], [5], NULL, NULL)   = 1 (out [5])
write(5, ( success ( ) ) , 16)= 16
select(7, [3 4], [], NULL, NULL)= 1 (in [4])
read(4, , 16384)  = 0
close(4)= 0
select(7, [3], [3], NULL, NULL) = 1 (out [3])
write(3, :X!R\2\36\274\353\2428\273\317O\363\342S4\23\27\214$\351...,
32) = 32
select(7, [3], [], NULL, NULL)= ? ERESTARTNOHAND (To
be restarted)
--- SIGTERM (Terminated) @ 0 (0) ---
sigreturn() = ? (mask now [])
rt_sigaction(SIGWINCH, NULL, {0x8050ae0, [], SA_RESTORER, 0xb7c33768},
8) = 0
rt_sigaction(SIGWINCH, {SIG_DFL}, NULL, 8) = 0
close(5)= 0
close(6)= 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfaf3d58) = -1 EINVAL (Invalid
argument)
fcntl64(0, F_GETFL) = 0x800 (flags O_RDONLY|O_NONBLOCK)
fcntl64(0, F_SETFL, O_RDONLY)   = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfaf3d58) = -1 EINVAL (Invalid
argument)
fcntl64(1, F_GETFL) = 0x801 (flags O_WRONLY|O_NONBLOCK)
fcntl64(1, F_SETFL, O_WRONLY)   = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0
write(2, Killed by signal 15.\r\n, 22) = 22
exit_group(255) = ?

-- 
RafaƂ Maj
www.Raf256.com C++



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]