Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 915997 Details for
Bug 947613
net-firewall/iptables >=1.8.11 segfault when adding a rule
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
valgrind capture
valgrind.log (text/x-log), 11.65 KB, created by
MickKi
on 2025-01-06 16:06:40 UTC
(
hide
)
Description:
valgrind capture
Filename:
MIME Type:
Creator:
MickKi
Created:
2025-01-06 16:06:40 UTC
Size:
11.65 KB
patch
obsolete
> >~ # valgrind --leak-check=full --show-leak-kinds=all /sbin/iptables -A HOST_BLOCK_SRC_DROP -m limit --limit 1/m --limit-burst 1 -j LOG --log-level info --log-prefix FW:Blocked inbound host: >==11883== Memcheck, a memory error detector >==11883== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. >==11883== Using Valgrind-3.20.0 and LibVEX; rerun with -h for copyright info >==11883== Command: /sbin/iptables -A HOST_BLOCK_SRC_DROP -m limit --limit 1/m --limit-burst 1 -j LOG --log-level info --log-prefix FW:Blocked inbound host: >==11883== >iptables v1.8.11 (legacy): ==11883== Invalid read of size 1 >==11883== at 0x48497E2: __strlen_sse2 (vg_replace_strmem.c:501) >==11883== by 0x4907B2F: __printf_buffer (in /usr/lib64/libc.so.6) >==11883== by 0x4908730: __vfprintf_internal (in /usr/lib64/libc.so.6) >==11883== by 0x48843BF: basic_exit_err (in /usr/lib64/libxtables.so.12.7.0) >==11883== by 0x488A02B: xtables_option_metavalidate (in /usr/lib64/libxtables.so.12.7.0) >==11883== by 0x488636C: xtables_register_target (in /usr/lib64/libxtables.so.12.7.0) >==11883== by 0x400450D: call_init (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x40045FB: _dl_init (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400156D: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B1AD: dl_open_worker (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B52F: _dl_open (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== Address 0x10000000a is not stack'd, malloc'd or (recently) free'd >==11883== >==11883== >==11883== Process terminating with default action of signal 11 (SIGSEGV) >==11883== Access not within mapped region at address 0x10000000A >==11883== at 0x48497E2: __strlen_sse2 (vg_replace_strmem.c:501) >==11883== by 0x4907B2F: __printf_buffer (in /usr/lib64/libc.so.6) >==11883== by 0x4908730: __vfprintf_internal (in /usr/lib64/libc.so.6) >==11883== by 0x48843BF: basic_exit_err (in /usr/lib64/libxtables.so.12.7.0) >==11883== by 0x488A02B: xtables_option_metavalidate (in /usr/lib64/libxtables.so.12.7.0) >==11883== by 0x488636C: xtables_register_target (in /usr/lib64/libxtables.so.12.7.0) >==11883== by 0x400450D: call_init (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x40045FB: _dl_init (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400156D: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B1AD: dl_open_worker (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B52F: _dl_open (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== If you believe this happened as a result of a stack >==11883== overflow in your program's main thread (unlikely but >==11883== possible), you can try to increase the size of the >==11883== main thread stack using the --main-stacksize= flag. >==11883== The main thread stack size used in this run was 8388608. >==11883== >==11883== HEAP SUMMARY: >==11883== in use at exit: 9,041 bytes in 16 blocks >==11883== total heap usage: 19 allocs, 3 frees, 9,153 bytes allocated >==11883== >==11883== 16 bytes in 1 blocks are still reachable in loss record 1 of 10 >==11883== at 0x48437B4: malloc (vg_replace_malloc.c:393) >==11883== by 0x4885795: load_extension (in /usr/lib64/libxtables.so.12.7.0) >==11883== by 0x4885B86: xtables_find_match (in /usr/lib64/libxtables.so.12.7.0) >==11883== by 0x110D0B: ??? (in /usr/bin/xtables-legacy-multi) >==11883== by 0x114529: ??? (in /usr/bin/xtables-legacy-multi) >==11883== by 0x113A8F: ??? (in /usr/bin/xtables-legacy-multi) >==11883== by 0x48CD16D: (below main) (in /usr/lib64/libc.so.6) >==11883== >==11883== 24 bytes in 1 blocks are still reachable in loss record 2 of 10 >==11883== at 0x48437B4: malloc (vg_replace_malloc.c:393) >==11883== by 0x488495C: xtables_malloc (in /usr/lib64/libxtables.so.12.7.0) >==11883== by 0x4885ACC: xtables_find_match (in /usr/lib64/libxtables.so.12.7.0) >==11883== by 0x110D0B: ??? (in /usr/bin/xtables-legacy-multi) >==11883== by 0x114529: ??? (in /usr/bin/xtables-legacy-multi) >==11883== by 0x113A8F: ??? (in /usr/bin/xtables-legacy-multi) >==11883== by 0x48CD16D: (below main) (in /usr/lib64/libc.so.6) >==11883== >==11883== 67 bytes in 2 blocks are still reachable in loss record 3 of 10 >==11883== at 0x48437B4: malloc (vg_replace_malloc.c:393) >==11883== by 0x402522E: strdup (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x4007DDC: _dl_map_object (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B968: dl_open_worker_begin (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B156: dl_open_worker (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B52F: _dl_open (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x49322BB: dlopen_doit (in /usr/lib64/libc.so.6) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x4001602: _dl_catch_error (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x4931DB6: _dlerror_run (in /usr/lib64/libc.so.6) >==11883== >==11883== 67 bytes in 2 blocks are still reachable in loss record 4 of 10 >==11883== at 0x48437B4: malloc (vg_replace_malloc.c:393) >==11883== by 0x400AEE0: _dl_new_object (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400655D: _dl_map_object_from_fd (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x4007E69: _dl_map_object (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B968: dl_open_worker_begin (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B156: dl_open_worker (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B52F: _dl_open (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x49322BB: dlopen_doit (in /usr/lib64/libc.so.6) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x4001602: _dl_catch_error (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== >==11883== 72 bytes in 1 blocks are still reachable in loss record 5 of 10 >==11883== at 0x48485EF: calloc (vg_replace_malloc.c:1340) >==11883== by 0x488493C: xtables_calloc (in /usr/lib64/libxtables.so.12.7.0) >==11883== by 0x110D28: ??? (in /usr/bin/xtables-legacy-multi) >==11883== by 0x114529: ??? (in /usr/bin/xtables-legacy-multi) >==11883== by 0x113A8F: ??? (in /usr/bin/xtables-legacy-multi) >==11883== by 0x48CD16D: (below main) (in /usr/lib64/libc.so.6) >==11883== >==11883== 144 bytes in 2 blocks are still reachable in loss record 6 of 10 >==11883== at 0x48437B4: malloc (vg_replace_malloc.c:393) >==11883== by 0x4003095: _dl_map_object_deps (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B9CD: dl_open_worker_begin (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B156: dl_open_worker (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B52F: _dl_open (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x49322BB: dlopen_doit (in /usr/lib64/libc.so.6) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x4001602: _dl_catch_error (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x4931DB6: _dlerror_run (in /usr/lib64/libc.so.6) >==11883== by 0x4932370: dlopen@@GLIBC_2.34 (in /usr/lib64/libc.so.6) >==11883== >==11883== 216 bytes in 2 blocks are still reachable in loss record 7 of 10 >==11883== at 0x48485EF: calloc (vg_replace_malloc.c:1340) >==11883== by 0x40130F6: _dl_check_map_versions (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400BA32: dl_open_worker_begin (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B156: dl_open_worker (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B52F: _dl_open (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x49322BB: dlopen_doit (in /usr/lib64/libc.so.6) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x4001602: _dl_catch_error (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x4931DB6: _dlerror_run (in /usr/lib64/libc.so.6) >==11883== by 0x4932370: dlopen@@GLIBC_2.34 (in /usr/lib64/libc.so.6) >==11883== >==11883== 1,280 bytes in 1 blocks are still reachable in loss record 8 of 10 >==11883== at 0x48437B4: malloc (vg_replace_malloc.c:393) >==11883== by 0x4884533: xtables_merge_options (in /usr/lib64/libxtables.so.12.7.0) >==11883== by 0x4889E37: xtables_options_xfrm (in /usr/lib64/libxtables.so.12.7.0) >==11883== by 0x110DBF: ??? (in /usr/bin/xtables-legacy-multi) >==11883== by 0x114529: ??? (in /usr/bin/xtables-legacy-multi) >==11883== by 0x113A8F: ??? (in /usr/bin/xtables-legacy-multi) >==11883== by 0x48CD16D: (below main) (in /usr/lib64/libc.so.6) >==11883== >==11883== 2,547 bytes in 2 blocks are still reachable in loss record 9 of 10 >==11883== at 0x48485EF: calloc (vg_replace_malloc.c:1340) >==11883== by 0x400AC20: _dl_new_object (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400655D: _dl_map_object_from_fd (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x4007E69: _dl_map_object (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B968: dl_open_worker_begin (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B156: dl_open_worker (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B52F: _dl_open (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x49322BB: dlopen_doit (in /usr/lib64/libc.so.6) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x4001602: _dl_catch_error (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== >==11883== 4,608 bytes in 2 blocks are still reachable in loss record 10 of 10 >==11883== at 0x48437B4: malloc (vg_replace_malloc.c:393) >==11883== by 0x4022CE2: _dl_find_object_update (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400BD67: dl_open_worker_begin (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B156: dl_open_worker (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x400B52F: _dl_open (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x49322BB: dlopen_doit (in /usr/lib64/libc.so.6) >==11883== by 0x40014E0: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x4001602: _dl_catch_error (in /usr/lib64/ld-linux-x86-64.so.2) >==11883== by 0x4931DB6: _dlerror_run (in /usr/lib64/libc.so.6) >==11883== by 0x4932370: dlopen@@GLIBC_2.34 (in /usr/lib64/libc.so.6) >==11883== >==11883== LEAK SUMMARY: >==11883== definitely lost: 0 bytes in 0 blocks >==11883== indirectly lost: 0 bytes in 0 blocks >==11883== possibly lost: 0 bytes in 0 blocks >==11883== still reachable: 9,041 bytes in 16 blocks >==11883== suppressed: 0 bytes in 0 blocks >==11883== >==11883== For lists of detected and suppressed errors, rerun with: -s >==11883== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) >Segmentation fault
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 947613
:
915994
|
915995
|
915996
| 915997