DO NOT REPLY [Bug 5316] New: Segmentation fault on transfer from/to different machines

samba-bugs at samba-bugs at
Sun Mar 9 17:38:47 GMT 2008

           Summary: Segmentation fault on transfer from/to different
           Product: rsync
           Version: 3.0.0
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: email at
         QAContact: rsync-qa at

(gdb) run
Starting program: /usr/src/rsync-3.0.0/rsync --daemon --server .
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xb7fc2000
grsec: signal 11 sent to /usr/src/rsync-3.0.0/rsync[rsync:13560] uid/euid:0/0
gid/egid:0/0, parent /usr/bin/gdb[gdb:13559] uid/euid:0/0 gid/egid:0/0

Program received signal SIGSEGV, Segmentation fault.
0xb7ed78d3 in strlen () from /lib/i686/
(gdb) backtrace
#0  0xb7ed78d3 in strlen () from /lib/i686/
#1  0x0807ff8d in strlcpy (d=0xbfed3434 "", s=0x0, bufsize=1024)
    at lib/compat.c:109
#2  0x0807bbc3 in lp_load (pszFname=0x0, globals_only=0) at loadparm.c:838
#3  0x0807cd53 in start_daemon (f_in=0, f_out=1) at clientserver.c:882
#4  0x0806348c in main (argc=1, argv=Cannot access memory at address 0x4
) at main.c:1530

when i comment out this line (loadparm.c:838), there is no segmentation fault
any more.

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list