Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197804 - net-misc/sitecopy-0.16.3 crashes when using --fetch on an sftp host
Summary: net-misc/sitecopy-0.16.3 crashes when using --fetch on an sftp host
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-01 19:20 UTC by Frederik 'Freso' S. Olesen
Modified: 2008-05-06 16:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik 'Freso' S. Olesen 2007-11-01 19:20:47 UTC
When trying to run sitecopy --fetch for getting the files from my site using SFTP, it crashed saying "double free or corruption (!prev)".

Reproducible: Always

Steps to Reproduce:
Hardened system. See emerge --info below.

1. Emerge sitecopy
2. Run `sitecopy --fetch [[SFTP-host alias]]`
3. Watch the debug!
Actual Results:  
It crashes.

Expected Results:  
Fetched the files on the server.

_Crash:_
freso@gentoo-vm ~ $ sitecopy --fetch [...]
sitecopy: Fetching site `[...]' (on [...] in ~/htdocs/)
[...]'s password: 
*** glibc detected *** sitecopy: double free or corruption (!prev): 0x80023da0 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7aedd78]
/lib/libc.so.6(cfree+0x8a)[0xb7aeea0f]
/lib/libc.so.6(fclose+0x135)[0xb7ade859]
/lib/libc.so.6(pclose+0x1d)[0xb7ae6895]
sitecopy[0x8000ee8f]
======= Memory map: ========
80000000-80017000 r-xp 00000000 03:03 2850872    /usr/bin/sitecopy
80017000-80018000 r--p 00017000 03:03 2850872    /usr/bin/sitecopy
80018000-80019000 rw-p 00018000 03:03 2850872    /usr/bin/sitecopy
80019000-8003a000 rw-p 80019000 00:00 0          [heap]
b7900000-b7921000 rw-p b7900000 00:00 0 
b7921000-b7a00000 ---p b7921000 00:00 0 
b7a79000-b7a81000 r-xp 00000000 03:03 1961341    /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcc_s.so.1
b7a81000-b7a82000 r--p 00007000 03:03 1961341    /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcc_s.so.1
b7a82000-b7a83000 rw-p 00008000 03:03 1961341    /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcc_s.so.1
b7a88000-b7a89000 rw-p b7a88000 00:00 0 
b7a89000-b7bb1000 r-xp 00000000 03:03 2826399    /lib/libc-2.6.1.so
b7bb1000-b7bb3000 r--p 00127000 03:03 2826399    /lib/libc-2.6.1.so
b7bb3000-b7bb4000 rw-p 00129000 03:03 2826399    /lib/libc-2.6.1.so
b7bb4000-b7bb7000 rw-p b7bb4000 00:00 0 
b7bb7000-b7bda000 r-xp 00000000 03:03 2826549    /lib/libm-2.6.1.so
b7bda000-b7bdb000 r--p 00022000 03:03 2826549    /lib/libm-2.6.1.so
b7bdb000-b7bdc000 rw-p 00023000 03:03 2826549    /lib/libm-2.6.1.so
b7bdc000-b7bdd000 rw-p b7bdc000 00:00 0 
b7bdd000-b7d28000 r-xp 00000000 03:03 1864385    /usr/lib/libxml2.so.2.6.28
b7d28000-b7d2b000 r--p 0014b000 03:03 1864385    /usr/lib/libxml2.so.2.6.28
b7d2b000-b7d2d000 rw-p 0014e000 03:03 1864385    /usr/lib/libxml2.so.2.6.28
b7d2d000-b7d2e000 rw-p b7d2d000 00:00 0 
b7d2e000-b7d30000 r-xp 00000000 03:03 2826551    /lib/libdl-2.6.1.so
b7d30000-b7d31000 r--p 00001000 03:03 2826551    /lib/libdl-2.6.1.so
b7d31000-b7d32000 rw-p 00002000 03:03 2826551    /lib/libdl-2.6.1.so
b7d32000-b7e98000 r-xp 00000000 03:03 2779181    /usr/lib/libcrypto.so.0.9.8
b7e98000-b7e9f000 r--p 00165000 03:03 2779181    /usr/lib/libcrypto.so.0.9.8
b7e9f000-b7eae000 rw-p 0016c000 03:03 2779181    /usr/lib/libcrypto.so.0.9.8
b7eae000-b7eb1000 rw-p b7eae000 00:00 0 
b7eb1000-b7ef3000 r-xp 00000000 03:03 2779184    /usr/lib/libssl.so.0.9.8
b7ef3000-b7ef7000 rw-p 00042000 03:03 2779184    /usr/lib/libssl.so.0.9.8
b7ef7000-b7f09000 r-xp 00000000 03:03 539808     /lib/libz.so.1.2.3
b7f09000-b7f0b000 rw-p 00011000 03:03 539808     /lib/libz.so.1.2.3
b7f0b000-b7f2d000 r-xp 00000000 03:03 2854363    /usr/lib/libneon.so.26.0.3
b7f2d000-b7f2e000 r--p 00021000 03:03 2854363    /usr/lib/libneon.so.26.0.3
b7f2e000-b7f2f000 rw-p 00022000 03:03 2854363    /usr/lib/libneon.so.26.0.3
b7f2f000-b7f30000 rw-p b7f2f000 00:00 0 
b7f34000-b7f35000 rw-p b7f34000 00:00 0 
b7f35000-b7f36000 r-xp b7f35000 00:00 0          [vdso]
b7f36000-b7f50000 r-xp 00000000 03:03 2826571    /lib/ld-2.6.1.so
b7f50000-b7f51000 r--p 00019000 03:03 2826571    /lib/ld-2.6.1.so
b7f51000-b7f52000 rw-p 0001a000 03:03 2826571    /lib/ld-2.6.1.so
bfc44000-bfc59000 rw-p bfc44000 00:00 0          [stack]
Aborted

_Version and system information:_
gentoo-vm ~ # emerge -pv sitecopy

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-misc/sitecopy-0.16.3  USE="ssl zlib -expat -nls -rsh -webdav -xml" 940 kB 

Total: 1 package (1 reinstall), Size of downloads: 940 kB
gentoo-vm ~ # emerge --info
Portage 2.1.3.16 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.20-hardened-r6 i686)
=================================================================
System uname: 2.6.20-hardened-r6 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
Timestamp of tree: Thu, 01 Nov 2007 13:50:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="   http://mirror.uni-c.dk/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.dk.gentoo.org/gentoo-portage"
USE="apache2 berkdb bzip2 cracklib crypt directfb gif hardened jpeg jpeg2k libedit midi mmx mpm-worker mysql nosound nptl nptlonly pam php pic png readline sse sse2 ssl suhosin svg symlink tcpd threads unicode urandom vim-pager vim-syntax x86 xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vmware fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Frederik 'Freso' S. Olesen 2007-11-25 14:56:35 UTC
Happens on my AMD64 machine as well:
freso@nayru ~> sitecopy --fetch [...]
sitecopy: Fetching site `[...]' (on [...] in [...])
[...]'s password: 
*** glibc detected *** sitecopy: double free or corruption (!prev): 0x0000000000643e10 ***
======= Backtrace: =========
/lib/libc.so.6[0x2ad14c983aad]
/lib/libc.so.6(cfree+0x76)[0x2ad14c985796]
/lib/libc.so.6(fclose+0x154)[0x2ad14c974554]
sitecopy[0x40c1f0]
sitecopy[0x40c800]
sitecopy[0x403ff3]
sitecopy[0x40e27e]
sitecopy[0x40ee99]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2ad14c934b74]
sitecopy[0x4034a9]
======= Memory map: ========
00400000-00417000 r-xp 00000000 08:05 123334                             /usr/bin/sitecopy
00616000-00617000 r--p 00016000 08:05 123334                             /usr/bin/sitecopy
00617000-00618000 rw-p 00017000 08:05 123334                             /usr/bin/sitecopy
00618000-0065a000 rw-p 00618000 00:00 0                                  [heap]
2ad14b837000-2ad14b852000 r-xp 00000000 08:05 77507                      /lib64/ld-2.6.1.so
2ad14b852000-2ad14b853000 rw-p 2ad14b852000 00:00 0 
2ad14b853000-2ad14b854000 r--p 00000000 08:05 8954                       /usr/lib64/locale/da_DK.utf8/LC_IDENTIFICATION
2ad14b854000-2ad14b85b000 r--s 00000000 08:05 77041                      /usr/lib64/gconv/gconv-modules.cache
2ad14b85b000-2ad14b85c000 r--p 00000000 08:05 8953                       /usr/lib64/locale/da_DK.utf8/LC_MEASUREMENT
2ad14b85c000-2ad14b85d000 r--p 00000000 08:05 8952                       /usr/lib64/locale/da_DK.utf8/LC_TELEPHONE
2ad14b85d000-2ad14b85e000 r--p 00000000 08:05 8951                       /usr/lib64/locale/da_DK.utf8/LC_ADDRESS
2ad14b85e000-2ad14b85f000 r--p 00000000 08:05 8950                       /usr/lib64/locale/da_DK.utf8/LC_NAME
2ad14b85f000-2ad14b860000 r--p 00000000 08:05 8949                       /usr/lib64/locale/da_DK.utf8/LC_PAPER
2ad14b860000-2ad14b861000 r--p 00000000 08:05 8948                       /usr/lib64/locale/da_DK.utf8/LC_MESSAGES/SYS_LC_MESSAGES
2ad14b861000-2ad14b862000 r--p 00000000 08:05 8946                       /usr/lib64/locale/da_DK.utf8/LC_MONETARY
2ad14b86c000-2ad14b86d000 rw-p 2ad14b86c000 00:00 0 
2ad14b86d000-2ad14b94d000 r--p 00000000 08:05 8945                       /usr/lib64/locale/da_DK.utf8/LC_COLLATE
2ad14b94d000-2ad14b94e000 r--p 00000000 08:05 8944                       /usr/lib64/locale/da_DK.utf8/LC_TIME
2ad14b94e000-2ad14b94f000 r--p 00000000 08:05 8943                       /usr/lib64/locale/da_DK.utf8/LC_NUMERIC
2ad14b94f000-2ad14b98e000 r--p 00000000 08:05 8942                       /usr/lib64/locale/da_DK.utf8/LC_CTYPE
2ad14b98e000-2ad14b9a9000 r--p 00000000 08:05 77579                      /usr/share/locale/da/LC_MESSAGES/libc.mo
2ad14ba51000-2ad14ba52000 r--p 0001a000 08:05 77507                      /lib64/ld-2.6.1.so
2ad14ba52000-2ad14ba53000 rw-p 0001b000 08:05 77507                      /lib64/ld-2.6.1.so
2ad14ba53000-2ad14ba73000 r-xp 00000000 08:05 90538                      /usr/lib64/libneon.so.26.0.3
2ad14ba73000-2ad14bc72000 ---p 00020000 08:05 90538                      /usr/lib64/libneon.so.26.0.3
2ad14bc72000-2ad14bc73000 r--p 0001f000 08:05 90538                      /usr/lib64/libneon.so.26.0.3
2ad14bc73000-2ad14bc74000 rw-p 00020000 08:05 90538                      /usr/lib64/libneon.so.26.0.3
2ad14bc74000-2ad14bc88000 r-xp 00000000 08:05 57                         /lib64/libz.so.1.2.3
2ad14bc88000-2ad14bd87000 ---p 00014000 08:05 57                         /lib64/libz.so.1.2.3
2ad14bd87000-2ad14bd88000 rw-p 00013000 08:05 57                         /lib64/libz.so.1.2.3
2ad14bd88000-2ad14bdcc000 r-xp 00000000 08:05 17838                      /usr/lib64/libssl.so.0.9.8
2ad14bdcc000-2ad14becc000 ---p 00044000 08:05 17838                      /usr/lib64/libssl.so.0.9.8
2ad14becc000-2ad14bed3000 rw-p 00044000 08:05 17838                      /usr/lib64/libssl.so.0.9.8
2ad14bed3000-2ad14bed4000 rw-p 2ad14bed3000 00:00 0 
2ad14bed4000-2ad14c029000 r-xp 00000000 08:05 17835                      /usr/lib64/libcrypto.so.0.9.8
2ad14c029000-2ad14c129000 ---p 00155000 08:05 17835                      /usr/lib64/libcrypto.so.0.9.8
2ad14c129000-2ad14c14c000 rw-p 00155000 08:05 17835                      /usr/lib64/libcrypto.so.0.9.8
2ad14c14c000-2ad14c150000 rw-p 2ad14c14c000 00:00 0 
2ad14c150000-2ad14c152000 r-xp 00000000 08:05 77513                      /lib64/libdl-2.6.1.so
2ad14c152000-2ad14c352000 ---p 00002000 08:05 77513                      /lib64/libdl-2.6.1.so
2ad14c352000-2ad14c353000 r--p 00002000 08:05 77513                      /lib64/libdl-2.6.1.so
2ad14c353000-2ad14c354000 rw-p 00003000 08:05 77513                      /lib64/libdl-2.6.1.so
2ad14c354000-2ad14c48b000 r-xp 00000000 08:05 40166                      /usr/lib64/libxml2.so.2.6.30
2ad14c48b000-2ad14c68a000 ---p 00137000 08:05 40166                      /usr/lib64/libxml2.so.2.6.30
2ad14c68a000-2ad14c692000 r--p 00136000 08:05 40166                      /usr/lib64/libxml2.so.2.6.30
2ad14c692000-2ad14c694000 rw-p 0013e000 08:05 40166                      /usr/lib64/libxml2.so.2.6.30
2ad14c694000-2ad14c696000 rw-p 2ad14c694000 00:00 0 
2ad14c696000-2ad14c716000 r-xp 00000000 08:05 77514                      /lib64/libm-2.6.1.so
2ad14c716000-2ad14c915000 ---p 00080000 08:05 77514                      /lib64/libm-2.6.1.so
2ad14c915000-2ad14c916000 r--p 0007f000 08:05 77514                      /lib64/libm-2.6.1.so
2ad14c916000-2ad14c917000 rw-p 00080000 08:05 77514                      /lib64/libm-2.6.1.so
2ad14c917000-2ad14ca4d000 r-xp 00000000 08:05 77510                      /lib64/libc-2.6.1.so
2ad14ca4d000-2ad14cc4c000 ---p 00136000 08:05 77510                      /lib64/libc-2.6.1.so
2ad14cc4c000-2ad14cc50000 r--p 00135000 08:05 77510                      /lib64/libc-2.6.1.so
2ad14cc50000-2ad14cc51000 rw-p 00139000 08:05 77510                      /lib64/libc-2.6.1.so
2ad14cc51000-2ad14cc58000 rw-p 2ad14cc51000 00:00 0 
2ad14cc58000-2ad14cc5a000 r-xp 00000000 08:05 77528                      /usr/lib64/gconv/ISO8859-1.so
2ad14cc5a000-2ad14ce59000 ---p 00002000 08:05 77528                      /usr/lib64/gconv/ISO8859-1.so
2ad14ce59000-2ad14ce5a000 r--p 00001000 08:05 77528                      /usr/lib64/gconv/ISO8859-1.so
2ad14ce5a000-2ad14ce5b000 rw-p 00002000 08:05 77528                      /usr/lib64/gconv/ISO8859-1.so
2ad14ce5b000-2ad14ce5c000 rw-p 2ad14ce5b000 00:00 0 
2ad14ce75000-2ad14ce81000 r-xp 00000000 08:05 110832                     /lib64/libgcc_s.so.1
2ad14ce81000-2ad14cf81000 ---p 0000c000 08:05 110832                     /lib64/libgcc_s.so.1
2ad14cf81000-2ad14cf82000 rw-p 0000c000 08:05 110832                     /lib64/libgcc_s.so.1
2ad150000000-2ad150021000 rw-p 2ad150000000 00:00 0 
2ad150021000-2ad154000000 ---p 2ad150021000 00:00 0 
7fff5f25e000-7fff5f273000 rw-p 7fff5f25e000 00:00 0                      [stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vdso]
fish: Job 1, 'sitecopy --fetch [...]' terminated by signal SIGABRT (Abort)
freso@nayru ~> paludis --info
paludis 0.26.0_alpha4
Paludis build information:
    Compiler:
        CXX:                   x86_64-pc-linux-gnu-g++ 4.1.2 (Gentoo 4.1.2 p1.0.2)
        CXXFLAGS:              -march=athlon64 -msse3 -O2 -pipe
        LDFLAGS:               
        DATE:                  2007-11-21T16:38:19+0100

    Libraries:
        C++ Library:           GNU libstdc++ 20070214

    Reduced Privs:
        reduced_uid:           1000
        reduced_uid->name:     freso
        reduced_uid->dir:      /home/freso
        reduced_gid:           100
        reduced_gid->name:     users

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib64
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      
        RUBYINSTALLDIR:        

Repository virtuals:
    format:                    virtuals

Repository installed-virtuals:
    root:                      /
    format:                    installed_virtuals

Repository gentoo:
    format:                    ebuild
    layout:                    traditional
    location:                  /usr/portage
    profiles:                  /usr/portage/profiles/default-linux/amd64/2007.0/desktop
    cache:                     /usr/portage/metadata/cache
    write_cache:               /var/cache/paludis/metadata
    append_repository_name_to_write_cache: true
    ignore_deprecated_profiles: false
    names_cache:               /usr/portage/.cache/names
    distdir:                   /usr/portage/distfiles
    eclassdirs:                /usr/portage/eclass
    securitydir:               /usr/portage/metadata/glsa
    setsdir:                   /usr/portage/sets
    newsdir:                   /usr/portage/metadata/news
    sync:                      rsync://rsync.europe.gentoo.org/gentoo-portage
    sync_options:              
    builddir:                  /var/tmp/paludis
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    profile_eapi:              0

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       3.2_p17
        dev-java/java-config:  1.3.7 2.0.33-r1
        dev-lang/python:       2.4.4-r6
        dev-python/pycrypto:   2.0.1-r6
        dev-util/ccache:       (none)
        dev-util/confcache:    (none)
        sys-apps/baselayout:   1.12.9-r2
        sys-apps/sandbox:      1.2.18.1-r2
        sys-devel/autoconf:    2.13 2.61-r1
        sys-devel/automake:    1.10 1.5 1.7.9-r1 1.8.5-r3 1.9.6-r2
        sys-devel/binutils:    2.18-r1
        sys-devel/gcc-config:  1.3.16
        sys-devel/libtool:     1.5.24
        virtual/os-headers:    2.6.22-r2 (for sys-kernel/linux-headers::installed)

Repository installed:
    location:                  /var/db/pkg
    root:                      /
    format:                    vdb
    world:                     /var/db/pkg/world
    provides_cache:            /var/db/pkg/.cache/provides
    names_cache:               /var/db/pkg/.cache/names
    builddir:                  /var/tmp/paludis

Repository paludis-extras:
    format:                    ebuild
    layout:                    traditional
    location:                  /var/cache/paludis/repositories/paludis-extras
    profiles:                  /usr/portage/profiles/default-linux/amd64/2007.0/desktop
    cache:                     /var/empty
    write_cache:               /var/cache/paludis/metadata
    append_repository_name_to_write_cache: true
    ignore_deprecated_profiles: false
    names_cache:               /var/cache/paludis/repositories/paludis-extras/.cache/names
    distdir:                   /usr/portage/distfiles
    eclassdirs:                /usr/portage/eclass /var/cache/paludis/repositories/paludis-extras/eclass
    securitydir:               /var/cache/paludis/repositories/paludis-extras/metadata/glsa
    setsdir:                   /var/cache/paludis/repositories/paludis-extras/sets
    newsdir:                   /var/cache/paludis/repositories/paludis-extras/metadata/news
    sync:                      rsync://drzile.dyndns.org/paludis-extras/ rsync://server.guldbrand.net/paludis-extras/ rsync://nslinux.org/paludis-extras/
    sync_options:              
    builddir:                  /var/tmp/paludis
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    profile_eapi:              0
    master_repository:         gentoo


No packages were specified on the command line, so detailed information is not
available (Paludis can display detailed information for both installed and
installable packages).

freso@nayru ~> emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r9 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Sun, 25 Nov 2007 10:46:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla-firefox/defaults/pref /usr/lib64/mozilla-firefox/defaults/pref /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.dkuug.dk/pub/gentoo/ ftp://rsync.gentoo.diku.dk/ http://mirrors.uni-c.dk/gentoo/"
LANG="da_DK.utf8"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi aim alsa amd64 aotuv apache2 arts berkdb bitmap-fonts bonjour bzip2 cairo cdda cddb cdparanoia cdr cli colordiff cracklib crypt css ctype dbus divx dlloader dri dvd dvdnav dvdr dvdread eds emboss encode esd evo exif fam ffmpeg firefox flac ftp gd-external gdbm geoip gif glsa gnome gpgme gphoto2 graphviz gstreamer gtk gtkhtml hal hardened hardenedphp iconv icq idn imap innodb jabber javascript jpeg jpeg2k kde kerberos ldap libedit lm_sensors mad midi mikmod mmx mmxext mng mozdevelop moznocompose moznoirc moznomail mp3 mpeg msn mudflap musicbrainz mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs nvidia ogg opengl openmp openntpd openssh oscar pam pcre pdf php pic png python qt3 qt3support qt4 quicktime readline reflection reiserfs sdl session sftp spell spl sse sse2 ssl suhosin svg symlink tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb utf8 vhosts vim vim-pager vim-syntax vorbis xml xmlrpc xorg xv xvid yahoo zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2008-01-26 16:46:38 UTC
Fixed in -r1
Comment 3 Frederik 'Freso' S. Olesen 2008-02-29 08:27:01 UTC
I finally got around to test this, and I'm afraid to say that this still happens. :(

freso@nayru ~> sitecopy --fetch gigahost
sitecopy: Fetching site `gigahost' (on web5.gigahost.dk in /)
*** glibc detected *** sitecopy: double free or corruption (top): 0x0000000000646430 ***
======= Backtrace: =========
/lib/libc.so.6[0x2b46ec9b9aad]
/lib/libc.so.6(cfree+0x76)[0x2b46ec9bb796]
/lib/libc.so.6(fclose+0x154)[0x2b46ec9aa554]
sitecopy[0x40c300]
sitecopy[0x40c8e0]
sitecopy[0x404043]
sitecopy[0x40e36e]
sitecopy[0x40ef99]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2b46ec96ab74]
sitecopy[0x4034f9]
======= Memory map: ========
00400000-00417000 r-xp 00000000 08:05 235528                             /usr/bin/sitecopy
00616000-00617000 r--p 00016000 08:05 235528                             /usr/bin/sitecopy
00617000-00618000 rw-p 00017000 08:05 235528                             /usr/bin/sitecopy
00618000-0065a000 rw-p 00618000 00:00 0                                  [heap]
2b46eb564000-2b46eb57f000 r-xp 00000000 08:05 22185                      /lib64/ld-2.6.1.so
2b46eb57f000-2b46eb581000 rw-p 2b46eb57f000 00:00 0 
2b46eb581000-2b46eb582000 r--p 00000000 08:05 22061                      /usr/lib64/locale/da_DK.utf8/LC_IDENTIFICATION
2b46eb582000-2b46eb589000 r--s 00000000 08:05 18790                      /usr/lib64/gconv/gconv-modules.cache
2b46eb589000-2b46eb58a000 r--p 00000000 08:05 18811                      /usr/lib64/locale/da_DK.utf8/LC_MEASUREMENT
2b46eb58a000-2b46eb58b000 r--p 00000000 08:05 22057                      /usr/lib64/locale/da_DK.utf8/LC_TELEPHONE
2b46eb58b000-2b46eb58c000 r--p 00000000 08:05 22055                      /usr/lib64/locale/da_DK.utf8/LC_ADDRESS
2b46eb58c000-2b46eb58d000 r--p 00000000 08:05 22054                      /usr/lib64/locale/da_DK.utf8/LC_NAME
2b46eb58d000-2b46eb58e000 r--p 00000000 08:05 5191                       /usr/lib64/locale/da_DK.utf8/LC_PAPER
2b46eb58e000-2b46eb58f000 r--p 00000000 08:05 22053                      /usr/lib64/locale/da_DK.utf8/LC_MESSAGES/SYS_LC_MESSAGES
2b46eb58f000-2b46eb590000 r--p 00000000 08:05 22050                      /usr/lib64/locale/da_DK.utf8/LC_MONETARY
2b46eb590000-2b46eb670000 r--p 00000000 08:05 22048                      /usr/lib64/locale/da_DK.utf8/LC_COLLATE
2b46eb670000-2b46eb671000 r--p 00000000 08:05 22047                      /usr/lib64/locale/da_DK.utf8/LC_TIME
2b46eb671000-2b46eb672000 r--p 00000000 08:05 22046                      /usr/lib64/locale/da_DK.utf8/LC_NUMERIC
2b46eb672000-2b46eb6b1000 r--p 00000000 08:05 21798                      /usr/lib64/locale/da_DK.utf8/LC_CTYPE
2b46eb6b1000-2b46eb6cc000 r--p 00000000 08:05 129762                     /usr/share/locale/da/LC_MESSAGES/libc.mo
2b46eb77e000-2b46eb77f000 r--p 0001a000 08:05 22185                      /lib64/ld-2.6.1.so
2b46eb77f000-2b46eb780000 rw-p 0001b000 08:05 22185                      /lib64/ld-2.6.1.so
2b46eb780000-2b46eb7a0000 r-xp 00000000 08:05 207893                     /usr/lib64/libneon.so.26.0.4
2b46eb7a0000-2b46eb99f000 ---p 00020000 08:05 207893                     /usr/lib64/libneon.so.26.0.4
2b46eb99f000-2b46eb9a0000 r--p 0001f000 08:05 207893                     /usr/lib64/libneon.so.26.0.4
2b46eb9a0000-2b46eb9a1000 rw-p 00020000 08:05 207893                     /usr/lib64/libneon.so.26.0.4
2b46eb9a1000-2b46eb9b5000 r-xp 00000000 08:05 13887                      /lib64/libz.so.1.2.3
2b46eb9b5000-2b46ebbb4000 ---p 00014000 08:05 13887                      /lib64/libz.so.1.2.3
2b46ebbb4000-2b46ebbb5000 r--p 00013000 08:05 13887                      /lib64/libz.so.1.2.3
2b46ebbb5000-2b46ebbb6000 rw-p 00014000 08:05 13887                      /lib64/libz.so.1.2.3
2b46ebbb6000-2b46ebbfb000 r-xp 00000000 08:05 5406                       /usr/lib64/libssl.so.0.9.8
2b46ebbfb000-2b46ebdfa000 ---p 00045000 08:05 5406                       /usr/lib64/libssl.so.0.9.8
2b46ebdfa000-2b46ebdfc000 r--p 00044000 08:05 5406                       /usr/lib64/libssl.so.0.9.8
2b46ebdfc000-2b46ebe02000 rw-p 00046000 08:05 5406                       /usr/lib64/libssl.so.0.9.8
2b46ebe02000-2b46ebe03000 rw-p 2b46ebe02000 00:00 0 
2b46ebe03000-2b46ebf5f000 r-xp 00000000 08:05 14346                      /usr/lib64/libcrypto.so.0.9.8
2b46ebf5f000-2b46ec15e000 ---p 0015c000 08:05 14346                      /usr/lib64/libcrypto.so.0.9.8
2b46ec15e000-2b46ec16c000 r--p 0015b000 08:05 14346                      /usr/lib64/libcrypto.so.0.9.8
2b46ec16c000-2b46ec182000 rw-p 00169000 08:05 14346                      /usr/lib64/libcrypto.so.0.9.8
2b46ec182000-2b46ec186000 rw-p 2b46ec182000 00:00 0 
2b46ec186000-2b46ec188000 r-xp 00000000 08:05 345122                     /lib64/libdl-2.6.1.so
2b46ec188000-2b46ec388000 ---p 00002000 08:05 345122                     /lib64/libdl-2.6.1.so
2b46ec388000-2b46ec389000 r--p 00002000 08:05 345122                     /lib64/libdl-2.6.1.so
2b46ec389000-2b46ec38a000 rw-p 00003000 08:05 345122                     /lib64/libdl-2.6.1.so
2b46ec38a000-2b46ec4c1000 r-xp 00000000 08:05 759047                     /usr/lib64/libxml2.so.2.6.30
2b46ec4c1000-2b46ec6c0000 ---p 00137000 08:05 759047                     /usr/lib64/libxml2.so.2.6.30
2b46ec6c0000-2b46ec6c8000 r--p 00136000 08:05 759047                     /usr/lib64/libxml2.so.2.6.30
2b46ec6c8000-2b46ec6ca000 rw-p 0013e000 08:05 759047                     /usr/lib64/libxml2.so.2.6.30
2b46ec6ca000-2b46ec6cc000 rw-p 2b46ec6ca000 00:00 0 
2b46ec6cc000-2b46ec74c000 r-xp 00000000 08:05 345123                     /lib64/libm-2.6.1.so
2b46ec74c000-2b46ec94b000 ---p 00080000 08:05 345123                     /lib64/libm-2.6.1.so
2b46ec94b000-2b46ec94c000 r--p 0007f000 08:05 345123                     /lib64/libm-2.6.1.so
2b46ec94c000-2b46ec94d000 rw-p 00080000 08:05 345123                     /lib64/libm-2.6.1.so
2b46ec94d000-2b46eca83000 r-xp 00000000 08:05 345120                     /lib64/libc-2.6.1.so
2b46eca83000-2b46ecc82000 ---p 00136000 08:05 345120                     /lib64/libc-2.6.1.so
2b46ecc82000-2b46ecc86000 r--p 00135000 08:05 345120                     /lib64/libc-2.6.1.so
2b46ecc86000-2b46ecc87000 rw-p 00139000 08:05 345120                     /lib64/libc-2.6.1.so
2b46ecc87000-2b46ecc8e000 rw-p 2b46ecc87000 00:00 0 
2b46ecc8e000-2b46ecc90000 r-xp 00000000 08:05 130189                     /usr/lib64/gconv/ISO8859-1.so
2b46ecc90000-2b46ece8f000 ---p 00002000 08:05 130189                     /usr/lib64/gconv/ISO8859-1.so
2b46ece8f000-2b46ece90000 r--p 00001000 08:05 130189                     /usr/lib64/gconv/ISO8859-1.so
2b46ece90000-2b46ece91000 rw-p 00002000 08:05 130189                     /usr/lib64/gconv/ISO8859-1.so
2b46ece91000-2b46ece92000 rw-p 2b46ece91000 00:00 0 
2b46eceb1000-2b46ecebe000 r-xp 00000000 08:05 19241                      /lib64/libgcc_s.so.1
2b46ecebe000-2b46ed0bd000 ---p 0000d000 08:05 19241                      /lib64/libgcc_s.so.1
2b46ed0bd000-2b46ed0be000 r--p 0000c000 08:05 19241                      /lib64/libgcc_s.so.1
2b46ed0be000-2b46ed0bf000 rw-p 0000d000 08:05 19241                      /lib64/libgcc_s.so.1
2b46f0000000-2b46f0021000 rw-p 2b46f0000000 00:00 0 
2b46f0021000-2b46f4000000 ---p 2b46f0021000 00:00 0 
7fffbf531000-7fffbf546000 rw-p 7ffffffea000 00:00 0                      [stack]
7fffbf5fe000-7fffbf600000 r-xp 7fffbf5fe000 00:00 0                      [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
fish: Job 1, 'sitecopy --fetch gigahost' terminated by signal SIGABRT (Abort)
freso@nayru ~> emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Fri, 29 Feb 2008 07:46:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0_rc6-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla-firefox/defaults/pref /usr/lib64/mozilla-firefox/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.dkuug.dk/pub/gentoo/ ftp://rsync.gentoo.diku.dk/ http://mirrors.uni-c.dk/gentoo/"
LANG="da_DK.utf8"
LINGUAS="da en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext aac acl acpi aim alsa amd64 aotuv apache2 arts berkdb bitmap-fonts bzip2 cairo cdda cddb cdparanoia cdr cli colordiff cracklib crypt css ctype dbus divx dlloader dri dvd dvdnav dvdr dvdread eds emboss encode evo exif fam ffmpeg firefox flac ftp gd-external gdbm geoip gif glsa gnome gpgme gphoto2 graphviz gstreamer gtk gtkhtml hal hardened hardenedphp iconv icq idn imap innodb jabber javascript jpeg jpeg2k kde libedit lm_sensors mad midi mikmod mmx mmxext mng mozdevelop moznocompose moznoirc moznomail mp3 mpeg msn mudflap musicbrainz ncurses nls nptl nptlonly nsplugin ntfs nvidia ogg opengl openmp openntpd openssh oscar pam pcre pdf php pic png qt3 qt3support qt4 quicktime readline reflection reiserfs sdl session sftp spell spl sse sse2 ssl suhosin svg symlink tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb utf8 vhosts vim vim-pager vim-syntax vorbis xml xmlrpc xorg xv xvid yahoo zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="da en" USERLAND="GNU" VIDEO_CARDS="nvidia nv fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

(Note that I'm using Paludis on this machine, so the above `emerge --info` may not be completely in sync with the actual system - esp. with regards to USE flags and such.)
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2008-03-25 16:49:21 UTC
Try with _p15