Bug 8549 - double free or corruption
Summary: double free or corruption
Status: RESOLVED FIXED
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.6
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-27 20:59 UTC by Dave Yost
Modified: 2011-10-30 03:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Yost 2011-10-27 20:59:27 UTC
rsync: recv_generator: mkdir "/backup/vaults/s2/data/2011-10-27_06-05/usr/share/texmf/tex/latex/HA-prosper/Styles" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/backup/vaults/s2/data/2011-10-27_06-05/usr/share/texmf/tex/latex/beamer/art" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/backup/vaults/s2/data/2011-10-27_06-05/usr/share/texmf/tex/latex/beamer/emulation" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/backup/vaults/s2/data/2011-10-27_06-05/usr/share/texmf/tex/latex/beamer/multimedia" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/backup/vaults/s2/data/2011-10-27_06-05/usr/share/texmf/tex/latex/beamer/themes" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/backup/vaults/s2/data/2011-10-27_06-05/usr/share/texmf/tex/latex/mathdesign/mdbch" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/backup/vaults/s2/data/2011-10-27_06-05/usr/share/texmf/tex/latex/mathdesign/mdput" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/backup/vaults/s2/data/2011-10-27_06-05/usr/share/texmf/tex/latex/mathdesign/mdugm" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
rsync: mkstemp "/backup/vaults/s2/data/2011-10-27_06-05/usr/share/texmf/tex/latex/minitoc/.swedish2.mld.HuY0zz" failed: No space left on device (28)
*** glibc detected *** /root/backup/server/bin/rsync: double free or corruption (out): 0x0000000004be6380 ***
======= Backtrace: =========
/lib64/libc.so.6[0x37aa87703a]
/root/backup/server/bin/rsync[0x430de1]
/root/backup/server/bin/rsync[0x432305]
/root/backup/server/bin/rsync[0x40f505]
/root/backup/server/bin/rsync[0x41205e]
/root/backup/server/bin/rsync[0x41d1bc]
/root/backup/server/bin/rsync[0x41d762]
/root/backup/server/bin/rsync[0x4045c1]
/lib64/libc.so.6(__libc_start_main+0xed)[0x37aa82139d]
/root/backup/server/bin/rsync[0x404635]
======= Memory map: ========
00400000-00460000 r-xp 00000000 08:03 155773                             /usr/bin/rsync
0065f000-00664000 rw-p 0005f000 08:03 155773                             /usr/bin/rsync
00664000-00676000 rw-p 00000000 00:00 0 
00863000-00864000 rw-p 00063000 08:03 155773                             /usr/bin/rsync
025d2000-06878000 rw-p 00000000 00:00 0                                  [heap]
366a600000-366a615000 r-xp 00000000 08:03 137158                         /lib64/libgcc_s-4.6.1-20110908.so.1
366a615000-366a814000 ---p 00015000 08:03 137158                         /lib64/libgcc_s-4.6.1-20110908.so.1
366a814000-366a815000 rw-p 00014000 08:03 137158                         /lib64/libgcc_s-4.6.1-20110908.so.1
37aa000000-37aa01f000 r-xp 00000000 08:03 135375                         /lib64/ld-2.14.so
37aa21e000-37aa21f000 r--p 0001e000 08:03 135375                         /lib64/ld-2.14.so
37aa21f000-37aa220000 rw-p 0001f000 08:03 135375                         /lib64/ld-2.14.so
37aa220000-37aa221000 rw-p 00000000 00:00 0 
37aa800000-37aa98f000 r-xp 00000000 08:03 135950                         /lib64/libc-2.14.so
37aa98f000-37aab8f000 ---p 0018f000 08:03 135950                         /lib64/libc-2.14.so
37aab8f000-37aab93000 r--p 0018f000 08:03 135950                         /lib64/libc-2.14.so
37aab93000-37aab94000 rw-p 00193000 08:03 135950                         /lib64/libc-2.14.so
37aab94000-37aab9a000 rw-p 00000000 00:00 0 
37ae800000-37ae809000 r-xp 00000000 08:03 148003                         /lib64/libpopt.so.0.0.0
37ae809000-37aea08000 ---p 00009000 08:03 148003                         /lib64/libpopt.so.0.0.0
37aea08000-37aea09000 rw-p 00008000 08:03 148003                         /lib64/libpopt.so.0.0.0
37b6200000-37b6204000 r-xp 00000000 08:03 148472                         /lib64/libattr.so.1.1.0
37b6204000-37b6403000 ---p 00004000 08:03 148472                         /lib64/libattr.so.1.1.0
37b6403000-37b6404000 rw-p 00003000 08:03 148472                         /lib64/libattr.so.1.1.0
37ba200000-37ba207000 r-xp 00000000 08:03 148475                         /lib64/libacl.so.1.1.0
37ba207000-37ba407000 ---p 00007000 08:03 148475                         /lib64/libacl.so.1.1.0
37ba407000-37ba408000 rw-p 00007000 08:03 148475                         /lib64/libacl.so.1.1.0
7f5adb3d5000-7f5adb3e1000 r-xp 00000000 08:03 135977                     /lib64/libnss_files-2.14.so
7f5adb3e1000-7f5adb5e0000 ---p 0000c000 08:03 135977                     /lib64/libnss_files-2.14.so
7f5adb5e0000-7f5adb5e1000 r--p 0000b000 08:03 135977                     /lib64/libnss_files-2.14.so
7f5adb5e1000-7f5adb5e2000 rw-p 0000c000 08:03 135977                     /lib64/libnss_files-2.14.so
7f5adb90a000-7f5adb98b000 rw-p 00000000 00:00 0 
7f5adb9cb000-7f5adb9ed000 rw-p 00000000 00:00 0 
7f5adba2e000-7f5adba32000 rw-p 00000000 00:00 0 
7f5adba4d000-7f5adba4e000 rw-p 00000000 00:00 0 
7fff10385000-7fff103a6000 rw-p 00000000 00:00 0                          [stack]
7fff103ff000-7fff10400000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
/root/backup/server/bin/shell: line 20: 22504 Aborted                 (core dumped) $SSH_ORIGINAL_COMMAND
rsync: connection unexpectedly closed (177242 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
Comment 1 Wayne Davison 2011-10-30 03:06:12 UTC
You should always mention what command you ran, so we can check if the options match previous fixed bugs.

You are running 3.0.6, but the latest version is 3.0.9.  Lots of bugs have been fixed, including a double-free issue.

Sadly, the backtrace isn't really useful w/o debug symbols.  If you get another crash, you'll want to use a debug-symbol version of rsync to reproduce the error and/or to interpret the core dump file (if there is one).

I'm assuming that this is fixed unless I hear otherwise.  Reopen if 3.0.9 has this issue.