[root@dublin pacman]# valgrind --leak-check=full --show-reachable=yes --track-origins=yes ./src/pacman/.libs/lt-pacman -U http://mirror.aarnet.edu.au/pub/archlinux/extra/os/i686/qt-4.5.2-5-i686.pkg.tar.gz ==17864== ./.valgrindrc was not read as it is world writeable or not owned by the current user ==17864== Memcheck, a memory error detector. ==17864== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al. ==17864== Using LibVEX rev 1884, a library for dynamic binary translation. ==17864== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP. ==17864== Using valgrind-3.4.1, a dynamic binary instrumentation framework. ==17864== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al. ==17864== For more details, rerun with: -v ==17864== ==17864== Invalid write of size 1 243.7K/s 00:01:46 [-------C o o o o o o o o o o o o o o o o o o o o o o o o o o ] 8% ==17864== at 0x406838F: fetch_getln (in /usr/lib/libfetch.so) ==17864== by 0x406EBC1: http_readfn (in /usr/lib/libfetch.so) ==17864== by 0x4066CE9: fetchIO_read (in /usr/lib/libfetch.so) ==17864== by 0x403D277: download_internal (dload.c:216) ==17864== by 0x403D7CC: alpm_fetch_pkgurl (dload.c:366) ==17864== by 0x8053BF5: pacman_upgrade (upgrade.c:57) ==17864== by 0x804EC24: main (pacman.c:1058) ==17864== Address 0x44024c5 is 5 bytes inside a block of size 1,025 free'd ==17864== at 0x4025360: realloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==17864== by 0x406835A: fetch_getln (in /usr/lib/libfetch.so) ==17864== by 0x406EBC1: http_readfn (in /usr/lib/libfetch.so) ==17864== by 0x4066CE9: fetchIO_read (in /usr/lib/libfetch.so) ==17864== by 0x403D277: download_internal (dload.c:216) ==17864== by 0x403D7CC: alpm_fetch_pkgurl (dload.c:366) ==17864== by 0x8053BF5: pacman_upgrade (upgrade.c:57) ==17864== by 0x804EC24: main (pacman.c:1058) ==17864== ==17864== Invalid read of size 1 ==17864== at 0x4026A08: memmove (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==17864== by 0x40681C4: fetch_read (in /usr/lib/libfetch.so) ==17864== by 0x406EC39: http_readfn (in /usr/lib/libfetch.so) ==17864== by 0x4066CE9: fetchIO_read (in /usr/lib/libfetch.so) ==17864== by 0x403D277: download_internal (dload.c:216) ==17864== by 0x403D7CC: alpm_fetch_pkgurl (dload.c:366) ==17864== by 0x8053BF5: pacman_upgrade (upgrade.c:57) ==17864== by 0x804EC24: main (pacman.c:1058) ==17864== Address 0x44034c5 is 37 bytes inside a block of size 54 free'd ==17864== at 0x4023EBA: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==17864== by 0x4048EC7: _alpm_lstat (util.c:658) ==17864== by 0x4049676: _alpm_rmrf (util.c:395) ==17864== by 0x403D134: download_internal (dload.c:200) ==17864== by 0x403D7CC: alpm_fetch_pkgurl (dload.c:366) ==17864== by 0x8053BF5: pacman_upgrade (upgrade.c:57) ==17864== by 0x804EC24: main (pacman.c:1058) ==17864== ==17864== Invalid read of size 1 ==17864== at 0x4026A1A: memmove (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==17864== by 0x40681C4: fetch_read (in /usr/lib/libfetch.so) ==17864== by 0x406EC39: http_readfn (in /usr/lib/libfetch.so) ==17864== by 0x4066CE9: fetchIO_read (in /usr/lib/libfetch.so) ==17864== by 0x403D277: download_internal (dload.c:216) ==17864== by 0x403D7CC: alpm_fetch_pkgurl (dload.c:366) ==17864== by 0x8053BF5: pacman_upgrade (upgrade.c:57) ==17864== by 0x804EC24: main (pacman.c:1058) ==17864== Address 0x44034c3 is 35 bytes inside a block of size 54 free'd ==17864== at 0x4023EBA: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==17864== by 0x4048EC7: _alpm_lstat (util.c:658) ==17864== by 0x4049676: _alpm_rmrf (util.c:395) ==17864== by 0x403D134: download_internal (dload.c:200) ==17864== by 0x403D7CC: alpm_fetch_pkgurl (dload.c:366) ==17864== by 0x8053BF5: pacman_upgrade (upgrade.c:57) ==17864== by 0x804EC24: main (pacman.c:1058) ==17864== ==17864== Syscall param write(buf) points to uninitialised byte(s) ==17864== at 0x430C923: __write_nocancel (in /lib/libc-2.10.1.so) ==17864== by 0x42B523E: new_do_write (in /lib/libc-2.10.1.so) ==17864== by 0x42B54D5: _IO_file_xsputn@@GLIBC_2.1 (in /lib/libc-2.10.1.so) ==17864== by 0x42AB0B9: fwrite (in /lib/libc-2.10.1.so) ==17864== by 0x403D2A5: download_internal (dload.c:218) ==17864== by 0x403D7CC: alpm_fetch_pkgurl (dload.c:366) ==17864== by 0x8053BF5: pacman_upgrade (upgrade.c:57) ==17864== by 0x804EC24: main (pacman.c:1058) ==17864== Address 0xbebf029d is on thread 1's stack ==17864== Uninitialised value was created by a heap allocation ==17864== at 0x402522D: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==17864== by 0x42D9119: __tzfile_read (in /lib/libc-2.10.1.so) ==17864== by 0x42D83E9: tzset_internal (in /lib/libc-2.10.1.so) ==17864== by 0x42D8530: __tz_convert (in /lib/libc-2.10.1.so) ==17864== by 0x42D6B9B: gmtime_r (in /lib/libc-2.10.1.so) ==17864== by 0x42D6C4A: ranged_convert (in /lib/libc-2.10.1.so) ==17864== by 0x42D6F0B: __mktime_internal (in /lib/libc-2.10.1.so) ==17864== by 0x42D9E47: timegm (in /lib/libc-2.10.1.so) ==17864== by 0x406DB01: http_request (in /usr/lib/libfetch.so) ==17864== by 0x406E4E9: fetchXGetHTTP (in /usr/lib/libfetch.so) ==17864== by 0x40697B9: fetchXGet (in /usr/lib/libfetch.so) ==17864== by 0x403CF2A: download_internal (dload.c:165) ==17864== ==17864== Syscall param write(buf) points to uninitialised byte(s) ==17864== at 0x430C923: __write_nocancel (in /lib/libc-2.10.1.so) ==17864== by 0x42B523E: new_do_write (in /lib/libc-2.10.1.so) ==17864== by 0x42B5525: _IO_do_write@@GLIBC_2.1 (in /lib/libc-2.10.1.so) ==17864== by 0x42B606C: _IO_file_overflow@@GLIBC_2.1 (in /lib/libc-2.10.1.so) ==17864== by 0x42B538D: _IO_file_xsputn@@GLIBC_2.1 (in /lib/libc-2.10.1.so) ==17864== by 0x42AB0B9: fwrite (in /lib/libc-2.10.1.so) ==17864== by 0x403D2A5: download_internal (dload.c:218) ==17864== by 0x403D7CC: alpm_fetch_pkgurl (dload.c:366) ==17864== by 0x8053BF5: pacman_upgrade (upgrade.c:57) ==17864== by 0x804EC24: main (pacman.c:1058) ==17864== Address 0x4060082 is not stack'd, malloc'd or (recently) free'd ==17864== Uninitialised value was created by a heap allocation ==17864== at 0x402522D: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==17864== by 0x42AA52E: __fopen_internal (in /lib/libc-2.10.1.so) ==17864== by 0x42ACCCB: fopen64 (in /lib/libc-2.10.1.so) ==17864== by 0x403D166: download_internal (dload.c:203) ==17864== by 0x403D7CC: alpm_fetch_pkgurl (dload.c:366) ==17864== by 0x8053BF5: pacman_upgrade (upgrade.c:57) ==17864== by 0x804EC24: main (pacman.c:1058) nread: 0 fetchErr: 0 fetchErr: error: qt-4.5.2-5-i686.pkg.tar.gz appears to be truncated: 2488320/28909758 bytes ==17864== ==17864== Syscall param write(buf) points to uninitialised byte(s) ==17864== at 0x430C923: __write_nocancel (in /lib/libc-2.10.1.so) ==17864== by 0x42B523E: new_do_write (in /lib/libc-2.10.1.so) ==17864== by 0x42B5525: _IO_do_write@@GLIBC_2.1 (in /lib/libc-2.10.1.so) ==17864== by 0x42B6A9F: _IO_file_close_it@@GLIBC_2.1 (in /lib/libc-2.10.1.so) ==17864== by 0x42A9C47: fclose@@GLIBC_2.1 (in /lib/libc-2.10.1.so) ==17864== by 0x403D049: download_internal (dload.c:262) ==17864== by 0x403D7CC: alpm_fetch_pkgurl (dload.c:366) ==17864== by 0x8053BF5: pacman_upgrade (upgrade.c:57) ==17864== by 0x804EC24: main (pacman.c:1058) ==17864== Address 0x406001e is not stack'd, malloc'd or (recently) free'd ==17864== Uninitialised value was created by a heap allocation ==17864== at 0x402522D: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==17864== by 0x431A3D4: tsearch (in /lib/libc-2.10.1.so) ==17864== by 0x4267589: add_alias2 (in /lib/libc-2.10.1.so) ==17864== by 0x4267D20: __gconv_read_conf (in /lib/libc-2.10.1.so) ==17864== by 0x43E8F0F: pthread_once (in /lib/libpthread-2.10.1.so) ==17864== by 0x42D580D: __wcsmbs_getfct (in /lib/libc-2.10.1.so) ==17864== by 0x42D59CF: __wcsmbs_load_conv (in /lib/libc-2.10.1.so) ==17864== by 0x42D5FD9: __mbsrtowcs_l (in /lib/libc-2.10.1.so) ==17864== by 0x42CB300: mbsrtowcs (in /lib/libc-2.10.1.so) ==17864== by 0x427BB6F: mbstowcs (in /lib/libc-2.10.1.so) ==17864== by 0x8052EA7: cb_dl_progress (callback.c:543) ==17864== by 0x403D251: download_internal (dload.c:213) warning: failed to download http://mirror.aarnet.edu.au/pub/archlinux/extra/os/i686/qt-4.5.2-5-i686.pkg.tar.gz ==17864== ==17864== ERROR SUMMARY: 9831 errors from 6 contexts (suppressed: 45 from 1) ==17864== malloc/free: in use at exit: 0 bytes in 0 blocks. ==17864== malloc/free: 2,791 allocs, 2,791 frees, 136,249 bytes allocated. ==17864== For counts of detected errors, rerun with: -v ==17864== All heap blocks were freed -- no leaks are possible.