FreeBSD Bugzilla – Attachment 167016 Details for
Bug 207080
pfctl crash when load pf.conf, libc/resolv problem ?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
valgrind output
valgrind.output (text/plain), 31.27 KB, created by
fabrice.bruel
on 2016-02-15 09:24:15 UTC
(
hide
)
Description:
valgrind output
Filename:
MIME Type:
Creator:
fabrice.bruel
Created:
2016-02-15 09:24:15 UTC
Size:
31.27 KB
patch
obsolete
># valgrind --leak-check=yes pfctl -f pf.conf.anon | more >==17063== Memcheck, a memory error detector >==17063== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. >==17063== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info >==17063== Command: pfctl -f pf.conf.anon >==17063== >==17063== Syscall param ioctl(generic) points to uninitialised byte(s) >==17063== at 0x534E56C: __sys_ioctl (ioctl.S:3) >==17063== by 0x402DC8: pfctl_test_altqsupport (pfctl.c:1946) >==17063== by 0x406816: main (pfctl.c:2197) >==17063== Address 0x7ff000710 is on thread 1's stack >==17063== in frame #1, created by pfctl_test_altqsupport (pfctl.c:1943) >==17063== >==17063== Warning: noted but unhandled ioctl 0x2000444e with no size/direction hints This could cause spurious value errors to appear. See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. >==17063== HEAP SUMMARY: >==17063== in use at exit: 4,258,620 bytes in 5,555 blocks >==17063== total heap usage: 36,276 allocs, 30,721 frees, 23,679,344 bytes allocated >==17063== >==17063== 1,024 bytes in 1 blocks are definitely lost in loss record 16 of 38 >==17063== at 0x4C1EC90: calloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17063== by 0x404710: pfctl_rules (pfctl.c:1430) >==17063== by 0x406DA7: main (pfctl.c:2378) >==17063== by 0x4141E8: parse_config (parse.y:5743) >==17063== by 0x40487F: pfctl_rules (pfctl.c:1478) >==17063== by 0x406DA7: main (pfctl.c:2378) >==17063== >==17063== 66,048 bytes in 1 blocks are definitely lost in loss record 31 of 38 >==17063== at 0x4C1EC90: calloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17063== by 0x41D46B: pfr_buf_grow (pfctl_radix.c:474) >==17063== by 0x41D55B: pfr_buf_add (pfctl_radix.c:425) >==17063== by 0x4145E9: pfctl_add_trans (pfctl_parser.c:1728) >==17063== by 0x4042E4: pfctl_ruleset_trans (pfctl.c:1240) >==17063== by 0x404848: pfctl_rules (pfctl.c:1468) >==17063== by 0x406DA7: main (pfctl.c:2378) >==17063== >==17063== 93,296 (7,232 direct, 86,064 indirect) bytes in 113 blocks are definitely lost in loss record 34 of 38 >==17063== at 0x4C1EC90: calloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17063== by 0x421F63: add_opt_table (pfctl_optimize.c:1233) >==17063== by 0x422F24: combine_rules (pfctl_optimize.c:540) >==17063== by 0x422FAC: optimize_superblock (pfctl_optimize.c:419) >==17063== by 0x4231A1: pfctl_optimize_ruleset (pfctl_optimize.c:314) >==17063== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17063== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17063== by 0x406DA7: main (pfctl.c:2378) >==17063== >==17063== 344,392 (27,520 direct, 316,872 indirect) bytes in 430 blocks are definitely lost in loss record 36 of 38 >==17063== at 0x4C1EC90: calloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17063== by 0x421F63: add_opt_table (pfctl_optimize.c:1233) >==17063== by 0x422F4B: combine_rules (pfctl_optimize.c:518) >==17063== by 0x422FAC: optimize_superblock (pfctl_optimize.c:419) >==17063== by 0x4231A1: pfctl_optimize_ruleset (pfctl_optimize.c:314) >==17063== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17063== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17063== by 0x406DA7: main (pfctl.c:2378) >==17063== >==17063== 3,589,368 (936 direct, 3,588,432 indirect) bytes in 1 blocks are definitely lost in loss record 38 of 38 >==17063== at 0x4C1EC90: calloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17063== by 0x404EE7: pfctl_add_rule (pfctl.c:1224) >==17063== by 0x40B02E: expand_rule (parse.y:5041) >==17063== by 0x41410D: yyparse (parse.y:2259) >==17063== by 0x4141E8: parse_config (parse.y:5743) >==17063== by 0x40487F: pfctl_rules (pfctl.c:1478) >==17063== by 0x406DA7: main (pfctl.c:2378) >==17063== >==17063== LEAK SUMMARY: >==17063== definitely lost: 104,908 bytes in 725 blocks >==17063== indirectly lost: 3,991,368 bytes in 4,451 blocks >==17063== possibly lost: 0 bytes in 0 blocks >==17063== still reachable: 162,344 bytes in 379 blocks >==17063== suppressed: 0 bytes in 0 blocks >==17063== Reachable blocks (those to which a pointer was found) are not shown. >==17063== To see them, rerun with: --leak-check=full --show-leak-kinds=all >==17063== >==17063== For counts of detected and suppressed errors, rerun with: -v >==17063== Use --track-origins=yes to see where uninitialised values come from >==17063== ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0) > >and the last of the -v output : >==17082== LEAK SUMMARY: >==17082== definitely lost: 104,908 bytes in 725 blocks >==17082== indirectly lost: 3,991,368 bytes in 4,451 blocks >==17082== possibly lost: 0 bytes in 0 blocks >==17082== still reachable: 382,592 bytes in 379 blocks >==17082== suppressed: 0 bytes in 0 blocks >==17082== Reachable blocks (those to which a pointer was found) are not shown. >==17082== To see them, rerun with: --leak-check=full --show-leak-kinds=all >==17082== >==17082== Use --track-origins=yes to see where uninitialised values come from >==17082== ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0) >==17082== >==17082== 1 errors in context 1 of 7: >==17082== Syscall param ioctl(generic) points to uninitialised byte(s) >==17082== at 0x534E56C: __sys_ioctl (ioctl.S:3) >==17082== by 0x402DC8: pfctl_test_altqsupport (pfctl.c:1946) >==17082== by 0x406816: main (pfctl.c:2197) >==17082== Address 0x7ff000710 is on thread 1's stack >==17082== in frame #1, created by pfctl_test_altqsupport (pfctl.c:1943) >==17082== >==17082== ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0) >--More--(END) > >and finally : ># valgrind -v --leak-check=full --show-leak-kinds=all --track-origins=yes pfctl -f pf.conf.anon | more >==17184== Memcheck, a memory error detector >==17184== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. >==17184== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info >==17184== Command: pfctl -f pf.conf.anon >==17184== >--17184-- Valgrind options: >--17184-- -v >--17184-- --leak-check=full >--17184-- --show-leak-kinds=all >--17184-- --track-origins=yes >--17184-- Contents of /proc/version: >--17184-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-rdtscp-sse3-avx >--17184-- Page sizes: currently 4096, max supported 4096 >--17184-- Valgrind library directory: /usr/local/lib/valgrind >--17184-- Reading syms from /sbin/pfctl >--17184-- Reading syms from /libexec/ld-elf.so.1 >--17184-- Reading syms from /usr/local/lib/valgrind/memcheck-amd64-freebsd >--17184-- object doesn't have a symbol table >--17184-- object doesn't have a dynamic symbol table >--17184-- Scheduler: using generic scheduler lock implementation. >--17184-- Reading suppressions file: /usr/local/lib/valgrind/default.supp >==17184== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-17184-by-root-on-??? >==17184== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-17184-by-root-on-??? >==17184== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-17184-by-root-on-??? >==17184== >==17184== TO CONTROL THIS PROCESS USING vgdb (which you probably >==17184== don't want to do, unless you know exactly what you're doing, >==17184== or are doing some strange experiment): >==17184== /usr/local/lib/valgrind/../../bin/vgdb --pid=17184 ...command... >==17184== >==17184== TO DEBUG THIS PROCESS USING GDB: start GDB like this >==17184== /path/to/gdb pfctl >==17184== and then give GDB the following command >==17184== target remote | /usr/local/lib/valgrind/../../bin/vgdb --pid=17184 >==17184== --pid is optional if only one valgrind process is running >==17184== >--17184-- Reading syms from /usr/local/lib/valgrind/vgpreload_core-amd64-freebsd.so >--17184-- object doesn't have a symbol table >--17184-- Reading syms from /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so >--17184-- object doesn't have a symbol table >--17184-- REDIR: 0x400ecb0 (ld-elf.so.1:memset) redirected to 0x4c21ce0 (memset) >--17184-- REDIR: 0x40111c0 (ld-elf.so.1:strlen) redirected to 0x4c200a0 (strlen) >--17184-- REDIR: 0x400eec0 (ld-elf.so.1:strcpy) redirected to 0x4c201c0 (strcpy) >--17184-- REDIR: 0x400ee40 (ld-elf.so.1:strcmp) redirected to 0x4c20f60 (strcmp) >--17184-- REDIR: 0x4010fa0 (ld-elf.so.1:strchr) redirected to 0x4c1f810 (strchr) >--17184-- REDIR: 0x400ec60 (ld-elf.so.1:memcpy) redirected to 0x4c21330 (memcpy) >--17184-- REDIR: 0x4011300 (ld-elf.so.1:strncpy) redirected to 0x4c204c0 (strncpy) >--17184-- Reading syms from /lib/libm.so.5 >--17184-- Reading syms from /lib/libmd.so.5 >--17184-- Reading syms from /lib/libc.so.7 >--17184-- REDIR: 0x40112c0 (ld-elf.so.1:strncmp) redirected to 0x4c20ab0 (strncmp) >--17184-- REDIR: 0x4011350 (ld-elf.so.1:strrchr) redirected to 0x4c1f730 (strrchr) >--17184-- REDIR: 0x5349f40 (libc.so.7:strchr) redirected to 0x4c1f790 (strchr) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aa8a08 is 56 bytes inside a block of size 64 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210A0: superblock_free (pfctl_optimize.c:1640) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== Invalid free() / delete / delete[] / realloc() >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x421094: superblock_free (pfctl_optimize.c:1638) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aa8a50 is 0 bytes inside a block of size 24 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x421094: superblock_free (pfctl_optimize.c:1638) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== Invalid free() / delete / delete[] / realloc() >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210A0: superblock_free (pfctl_optimize.c:1640) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aa89d0 is 0 bytes inside a block of size 64 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210A0: superblock_free (pfctl_optimize.c:1640) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== Invalid read of size 8 >==17184== at 0x4210AD: superblock_free (pfctl_optimize.c:1643) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aaa218 is 56 bytes inside a block of size 64 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210D9: superblock_free (pfctl_optimize.c:1647) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== Invalid read of size 8 >==17184== at 0x41D379: pfr_buf_clear (pfctl_radix.c:504) >==17184== by 0x4210BD: superblock_free (pfctl_optimize.c:1644) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aaa270 is 16 bytes inside a block of size 24 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210CD: superblock_free (pfctl_optimize.c:1645) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== Invalid write of size 8 >==17184== at 0x41D387: pfr_buf_clear (pfctl_radix.c:506) >==17184== by 0x4210BD: superblock_free (pfctl_optimize.c:1644) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aaa270 is 16 bytes inside a block of size 24 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210CD: superblock_free (pfctl_optimize.c:1645) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== Invalid write of size 4 >==17184== at 0x41D38F: pfr_buf_clear (pfctl_radix.c:507) >==17184== by 0x4210BD: superblock_free (pfctl_optimize.c:1644) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aaa268 is 8 bytes inside a block of size 24 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210CD: superblock_free (pfctl_optimize.c:1645) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== Invalid write of size 4 >==17184== at 0x41D396: pfr_buf_clear (pfctl_radix.c:507) >==17184== by 0x4210BD: superblock_free (pfctl_optimize.c:1644) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aaa264 is 4 bytes inside a block of size 24 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210CD: superblock_free (pfctl_optimize.c:1645) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== Invalid read of size 8 >==17184== at 0x4210C5: superblock_free (pfctl_optimize.c:1645) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aaa218 is 56 bytes inside a block of size 64 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210D9: superblock_free (pfctl_optimize.c:1647) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x52A04E3: getprotobyname_r (getprotoname.c:129) >==17184== by 0x52A0548: getprotobyname (getprotoname.c:147) >==17184== by 0x40F200: yyparse (parse.y:2665) >==17184== by 0x4141E8: parse_config (parse.y:5743) >==17184== by 0x40487F: pfctl_rules (pfctl.c:1478) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== 1,200 bytes in 10 blocks are still reachable in loss record 21 of 35 >==17184== at 0x4C1EC90: calloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x414870: ifa_load (pfctl_parser.c:1170) >==17184== by 0x414B74: ifa_exists (pfctl_parser.c:1248) >==17184== by 0x415422: host_if (pfctl_parser.c:1502) >==17184== by 0x4155CF: host (pfctl_parser.c:1444) >==17184== by 0x410422: yyparse (parse.y:2808) >==17184== by 0x4141E8: parse_config (parse.y:5743) >==17184== by 0x40487F: pfctl_rules (pfctl.c:1478) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== 1,296 bytes in 18 blocks are still reachable in loss record 22 of 35 >==17184== at 0x4C1EC90: calloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x41B990: fingerprint_name_entry (pfctl_osfp.c:712) >==17184== by 0x41BC70: add_fingerprint (pfctl_osfp.c:620) >==17184== by 0x41C090: add_fingerprint (pfctl_osfp.c:601) >==17184== by 0x41CDF9: pfctl_file_fingerprints (pfctl_osfp.c:246) >==17184== by 0x406E27: main (pfctl.c:2371) >==17184== >==17184== 1,600 bytes in 1 blocks are still reachable in loss record 23 of 35 >==17184== at 0x4C1D6C0: malloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x5320AEF: ??? (nsparser.c:323) >==17184== by 0x53210A4: _nsyyparse (nsparser.c:380) >==17184== by 0x53252C1: nss_configure (nsdispatch.c:379) >==17184== by 0x53252C1: nsdispatch (nsdispatch.c:652) >==17184== by 0x52A04E3: getprotobyname_r (getprotoname.c:129) >==17184== by 0x52A0548: getprotobyname (getprotoname.c:147) >==17184== by 0x40F200: yyparse (parse.y:2665) >==17184== by 0x4141E8: parse_config (parse.y:5743) >==17184== by 0x40487F: pfctl_rules (pfctl.c:1478) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== 1,680 bytes in 1 blocks are indirectly lost in loss record 24 of 35 >==17184== at 0x4C1EC90: calloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x404766: pfctl_rules (pfctl.c:1441) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== 2,148 bytes in 179 blocks are definitely lost in loss record 25 of 35 >==17184== at 0x4C1D6C0: malloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x52D1358: strdup (strdup.c:47) >==17184== by 0x408F4C: yylex (parse.y:5638) >==17184== by 0x40B8F0: yyparse (parse.c:4130) >==17184== by 0x4141E8: parse_config (parse.y:5743) >==17184== by 0x40487F: pfctl_rules (pfctl.c:1478) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== 3,672 bytes in 51 blocks are still reachable in loss record 26 of 35 >==17184== at 0x4C1EC90: calloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x41B990: fingerprint_name_entry (pfctl_osfp.c:712) >==17184== by 0x41BC49: add_fingerprint (pfctl_osfp.c:614) >==17184== by 0x41BF16: add_fingerprint (pfctl_osfp.c:600) >==17184== by 0x41CDF9: pfctl_file_fingerprints (pfctl_osfp.c:246) >==17184== by 0x406E27: main (pfctl.c:2371) >==17184== >==17184== 3,816 bytes in 53 blocks are still reachable in loss record 27 of 35 >==17184== at 0x4C1EC90: calloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x41B990: fingerprint_name_entry (pfctl_osfp.c:712) >==17184== by 0x41BC25: add_fingerprint (pfctl_osfp.c:609) >==17184== by 0x41CDF9: pfctl_file_fingerprints (pfctl_osfp.c:246) >==17184== by 0x406E27: main (pfctl.c:2371) >==17184== >==17184== 5,904 bytes in 82 blocks are still reachable in loss record 28 of 35 >==17184== at 0x4C1EC90: calloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x41B990: fingerprint_name_entry (pfctl_osfp.c:712) >==17184== by 0x41BC70: add_fingerprint (pfctl_osfp.c:620) >==17184== by 0x41CDF9: pfctl_file_fingerprints (pfctl_osfp.c:246) >==17184== by 0x406E27: main (pfctl.c:2371) >==17184== >==17184== 8,568 bytes in 119 blocks are still reachable in loss record 29 of 35 >==17184== at 0x4C1EC90: calloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x41B990: fingerprint_name_entry (pfctl_osfp.c:712) >==17184== by 0x41BC49: add_fingerprint (pfctl_osfp.c:614) >==17184== by 0x41CDF9: pfctl_file_fingerprints (pfctl_osfp.c:246) >==17184== by 0x406E27: main (pfctl.c:2371) >==17184== >==17184== 28,800 bytes in 1 blocks are still reachable in loss record 30 of 35 >==17184== at 0x4C1D6C0: malloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4079C6: yygrowstack (parse.c:4064) >==17184== by 0x40BB64: yyparse (parse.c:4121) >==17184== by 0x4141E8: parse_config (parse.y:5743) >==17184== by 0x40487F: pfctl_rules (pfctl.c:1478) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== 32,768 bytes in 1 blocks are still reachable in loss record 31 of 35 >==17184== at 0x4C1D6C0: malloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x534D79A: __smakebuf (makebuf.c:72) >==17184== by 0x5337478: __srefill (refill.c:116) >==17184== by 0x53372F8: __srget (rget.c:50) >==17184== by 0x408C6C: lgetc (parse.y:5427) >==17184== by 0x408D50: yylex (parse.y:5494) >==17184== by 0x40B8F0: yyparse (parse.c:4130) >==17184== by 0x4141E8: parse_config (parse.y:5743) >==17184== by 0x40487F: pfctl_rules (pfctl.c:1478) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== 66,048 bytes in 1 blocks are definitely lost in loss record 32 of 35 >==17184== at 0x4C1EC90: calloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x41D46B: pfr_buf_grow (pfctl_radix.c:474) >==17184== by 0x41D55B: pfr_buf_add (pfctl_radix.c:425) >==17184== by 0x4145E9: pfctl_add_trans (pfctl_parser.c:1728) >==17184== by 0x4042E4: pfctl_ruleset_trans (pfctl.c:1240) >==17184== by 0x404848: pfctl_rules (pfctl.c:1468) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== 288,344 bytes in 1 blocks are still reachable in loss record 33 of 35 >==17184== at 0x4C1EEAE: realloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x41D48B: pfr_buf_grow (pfctl_radix.c:486) >==17184== by 0x421C7D: pf_opt_create_table (pfctl_optimize.c:1293) >==17184== by 0x422EAA: combine_rules (pfctl_optimize.c:609) >==17184== by 0x422FAC: optimize_superblock (pfctl_optimize.c:419) >==17184== by 0x4231A1: pfctl_optimize_ruleset (pfctl_optimize.c:314) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== 3,586,752 bytes in 3,832 blocks are indirectly lost in loss record 34 of 35 >==17184== at 0x4C1EC90: calloc (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x404EE7: pfctl_add_rule (pfctl.c:1224) >==17184== Invalid read of size 8 >==17184== at 0x421074: superblock_free (pfctl_optimize.c:1636) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aa8a08 is 56 bytes inside a block of size 64 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210A0: superblock_free (pfctl_optimize.c:1640) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== >==17184== 680 errors in context 10 of 21: >==17184== Invalid free() / delete / delete[] / realloc() >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210D9: superblock_free (pfctl_optimize.c:1647) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aaa1e0 is 0 bytes inside a block of size 64 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210D9: superblock_free (pfctl_optimize.c:1647) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== >==17184== 680 errors in context 11 of 21: >==17184== Invalid free() / delete / delete[] / realloc() >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210CD: superblock_free (pfctl_optimize.c:1645) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aaa260 is 0 bytes inside a block of size 24 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210CD: superblock_free (pfctl_optimize.c:1645) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== >==17184== 680 errors in context 12 of 21: >==17184== Invalid read of size 8 >==17184== at 0x4210C5: superblock_free (pfctl_optimize.c:1645) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aaa218 is 56 bytes inside a block of size 64 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210D9: superblock_free (pfctl_optimize.c:1647) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== >==17184== 680 errors in context 13 of 21: >==17184== Invalid write of size 4 >==17184== at 0x41D396: pfr_buf_clear (pfctl_radix.c:507) >==17184== by 0x4210BD: superblock_free (pfctl_optimize.c:1644) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aaa264 is 4 bytes inside a block of size 24 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210CD: superblock_free (pfctl_optimize.c:1645) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== >==17184== 680 errors in context 14 of 21: >==17184== Invalid write of size 4 >==17184== at 0x41D38F: pfr_buf_clear (pfctl_radix.c:507) >==17184== by 0x4210BD: superblock_free (pfctl_optimize.c:1644) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aaa268 is 8 bytes inside a block of size 24 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210CD: superblock_free (pfctl_optimize.c:1645) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== >==17184== 680 errors in context 15 of 21: >==17184== Invalid write of size 8 >==17184== at 0x41D387: pfr_buf_clear (pfctl_radix.c:506) >==17184== by 0x4210BD: superblock_free (pfctl_optimize.c:1644) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aaa270 is 16 bytes inside a block of size 24 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210CD: superblock_free (pfctl_optimize.c:1645) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== >==17184== 680 errors in context 16 of 21: >==17184== Invalid read of size 8 >==17184== at 0x41D379: pfr_buf_clear (pfctl_radix.c:504) >==17184== by 0x4210BD: superblock_free (pfctl_optimize.c:1644) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aaa270 is 16 bytes inside a block of size 24 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210CD: superblock_free (pfctl_optimize.c:1645) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== >==17184== 680 errors in context 17 of 21: >==17184== Invalid read of size 8 >==17184== at 0x4210AD: superblock_free (pfctl_optimize.c:1643) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== Address 0x6aaa218 is 56 bytes inside a block of size 64 free'd >==17184== at 0x4C1E2DC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so) >==17184== by 0x4210D9: superblock_free (pfctl_optimize.c:1647) >==17184== by 0x4233BE: pfctl_optimize_ruleset (pfctl_optimize.c:357) >==17184== by 0x40453B: pfctl_load_ruleset (pfctl.c:1297) >==17184== by 0x404B46: pfctl_rules (pfctl.c:1486) >==17184== by 0x406DA7: main (pfctl.c:2378) >==17184== >==17184== ERROR SUMMARY: 6733 errors from 21 contexts (suppressed: 0 from 0) > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 207080
:
166833
| 167016 |
174090
|
174097
|
174193