[Bug 8508] New: out of memory in glob_expand_module

samba-bugs at samba.org samba-bugs at samba.org
Wed Oct 5 10:26:49 MDT 2011


           Summary: out of memory in glob_expand_module
           Product: rsync
           Version: 3.0.8
          Platform: All
        OS/Version: SunOS
            Status: NEW
          Severity: major
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: david at midrange.com
         QAContact: rsync-qa at samba.org

Trying to copy a fairly large directory tree from a SunOS system to a Windows
system using rsync 3.0.8 as the server and cwRsync 3.0.9 on the client.

The client reports the following:

$ ./rsync --port=8873 remotehost::module /x
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(614)

The client log shows the following:

2011/10/05 11:29:32 [29628] rsyncd version 3.0.8 starting, listening on port
2011/10/05 11:29:35 [29631] connect from mysystem.example.com (
2011/10/05 11:29:35 [29631] ERROR: out of memory in glob_expand_module
2011/10/05 11:29:35 [29631] [Receiver] _exit_cleanup(code=22, file=util.c,
line=117): entered
2011/10/05 11:29:35 [29631] rsync error: error allocating core memory buffers
(code 22) at util.c(117) [Receiver=3.0.8]
2011/10/05 11:29:35 [29631] [Receiver] _exit_cleanup(code=22, file=util.c,
line=117): about to call exit(22)
2011/10/05 11:29:37 [29628] [Receiver] _exit_cleanup(code=20, file=rsync.c,
line=549): entered
2011/10/05 11:29:38 [29628] rsync error: received SIGINT, SIGTERM, or SIGHUP
(code 20) at rsync.c(549) [Receiver=3.0.8]

The rsyncd.conf file contains this:

port = 8873
pid file = ./rsyncd.pid
log file = ./rsyncd.log
use chroot = no

        path = /path/to/filesystem/contents


The rsync daemon is running as a user process, not root (hence the need to
disable chroot).

I won't discount a configuration error ... this is a brand new rsync install on
the system.

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