==7208== Memcheck, a memory error detector. ==7208== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==7208== Using LibVEX rev 1606, a library for dynamic binary translation. ==7208== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. ==7208== Using valgrind-3.2.0, a dynamic binary instrumentation framework. ==7208== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. ==7208== ==7208== My PID = 7208, parent PID = 3041. Prog and args are: ==7208== /usr/libexec/mozilla-launcher ==7208== --7208-- --7208-- Command line --7208-- /usr/libexec/mozilla-launcher --7208-- Startup, with flags: --7208-- --tool=memcheck --7208-- -v --7208-- -v --7208-- --trace-children=yes --7208-- --track-fds=yes --7208-- --log-file=firefox.vald --7208-- --error-limit=no --7208-- --leak-check=full --7208-- Contents of /proc/version: --7208-- Linux version 2.6.17-gentoo-r8 (root@trinity) (gcc version 4.1.1 (Gentoo 4.1.1)) #1 PREEMPT Mon Sep 18 12:20:50 EDT 2006 --7208-- Arch and hwcaps: X86, x86-sse0 --7208-- Valgrind library directory: /usr/lib/valgrind --7208-- TT/TC: VG_(init_tt_tc) (startup of code management) --7208-- TT/TC: cache: 8 sectors of 20127744 bytes each = 161021952 total --7208-- TT/TC: table: 524168 total entries, max occupancy 419328 (80%) --7208-- Reading syms from /lib/ld-2.4.so (0x4000000) --7208-- summarise_context(loc_start = 0x5D): cannot summarise(why=1): 0x66: 44(r3) u u u c-36 u u c-44 c-40 c-4 u u u u u u u u u u u --7208-- summarise_context(loc_start = 0x66): cannot summarise(why=1): 0x69: 44(r3) u u u c-36 u u u c-40 c-4 u u u u u u u u u u u --7208-- summarise_context(loc_start = 0x69): cannot summarise(why=1): 0x78: 44(r3) u u u c-36 u u u u c-4 u u u u u u u u u u u --7208-- Reading syms from /bin/bash (0x8048000) --7208-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000) --7208-- object doesn't have a dynamic symbol table --7208-- Reading suppressions file: /usr/lib/valgrind/default.supp --7208-- TT/TC: initialise sector 0 --7208-- REDIR: 0x4014890 (index) redirected to 0x38027BF3 (vgPlain_x86_linux_REDIR_FOR_index) --7208-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x401C000) --7208-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x401F000) ==7208== WARNING: new redirection conflicts with existing -- ignoring it --7208-- new: 0x04014890 (index ) R-> 0x04022370 index --7208-- REDIR: 0x4014A30 (strlen) redirected to 0x4022420 (strlen) --7208-- Reading syms from /lib/libncurses.so.5.5 (0x403B000) --7208-- Reading syms from /lib/libdl-2.4.so (0x407D000) --7208-- Reading syms from /lib/libc-2.4.so (0x4081000) --7208-- summarise_context(loc_start = 0x18): cannot summarise(why=1): 0x24: 0(r0) u u u c0 r1 c12 c4 c8 r2 u u u u u u u u u u u --7208-- summarise_context(loc_start = 0x24): cannot summarise(why=1): 0x2C: 0(r0) u u u u r1 u u u r2 u u u u u u u u u u u --7208-- summarise_context(loc_start = 0x34): cannot summarise(why=1): 0x4D: 0(r0) u c60 c56 c52 u c44 c40 c36 c-4 u u u u u u u u u u u --7208-- REDIR: 0x40E9A20 (rindex) redirected to 0x4022250 (rindex) --7208-- REDIR: 0x40E90D0 (strcmp) redirected to 0x40224D0 (strcmp) --7208-- REDIR: 0x40E9630 (strlen) redirected to 0x4022400 (strlen) --7208-- REDIR: 0x40E9830 (strncmp) redirected to 0x4022460 (strncmp) --7208-- REDIR: 0x40E8F60 (index) redirected to 0x4022340 (index) --7208-- REDIR: 0x40EB690 (strchrnul) redirected to 0x4022780 (strchrnul) --7208-- REDIR: 0x40E69B0 (malloc) redirected to 0x4021580 (malloc) --7208-- REDIR: 0x40EAD50 (memcpy) redirected to 0x4022E50 (memcpy) --7208-- REDIR: 0x40E4780 (free) redirected to 0x4021120 (free) --7208-- REDIR: 0x40EA380 (memchr) redirected to 0x40225F0 (memchr) --7208-- REDIR: 0x40E6DE0 (realloc) redirected to 0x4021640 (realloc) --7208-- REDIR: 0x40E96E0 (strnlen) redirected to 0x40223D0 (strnlen) --7208-- REDIR: 0x40EAA70 (stpcpy) redirected to 0x4022C70 (stpcpy) --7208-- REDIR: 0x40E9140 (strcpy) redirected to 0x40229E0 (strcpy) --7208-- REDIR: 0x40EB5C0 (rawmemchr) redirected to 0x40227B0 (rawmemchr) --7208-- REDIR: 0x40EA880 (memset) redirected to 0x40226F0 (memset) --7208-- REDIR: 0x40E9980 (strncpy) redirected to 0x40228B0 (strncpy) --7232-- Caught __NR_exit; running __libc_freeres() ==7232== ==7232== FILE DESCRIPTORS: 14 open at exit. ==7232== Open file descriptor 18: ==7232== ==7232== ==7232== Open file descriptor 17: ==7232== ==7232== ==7232== Open file descriptor 16: ==7232== ==7232== ==7232== Open file descriptor 15: ==7232== ==7232== ==7232== Open file descriptor 9: /dev/random ==7232== ==7232== ==7232== Open file descriptor 8: /home/xeno/firefox.vald.7208.1 ==7232== ==7232== ==7232== Open file descriptor 7: ==7232== ==7232== ==7232== Open file descriptor 6: ==7232== ==7232== ==7232== Open file descriptor 5: /usr/share/X11/locale/en_US.UTF-8/Compose ==7232== ==7232== ==7232== Open file descriptor 4: /home/xeno/firefox.vald.7208 ==7232== ==7232== ==7232== Open file descriptor 3: ==7232== ==7232== ==7232== Open file descriptor 2: /dev/pts/2 ==7232== ==7232== ==7232== Open file descriptor 1: ==7232== at 0x412D716: dup2 (in /lib/libc-2.4.so) ==7232== by 0x80838CF: param_expand (subst.c:6466) ==7232== by 0x8084350: expand_word_internal (subst.c:6820) ==7232== by 0x8085227: expand_word_list_internal (subst.c:7866) ==7232== by 0x808E030: assign_array_var_from_string (arrayfunc.c:311) ==7232== by 0x807F767: do_assignment_internal (subst.c:2195) ==7232== by 0x8085124: expand_word_list_internal (subst.c:7951) ==7232== by 0x806DE8B: execute_simple_command (execute_cmd.c:2798) ==7232== by 0x806C53C: execute_command_internal (execute_cmd.c:667) ==7232== by 0x806D322: execute_command_internal (execute_cmd.c:1510) ==7232== by 0x806B302: execute_command (execute_cmd.c:350) ==7232== by 0x806D2EC: execute_command_internal (execute_cmd.c:1508) ==7232== ==7232== Open file descriptor 0: /dev/pts/2 ==7232== ==7232== ==7232== ==7232== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 23 from 1) --7232-- --7232-- supp: 23 Fedora-Core-5-hack3-ld24 ==7232== malloc/free: in use at exit: 83,877 bytes in 4,994 blocks. ==7232== malloc/free: 11,317 allocs, 6,323 frees, 264,352 bytes allocated. ==7232== ==7232== searching for pointers to 4,994 not-freed blocks. ==7232== checked 205,964 bytes. ==7232== ==7232== 37 (8 direct, 29 indirect) bytes in 1 blocks are definitely lost in loss record 1 of 5 ==7232== at 0x40215E8: malloc (vg_replace_malloc.c:149) ==7232== by 0x8099AB9: xmalloc (xmalloc.c:87) ==7232== by 0x8062274: read_token (parse.y:3685) ==7232== by 0x8061D40: read_token (parse.y:4722) ==7232== by 0x806454E: yyparse (parse.y:2207) ==7232== by 0x805E31E: parse_command (eval.c:222) ==7232== by 0x805E3D6: read_command (eval.c:266) ==7232== by 0x805E60F: reader_loop (eval.c:132) ==7232== by 0x805E0EE: main (shell.c:714) ==7232== ==7232== LEAK SUMMARY: ==7232== definitely lost: 8 bytes in 1 blocks. ==7232== indirectly lost: 29 bytes in 1 blocks. ==7232== possibly lost: 0 bytes in 0 blocks. ==7232== still reachable: 83,840 bytes in 4,992 blocks. ==7232== suppressed: 0 bytes in 0 blocks. ==7232== Reachable blocks (those to which a pointer was found) are not shown. ==7232== To see them, rerun with: --show-reachable=yes --7232-- memcheck: sanity checks: 27 cheap, 2 expensive --7232-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use --7232-- memcheck: auxmaps: 0 searches, 0 comparisons --7232-- memcheck: SMs: n_issued = 27 (432k, 0M) --7232-- memcheck: SMs: n_deissued = 1 (16k, 0M) --7232-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M) --7232-- memcheck: SMs: max_undefined = 0 (0k, 0M) --7232-- memcheck: SMs: max_defined = 44 (704k, 0M) --7232-- memcheck: SMs: max_non_DSM = 26 (416k, 0M) --7232-- memcheck: max sec V bit nodes: 2 (0k, 0M) --7232-- memcheck: set_sec_vbits8 calls: 4 (new: 2, updates: 2) --7232-- memcheck: max shadow mem size: 720k, 0M --7232-- translate: fast SP updates identified: 9,015 ( 82.7%) --7232-- translate: generic_known SP updates identified: 1,015 ( 9.3%) --7232-- translate: generic_unknown SP updates identified: 869 ( 7.9%) --7232-- tt/tc: 18,329 tt lookups requiring 19,319 probes --7232-- tt/tc: 18,329 fast-cache updates, 3 flushes --7232-- transtab: new 7,511 (167,321 -> 2,622,820; ratio 156:10) [0 scs] --7232-- transtab: dumped 0 (0 -> ??) --7232-- transtab: discarded 5 (113 -> ??) --7232-- scheduler: 2,758,078 jumps (bb entries). --7232-- scheduler: 27/28,749 major/minor sched events. --7232-- sanity: 28 cheap, 2 expensive checks. --7232-- exectx: 30,011 lists, 4,502 contexts (avg 0 per list) --7232-- exectx: 17,693 searches, 13,803 full compares (780 per 1000) --7232-- exectx: 9,463 cmp2, 85 cmp4, 0 cmpAll --7232-- --7232-- ------ Valgrind's internal memory use stats follow ------ --7232-- core : 1 sbs, 317 bs, 2/2 free bs, 1048576 mmap, 9328 loan --7232-- tool : 1 sbs, 11350 bs, 2/2 free bs, 1048576 mmap, 506616 loan --7232-- symtab : 7 sbs, 357 bs, 14/14 free bs, 9347072 mmap, 7626544 loan --7232-- client : 1 sbs, 11318 bs, 1/1 free bs, 1048576 mmap, 291520 loan --7232-- demangle: 0 sbs, 0 bs, 0/0 free bs, 0 mmap, 0 loan --7232-- exectxt : 2 sbs, 4504 bs, 2/2 free bs, 524288 mmap, 247856 loan --7232-- errors : 1 sbs, 9 bs, 1/1 free bs, 65536 mmap, 320 loan --7232-- ttaux : 1 sbs, 213 bs, 23/23 free bs, 65536 mmap, 24376 loan --7232-- ------ --7232-- core : 1048576 mmap'd, 74992/ 9328 max/curr --7232-- tool : 1048576 mmap'd, 566544/ 506616 max/curr --7232-- symtab : 9347072 mmap'd, 8584144/ 7626544 max/curr --7232-- client : 1048576 mmap'd, 291520/ 291520 max/curr --7232-- demangle: 0 mmap'd, 0/ 0 max/curr --7232-- exectxt : 524288 mmap'd, 247856/ 247856 max/curr --7232-- errors : 65536 mmap'd, 320/ 320 max/curr --7232-- ttaux : 65536 mmap'd, 24648/ 24376 max/curr --7232-- --7259-- Caught __NR_exit; running __libc_freeres() ==7259== ==7259== FILE DESCRIPTORS: 14 open at exit. ==7259== Open file descriptor 18: ==7259== ==7259== ==7259== Open file descriptor 17: ==7259== ==7259== ==7259== Open file descriptor 16: ==7259== ==7259== ==7259== Open file descriptor 15: ==7259== ==7259== ==7259== Open file descriptor 9: /dev/random ==7259== ==7259== ==7259== Open file descriptor 8: /home/xeno/firefox.vald.7208.1 ==7259== ==7259== ==7259== Open file descriptor 7: ==7259== ==7259== ==7259== Open file descriptor 6: ==7259== ==7259== ==7259== Open file descriptor 5: /usr/share/X11/locale/en_US.UTF-8/Compose ==7259== ==7259== ==7259== Open file descriptor 4: /home/xeno/firefox.vald.7208 ==7259== ==7259== ==7259== Open file descriptor 3: ==7259== ==7259== ==7259== Open file descriptor 2: /dev/pts/2 ==7259== ==7259== ==7259== Open file descriptor 1: ==7259== at 0x412D716: dup2 (in /lib/libc-2.4.so) ==7259== by 0x80838CF: param_expand (subst.c:6466) ==7259== by 0x8084350: expand_word_internal (subst.c:6820) ==7259== by 0x808598C: call_expand_word_internal (subst.c:2650) ==7259== by 0x8085F59: expand_string_assignment (subst.c:2735) ==7259== by 0x807F4CD: expand_string_if_necessary (subst.c:2513) ==7259== by 0x807F804: do_assignment_internal (subst.c:2257) ==7259== by 0x8085124: expand_word_list_internal (subst.c:7951) ==7259== by 0x806DE8B: execute_simple_command (execute_cmd.c:2798) ==7259== by 0x806C53C: execute_command_internal (execute_cmd.c:667) ==7259== by 0x806D322: execute_command_internal (execute_cmd.c:1510) ==7259== by 0x806B302: execute_command (execute_cmd.c:350) ==7259== ==7259== Open file descriptor 0: /dev/pts/2 ==7259== ==7259== ==7259== ==7259== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 23 from 1) --7259-- --7259-- supp: 23 Fedora-Core-5-hack3-ld24 ==7259== malloc/free: in use at exit: 347,875 bytes in 5,198 blocks. ==7259== malloc/free: 12,153 allocs, 6,955 frees, 542,704 bytes allocated. ==7259== ==7259== searching for pointers to 5,198 not-freed blocks. ==7259== checked 208,148 bytes. ==7259== ==7259== 37 (8 direct, 29 indirect) bytes in 1 blocks are definitely lost in loss record 1 of 5 ==7259== at 0x40215E8: malloc (vg_replace_malloc.c:149) ==7259== by 0x8099AB9: xmalloc (xmalloc.c:87) ==7259== by 0x8062274: read_token (parse.y:3685) ==7259== by 0x8061D40: read_token (parse.y:4722) ==7259== by 0x806454E: yyparse (parse.y:2207) ==7259== by 0x805E31E: parse_command (eval.c:222) ==7259== by 0x805E3D6: read_command (eval.c:266) ==7259== by 0x805E60F: reader_loop (eval.c:132) ==7259== by 0x805E0EE: main (shell.c:714) ==7259== ==7259== LEAK SUMMARY: ==7259== definitely lost: 8 bytes in 1 blocks. ==7259== indirectly lost: 29 bytes in 1 blocks. ==7259== possibly lost: 0 bytes in 0 blocks. ==7259== still reachable: 347,838 bytes in 5,196 blocks. ==7259== suppressed: 0 bytes in 0 blocks. ==7259== Reachable blocks (those to which a pointer was found) are not shown. ==7259== To see them, rerun with: --show-reachable=yes --7259-- memcheck: sanity checks: 28 cheap, 2 expensive --7259-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use --7259-- memcheck: auxmaps: 0 searches, 0 comparisons --7259-- memcheck: SMs: n_issued = 29 (464k, 0M) --7259-- memcheck: SMs: n_deissued = 1 (16k, 0M) --7259-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M) --7259-- memcheck: SMs: max_undefined = 3 (48k, 0M) --7259-- memcheck: SMs: max_defined = 44 (704k, 0M) --7259-- memcheck: SMs: max_non_DSM = 28 (448k, 0M) --7259-- memcheck: max sec V bit nodes: 2 (0k, 0M) --7259-- memcheck: set_sec_vbits8 calls: 4 (new: 2, updates: 2) --7259-- memcheck: max shadow mem size: 752k, 0M --7259-- translate: fast SP updates identified: 9,849 ( 82.8%) --7259-- translate: generic_known SP updates identified: 1,099 ( 9.2%) --7259-- translate: generic_unknown SP updates identified: 943 ( 7.9%) --7259-- tt/tc: 20,158 tt lookups requiring 21,418 probes --7259-- tt/tc: 20,158 fast-cache updates, 3 flushes --7259-- transtab: new 8,154 (180,478 -> 2,836,443; ratio 157:10) [0 scs] --7259-- transtab: dumped 0 (0 -> ??) --7259-- transtab: discarded 5 (113 -> ??) --7259-- scheduler: 2,845,730 jumps (bb entries). --7259-- scheduler: 28/31,464 major/minor sched events. --7259-- sanity: 29 cheap, 2 expensive checks. --7259-- exectx: 30,011 lists, 5,234 contexts (avg 0 per list) --7259-- exectx: 19,167 searches, 14,708 full compares (767 per 1000) --7259-- exectx: 10,160 cmp2, 85 cmp4, 0 cmpAll --7259-- --7259-- ------ Valgrind's internal memory use stats follow ------ --7259-- core : 1 sbs, 317 bs, 2/2 free bs, 1048576 mmap, 9328 loan --7259-- tool : 1 sbs, 12186 bs, 2/2 free bs, 1048576 mmap, 519992 loan --7259-- symtab : 7 sbs, 357 bs, 14/14 free bs, 9347072 mmap, 7626544 loan --7259-- client : 2 sbs, 12155 bs, 2/2 free bs, 2097152 mmap, 572424 loan --7259-- demangle: 0 sbs, 0 bs, 0/0 free bs, 0 mmap, 0 loan --7259-- exectxt : 2 sbs, 5236 bs, 2/2 free bs, 524288 mmap, 288848 loan --7259-- errors : 1 sbs, 9 bs, 1/1 free bs, 65536 mmap, 320 loan --7259-- ttaux : 1 sbs, 219 bs, 28/28 free bs, 65536 mmap, 26128 loan --7259-- ------ --7259-- core : 1048576 mmap'd, 74992/ 9328 max/curr --7259-- tool : 1048576 mmap'd, 582368/ 519992 max/curr --7259-- symtab : 9347072 mmap'd, 8584144/ 7626544 max/curr --7259-- client : 2097152 mmap'd, 572424/ 572424 max/curr --7259-- demangle: 0 mmap'd, 0/ 0 max/curr --7259-- exectxt : 524288 mmap'd, 288848/ 288848 max/curr --7259-- errors : 65536 mmap'd, 320/ 320 max/curr --7259-- ttaux : 65536 mmap'd, 26400/ 26128 max/curr --7259-- ==7208== Invalid read of size 1 ==7208== at 0x806BD98: execute_for_command (execute_cmd.c:1632) ==7208== by 0x806C2A4: execute_command_internal (execute_cmd.c:731) ==7208== by 0x806D322: execute_command_internal (execute_cmd.c:1510) ==7208== by 0x806B302: execute_command (execute_cmd.c:350) ==7208== by 0x806D2EC: execute_command_internal (execute_cmd.c:1508) ==7208== by 0x806B302: execute_command (execute_cmd.c:350) ==7208== by 0x806D2EC: execute_command_internal (execute_cmd.c:1508) ==7208== by 0x806CA99: execute_command_internal (execute_cmd.c:811) ==7208== by 0x806D9F9: execute_function (execute_cmd.c:3261) ==7208== by 0x806E88D: execute_simple_command (execute_cmd.c:3460) ==7208== by 0x806C53C: execute_command_internal (execute_cmd.c:667) ==7208== by 0x806B302: execute_command (execute_cmd.c:350) ==7208== Address 0x4271FE8 is 0 bytes inside a block of size 5 free'd ==7208== at 0x402118C: free (vg_replace_malloc.c:233) ==7208== by 0x808253C: parameter_brace_expand (subst.c:6183) ==7208== by 0x8083587: param_expand (subst.c:6375) ==7208== by 0x8084350: expand_word_internal (subst.c:6820) ==7208== by 0x8085227: expand_word_list_internal (subst.c:7866) ==7208== by 0x806BD0F: execute_for_command (execute_cmd.c:1600) ==7208== by 0x806C2A4: execute_command_internal (execute_cmd.c:731) ==7208== by 0x806D322: execute_command_internal (execute_cmd.c:1510) ==7208== by 0x806B302: execute_command (execute_cmd.c:350) ==7208== by 0x806D2EC: execute_command_internal (execute_cmd.c:1508) ==7208== by 0x806B302: execute_command (execute_cmd.c:350) ==7208== by 0x806D2EC: execute_command_internal (execute_cmd.c:1508) --7208-- Caught __NR_exit; running __libc_freeres() ==7208== ==7208== FILE DESCRIPTORS: 15 open at exit. ==7208== Open file descriptor 255: /usr/libexec/mozilla-launcher ==7208== at 0x412D716: dup2 (in /lib/libc-2.4.so) ==7208== by 0x805CD14: open_shell_script (shell.c:1428) ==7208== by 0x805E1FF: main (shell.c:665) ==7208== ==7208== Open file descriptor 18: ==7208== ==7208== ==7208== Open file descriptor 17: ==7208== ==7208== ==7208== Open file descriptor 16: ==7208== ==7208== ==7208== Open file descriptor 15: ==7208== ==7208== ==7208== Open file descriptor 9: /dev/random ==7208== ==7208== ==7208== Open file descriptor 8: /home/xeno/firefox.vald.7208.1 ==7208== ==7208== ==7208== Open file descriptor 7: ==7208== ==7208== ==7208== Open file descriptor 6: ==7208== ==7208== ==7208== Open file descriptor 5: /usr/share/X11/locale/en_US.UTF-8/Compose ==7208== ==7208== ==7208== Open file descriptor 4: /home/xeno/firefox.vald.7208 ==7208== ==7208== ==7208== Open file descriptor 3: ==7208== ==7208== ==7208== Open file descriptor 2: /dev/pts/2 ==7208== ==7208== ==7208== Open file descriptor 1: /dev/pts/2 ==7208== at 0x412D716: dup2 (in /lib/libc-2.4.so) ==7208== by 0x8097396: do_redirections (redir.c:193) ==7208== by 0x806AA59: cleanup_redirects (execute_cmd.c:404) ==7208== by 0x806E4CE: execute_simple_command (execute_cmd.c:3489) ==7208== by 0x806C53C: execute_command_internal (execute_cmd.c:667) ==7208== by 0x806B302: execute_command (execute_cmd.c:350) ==7208== by 0x806C49F: execute_command_internal (execute_cmd.c:1551) ==7208== by 0x806D322: execute_command_internal (execute_cmd.c:1510) ==7208== by 0x806B302: execute_command (execute_cmd.c:350) ==7208== by 0x806D2EC: execute_command_internal (execute_cmd.c:1508) ==7208== by 0x806B302: execute_command (execute_cmd.c:350) ==7208== by 0x806C49F: execute_command_internal (execute_cmd.c:1551) ==7208== ==7208== Open file descriptor 0: /dev/pts/2 ==7208== ==7208== ==7208== ==7208== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 23 from 1) ==7208== ==7208== 1 errors in context 1 of 1: ==7208== Invalid read of size 1 ==7208== at 0x806BD98: execute_for_command (execute_cmd.c:1632) ==7208== by 0x806C2A4: execute_command_internal (execute_cmd.c:731) ==7208== by 0x806D322: execute_command_internal (execute_cmd.c:1510) ==7208== by 0x806B302: execute_command (execute_cmd.c:350) ==7208== by 0x806D2EC: execute_command_internal (execute_cmd.c:1508) ==7208== by 0x806B302: execute_command (execute_cmd.c:350) ==7208== by 0x806D2EC: execute_command_internal (execute_cmd.c:1508) ==7208== by 0x806CA99: execute_command_internal (execute_cmd.c:811) ==7208== by 0x806D9F9: execute_function (execute_cmd.c:3261) ==7208== by 0x806E88D: execute_simple_command (execute_cmd.c:3460) ==7208== by 0x806C53C: execute_command_internal (execute_cmd.c:667) ==7208== by 0x806B302: execute_command (execute_cmd.c:350) ==7208== Address 0x4271FE8 is 0 bytes inside a block of size 5 free'd ==7208== at 0x402118C: free (vg_replace_malloc.c:233) ==7208== by 0x808253C: parameter_brace_expand (subst.c:6183) ==7208== by 0x8083587: param_expand (subst.c:6375) ==7208== by 0x8084350: expand_word_internal (subst.c:6820) ==7208== by 0x8085227: expand_word_list_internal (subst.c:7866) ==7208== by 0x806BD0F: execute_for_command (execute_cmd.c:1600) ==7208== by 0x806C2A4: execute_command_internal (execute_cmd.c:731) ==7208== by 0x806D322: execute_command_internal (execute_cmd.c:1510) ==7208== by 0x806B302: execute_command (execute_cmd.c:350) ==7208== by 0x806D2EC: execute_command_internal (execute_cmd.c:1508) ==7208== by 0x806B302: execute_command (execute_cmd.c:350) ==7208== by 0x806D2EC: execute_command_internal (execute_cmd.c:1508) --7208-- --7208-- supp: 23 Fedora-Core-5-hack3-ld24 ==7208== ==7208== IN SUMMARY: 1 errors from 1 contexts (suppressed: 23 from 1) ==7208== ==7208== malloc/free: in use at exit: 351,098 bytes in 4,928 blocks. ==7208== malloc/free: 14,858 allocs, 9,930 frees, 1,029,113 bytes allocated. ==7208== ==7208== searching for pointers to 4,928 not-freed blocks. ==7208== checked 209,544 bytes. ==7208== ==7208== ==7208== 115 (28 direct, 87 indirect) bytes in 2 blocks are definitely lost in loss record 1 of 5 ==7208== at 0x40215E8: malloc (vg_replace_malloc.c:149) ==7208== by 0x8099AB9: xmalloc (xmalloc.c:87) ==7208== by 0x8062274: read_token (parse.y:3685) ==7208== by 0x8061D40: read_token (parse.y:4722) ==7208== by 0x806454E: yyparse (parse.y:2207) ==7208== by 0x805E31E: parse_command (eval.c:222) ==7208== by 0x805E3D6: read_command (eval.c:266) ==7208== by 0x805E60F: reader_loop (eval.c:132) ==7208== by 0x805E0EE: main (shell.c:714) ==7208== ==7208== LEAK SUMMARY: ==7208== definitely lost: 28 bytes in 2 blocks. ==7208== indirectly lost: 87 bytes in 8 blocks. ==7208== possibly lost: 0 bytes in 0 blocks. ==7208== still reachable: 350,983 bytes in 4,918 blocks. ==7208== suppressed: 0 bytes in 0 blocks. ==7208== Reachable blocks (those to which a pointer was found) are not shown. ==7208== To see them, rerun with: --show-reachable=yes --7208-- memcheck: sanity checks: 34 cheap, 2 expensive --7208-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use --7208-- memcheck: auxmaps: 0 searches, 0 comparisons --7208-- memcheck: SMs: n_issued = 34 (544k, 0M) --7208-- memcheck: SMs: n_deissued = 1 (16k, 0M) --7208-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M) --7208-- memcheck: SMs: max_undefined = 4 (64k, 0M) --7208-- memcheck: SMs: max_defined = 44 (704k, 0M) --7208-- memcheck: SMs: max_non_DSM = 33 (528k, 0M) --7208-- memcheck: max sec V bit nodes: 2 (0k, 0M) --7208-- memcheck: set_sec_vbits8 calls: 4 (new: 2, updates: 2) --7208-- memcheck: max shadow mem size: 832k, 0M --7208-- translate: fast SP updates identified: 10,657 ( 82.8%) --7208-- translate: generic_known SP updates identified: 1,206 ( 9.3%) --7208-- translate: generic_unknown SP updates identified: 1,003 ( 7.7%) --7208-- tt/tc: 24,057 tt lookups requiring 25,799 probes --7208-- tt/tc: 24,057 fast-cache updates, 3 flushes --7208-- transtab: new 8,743 (192,684 -> 3,036,455; ratio 157:10) [0 scs] --7208-- transtab: dumped 0 (0 -> ??) --7208-- transtab: discarded 5 (113 -> ??) --7208-- scheduler: 3,456,294 jumps (bb entries). --7208-- scheduler: 34/40,582 major/minor sched events. --7208-- sanity: 35 cheap, 2 expensive checks. --7208-- exectx: 30,011 lists, 6,546 contexts (avg 0 per list) --7208-- exectx: 24,857 searches, 19,450 full compares (782 per 1000) --7208-- exectx: 9,468 cmp2, 85 cmp4, 0 cmpAll --7208-- --7208-- ------ Valgrind's internal memory use stats follow ------ --7208-- core : 1 sbs, 320 bs, 2/2 free bs, 1048576 mmap, 9400 loan --7208-- tool : 1 sbs, 14891 bs, 2/2 free bs, 1048576 mmap, 563296 loan --7208-- symtab : 7 sbs, 357 bs, 14/14 free bs, 9347072 mmap, 7626544 loan --7208-- client : 2 sbs, 14858 bs, 1/1 free bs, 2097152 mmap, 1067464 loan --7208-- demangle: 0 sbs, 0 bs, 0/0 free bs, 0 mmap, 0 loan --7208-- exectxt : 2 sbs, 6548 bs, 2/2 free bs, 524288 mmap, 362296 loan --7208-- errors : 1 sbs, 10 bs, 1/1 free bs, 65536 mmap, 360 loan --7208-- ttaux : 1 sbs, 229 bs, 33/33 free bs, 65536 mmap, 28240 loan --7208-- ------ --7208-- core : 1048576 mmap'd, 74992/ 9400 max/curr --7208-- tool : 1048576 mmap'd, 622432/ 563296 max/curr --7208-- symtab : 9347072 mmap'd, 8584144/ 7626544 max/curr --7208-- client : 2097152 mmap'd, 1067464/ 1067464 max/curr --7208-- demangle: 0 mmap'd, 0/ 0 max/curr --7208-- exectxt : 524288 mmap'd, 362296/ 362296 max/curr --7208-- errors : 65536 mmap'd, 360/ 360 max/curr --7208-- ttaux : 65536 mmap'd, 28672/ 28240 max/curr --7208--