Re: rsync crashing under centos 4

2005-03-11 Thread Wayne Davison
On Thu, Mar 10, 2005 at 09:03:05PM -0800, Joe Pruett wrote: > this code segfaults: [...] so i guess that rsync can't help in any > way. Thanks for the update. This topic has arisen a couple times recently, and each time I asked if it was the library crashing (as I assumed it was) but we hadn't go

Re: rsync crashing under centos 4

2005-03-11 Thread Joe Pruett
> A similar problem was reported back in February: > > http://www.mail-archive.com/rsync@lists.samba.org/msg12557.html > > that manifested itself after an upgrade to Fedora Core 2. It had worked > fine previously (on FC1, presumably). > > That user (David Blunkett) provided an strace log that

Re: rsync crashing under centos 4

2005-03-11 Thread John Van Essen
On Thu, 10 Mar 2005, Joe Pruett <[EMAIL PROTECTED]> wrote: > > the rsync in centos 4 (a recompile of rhel4) is version 2.6.3. and under > certain circumstances it will segfault when run in daemon mode. i have > tracked it down to the nss code in libc. so this could be a general libc > bug, but i

Re: rsync crashing under centos 4

2005-03-10 Thread Joe Pruett
i should have run my test first. this code segfaults: #include #include main() { struct passwd *p; chroot("/tmp"); chdir("/"); p = getpwuid(666); if (p) { printf("%s\n", p->pw_name); } exit(0); } so i guess that rsync ca

rsync crashing under centos 4

2005-03-10 Thread Joe Pruett
the rsync in centos 4 (a recompile of rhel4) is version 2.6.3. and under certain circumstances it will segfault when run in daemon mode. i have tracked it down to the nss code in libc. so this could be a general libc bug, but it is possible that rsync is doing things that don't help matters