axkibe/lsyncd — Issue #17: Segfault with trunk (r98)
Author: axkibe
Created: 2011-11-16 14:57:04+00:00
State: open

Originally filed by christop...@gmail.com on 2010-05-27T16:09:35

What steps will reproduce the problem?

lsyncd runs for a while. After that it segfaults

syncd[24766] general protection rip:3385e796f0 rsp:7fff75a73448 error:0
lsyncd[24873]: segfault at 00000000ffffffff rip 0000003385e796d0 rsp
00007fff963cd798 error 4
lsyncd[32550] general protection rip:3385e796f0 rsp:7fff96631c18 error:0
lsyncd[996]: segfault at 0000000000000001 rip 0000003385e796d0 rsp
00007fff63767be8 error 4
lsyncd[1018]: segfault at ffffffffffffffd0 rip 0000003385e796f0 rsp
00007fff60f89428 error 4
lsyncd[1177]: segfault at ffffffffffffffd0 rip 0000003385e796f0 rsp
00007fff946a1f98 error 4
lsyncd[1210]: segfault at ffffffffffffffd0 rip 0000003385e796f0 rsp
00007fffa0dfe6d8 error 4
lsyncd[1272]: segfault at ffffffffffffffd0 rip 0000003385e796f0 rsp
00007fffa4442bf8 error 4

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

CentOS 5.4

Please provide any additional information below.

running rsync with --timeout 1. It also seems to segfault when a timeout occurs

io timeout after 1 seconds -- exiting
rsync error: timeout in data send/receive (code 30) at io.c(171) [sender=2.6.8]
rsync error: timeout in data send/receive (code 30) at io.c(171)
[receiver=2.6.8]
rsync: writefd_unbuffered failed to write 4092 bytes [sender]: Broken pipe (32)
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: timeout in data send/receive (code 30) at io.c(463) [sender=2.6.8]
rsync error: timeout in data send/receive (code 30) at io.c(171)
[receiver=2.6.8]
rsync: writefd_unbuffered failed to write 4092 bytes [sender]: Broken pipe (32)
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: timeout in data send/receive (code 30) at io.c(463) [sender=2.6.8]
rsync error: timeout in data send/receive (code 30) at io.c(171)
[receiver=2.6.8]
rsync: writefd_unbuffered failed to write 4092 bytes [sender]: Broken pipe (32)
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: timeout in data send/receive (code 30) at io.c(463) [sender=2.6.8]

btw --delay really makes my troubles less painful!

thank you!