[Bug 8090] New: full_fname out of memory error on missing file SunOS 5.8

samba-bugs at samba.org samba-bugs at samba.org
Fri Apr 15 14:10:38 MDT 2011


           Summary: full_fname out of memory error on missing file SunOS
           Product: rsync
           Version: 3.0.7
          Platform: Sparc
        OS/Version: SunOS
            Status: NEW
          Severity: minor
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: jm9991 at att.com
         QAContact: rsync-qa at samba.org

When attempting to copy a non-existent file to another file on Solaris 5.8, a
out-of-memory error is shown rather than a file-not-found error. 

I've attached 'truss' output showing the sequence.

$ uname -a
SunOS xxx 5.8 Generic_117350-45 sun4u sparc SUNW,Sun-Fire-V440
$ cd /tmp
$ rsync missingfile /tmp
ERROR: out of memory in full_fname [sender]
rsync error: error allocating core memory buffers (code 22) at util.c(117)

The relevant portion of the truss output:
29718:    lstat64("missingfile", 0xFFBEE3E8)        Err#2 ENOENT
29718:    write(2, 0xFFBEBDD0, 43)            = 43

The problem does not manifest on Solaris 10.

Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the rsync mailing list