On 05/31/2015 10:33 AM, Will Roberts wrote:
On 05/20/2015 04:00 PM, Paul Wouters wrote:
Possible yes, but that would be very strange. Do you see memory usage go
up over time gradually, or in giant chunks?
The system loses about 6MB a day. Many of my servers are relatively
small with about 512MB of RAM. The larger machines are also seeing the
problem, they just take longer to hit the critical point.
Nothing I can think of. You can try to run things under valgrind I guess
and see?
ipsec _stackmanager start
valgrind /usr/libexec/ipsec/pluto --config /etc/ipsec.conf --nofork
Pssobly when you hit ctrl-c valgrind will give some data?
I've attached a valgrind log with some more detail, but it doesn't mean
a lot to me. I'm assuming that each creation and tear down of a tunnel
loses a little bit of memory. What else can I do to help identify this leak?
Thanks,
--Will
==28071== Memcheck, a memory error detector
==28071== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==28071== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==28071== Command: /usr/lib/ipsec/pluto --config /etc/ipsec.conf --nofork
==28071==
--28071-- Valgrind options:
--28071-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
--28071-- -v
--28071-- --track-origins=yes
--28071-- Contents of /proc/version:
--28071-- Linux version 3.2.0-4-amd64 ([email protected]) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.54-2
--28071-- Arch and hwcaps: AMD64, amd64-sse3-cx16
--28071-- Page sizes: currently 4096, max supported 4096
--28071-- Valgrind library directory: /usr/lib/valgrind
--28071-- Reading syms from /usr/lib/ipsec/pluto (0x108000)
--28071-- Considering /usr/lib/ipsec/pluto ..
--28071-- .. CRC mismatch (computed 0ca06332 wanted a0666a55)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /lib/x86_64-linux-gnu/ld-2.13.so (0x4000000)
--28071-- Considering /lib/x86_64-linux-gnu/ld-2.13.so ..
--28071-- .. CRC mismatch (computed 12479f05 wanted 3b27f9dd)
--28071-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.13.so ..
--28071-- .. CRC is valid
--28071-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux (0x38000000)
--28071-- Considering /usr/lib/valgrind/memcheck-amd64-linux ..
--28071-- .. CRC mismatch (computed 917e6694 wanted d604052d)
--28071-- object doesn't have a symbol table
--28071-- object doesn't have a dynamic symbol table
--28071-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
--28071-- Reading suppressions file: /usr/lib/valgrind/default.supp
==28071== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-28071-by-root-on-???
==28071== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-28071-by-root-on-???
==28071== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-28071-by-root-on-???
==28071==
==28071== TO CONTROL THIS PROCESS USING vgdb (which you probably
==28071== don't want to do, unless you know exactly what you're doing,
==28071== or are doing some strange experiment):
==28071== /usr/lib/valgrind/../../bin/vgdb --pid=28071 ...command...
==28071==
==28071== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==28071== /path/to/gdb /usr/lib/ipsec/pluto
==28071== and then give GDB the following command
==28071== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=28071
==28071== --pid is optional if only one valgrind process is running
==28071==
--28071-- REDIR: 0x40169d0 (strlen) redirected to 0x38061d67 (???)
--28071-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so (0x4a22000)
--28071-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so ..
--28071-- .. CRC mismatch (computed 2439aefb wanted 12795d6b)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c24000)
--28071-- Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so ..
--28071-- .. CRC mismatch (computed 765bf264 wanted b7bd9c2d)
--28071-- object doesn't have a symbol table
--28071-- REDIR: 0x4016840 (index) redirected to 0x4c29180 (index)
--28071-- REDIR: 0x40168c0 (strcmp) redirected to 0x4c2a0a0 (strcmp)
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libnss3.so (0x4e2f000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libnssutil3.so (0x516d000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libsmime3.so (0x5399000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libssl3.so (0x55c6000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libplds4.so (0x580b000)
--28071-- Considering /usr/lib/x86_64-linux-gnu/libplds4.so ..
--28071-- .. CRC mismatch (computed 056ca66f wanted c349c9da)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libplc4.so (0x5a0f000)
--28071-- Considering /usr/lib/x86_64-linux-gnu/libplc4.so ..
--28071-- .. CRC mismatch (computed 00d5b57f wanted 55dc1c55)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libnspr4.so (0x5c14000)
--28071-- Considering /usr/lib/x86_64-linux-gnu/libnspr4.so ..
--28071-- .. CRC mismatch (computed c2aa9f51 wanted fce9f728)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.13.so (0x5e54000)
--28071-- Considering /lib/x86_64-linux-gnu/libpthread-2.13.so ..
--28071-- .. CRC mismatch (computed e5e40290 wanted 8df396bc)
--28071-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libpthread-2.13.so ..
--28071-- .. CRC is valid
--28071-- Reading syms from /lib/x86_64-linux-gnu/librt-2.13.so (0x6070000)
--28071-- Considering /lib/x86_64-linux-gnu/librt-2.13.so ..
--28071-- .. CRC mismatch (computed de6c6735 wanted 7576e9e9)
--28071-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/librt-2.13.so ..
--28071-- .. CRC is valid
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libunbound.so.2.1.1 (0x6278000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.8.3 (0x64f2000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.8.3 (0x6701000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libcurl.so.4.2.0 (0x6952000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /lib/x86_64-linux-gnu/libcrypt-2.13.so (0x6bbb000)
--28071-- Considering /lib/x86_64-linux-gnu/libcrypt-2.13.so ..
--28071-- .. CRC mismatch (computed 34fc376a wanted 95f78930)
--28071-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libcrypt-2.13.so ..
--28071-- .. CRC is valid
--28071-- Reading syms from /lib/x86_64-linux-gnu/libpam.so.0.83.0 (0x6df2000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.13.so (0x7000000)
--28071-- Considering /lib/x86_64-linux-gnu/libdl-2.13.so ..
--28071-- .. CRC mismatch (computed 98235dc1 wanted 72c11600)
--28071-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.13.so ..
--28071-- .. CRC is valid
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libgmp.so.10.0.5 (0x7204000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /lib/x86_64-linux-gnu/libc-2.13.so (0x7473000)
--28071-- Considering /lib/x86_64-linux-gnu/libc-2.13.so ..
--28071-- .. CRC mismatch (computed a647c898 wanted 882b2ada)
--28071-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.13.so ..
--28071-- .. CRC is valid
--28071-- Reading syms from /lib/x86_64-linux-gnu/libz.so.1.2.7 (0x77fe000)
--28071-- Considering /lib/x86_64-linux-gnu/libz.so.1.2.7 ..
--28071-- .. CRC mismatch (computed 57f46862 wanted 0646fc34)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x7a15000)
--28071-- Considering /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 ..
--28071-- .. CRC mismatch (computed 2af2b885 wanted 1f5ded67)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/libldns.so.1.6.13 (0x7c75000)
--28071-- Considering /usr/lib/libldns.so.1.6.13 ..
--28071-- .. CRC mismatch (computed 08b41eec wanted 1d3fd344)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x7ecc000)
--28071-- Considering /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 ..
--28071-- .. CRC mismatch (computed 38c57ae2 wanted 5f6ea7a1)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x82c4000)
--28071-- Considering /lib/x86_64-linux-gnu/libgcc_s.so.1 ..
--28071-- .. CRC mismatch (computed f44ca19e wanted 240e89d2)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /lib/x86_64-linux-gnu/libresolv-2.13.so (0x84da000)
--28071-- Considering /lib/x86_64-linux-gnu/libresolv-2.13.so ..
--28071-- .. CRC mismatch (computed ccf41bed wanted da768719)
--28071-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libresolv-2.13.so ..
--28071-- .. CRC is valid
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25 (0x86f0000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libgnutls.so.26.22.4 (0x890b000)
--28071-- Considering /usr/lib/x86_64-linux-gnu/libgnutls.so.26.22.4 ..
--28071-- .. CRC mismatch (computed 43e3f0cf wanted c2def889)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /lib/x86_64-linux-gnu/libgcrypt.so.11.7.0 (0x8bcb000)
--28071-- Considering /lib/x86_64-linux-gnu/libgcrypt.so.11.7.0 ..
--28071-- .. CRC mismatch (computed 91eb861a wanted ad011324)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libidn.so.11.6.8 (0x8e4a000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libssh2.so.1.0.1 (0x907e000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2 (0x92a7000)
--28071-- Considering /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2 ..
--28071-- .. CRC mismatch (computed 8f415d16 wanted 92dbf6e7)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/librtmp.so.0 (0x94e6000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.16 (0x9700000)
--28071-- Considering /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.16 ..
--28071-- .. CRC mismatch (computed e8a39300 wanted 5519bc5f)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 (0x9911000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0 (0x9b23000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3 (0x9d26000)
--28071-- Considering /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3 ..
--28071-- .. CRC mismatch (computed 2c094079 wanted d4c0e7ee)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1 (0x9ffa000)
--28071-- Considering /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1 ..
--28071-- .. CRC mismatch (computed 4f11ba32 wanted 02786e45)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /lib/x86_64-linux-gnu/libcom_err.so.2.1 (0xa223000)
--28071-- Considering /lib/x86_64-linux-gnu/libcom_err.so.2.1 ..
--28071-- .. CRC mismatch (computed 4a3fe812 wanted 788ccb81)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1 (0xa427000)
--28071-- Considering /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1 ..
--28071-- .. CRC mismatch (computed 3b2970bc wanted 2436a502)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /lib/x86_64-linux-gnu/libkeyutils.so.1.4 (0xa630000)
--28071-- object doesn't have a symbol table
--28071-- REDIR: 0x74fb190 (memcpy) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f6800 (strcasecmp) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f4800 (strncpy) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f2f70 (strncmp) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f2790 (strcpy) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f2d40 (strlen) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f1250 (index) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f4830 (rindex) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f5600 (memset) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f4c90 (strspn) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f4fe0 (bcmp) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f1300 (strcmp) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x7560aa0 (__memcpy_chk) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f8ac0 (strncasecmp) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f5410 (memmove) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x7560ae0 (__memmove_chk) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74fc530 (rawmemchr) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f4900 (strpbrk) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x7500350 (strstr) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f28a0 (strcspn) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f6680 (stpcpy) redirected to 0x4a22750 (_vgnU_ifunc_wrapper)
--28071-- REDIR: 0x74f4860 (__GI_strrchr) redirected to 0x4c28fa0 (__GI_strrchr)
--28071-- REDIR: 0x74f2d80 (__GI_strlen) redirected to 0x4c29500 (__GI_strlen)
--28071-- REDIR: 0x74eda00 (malloc) redirected to 0x4c28b80 (malloc)
--28071-- REDIR: 0x74f1340 (__GI_strcmp) redirected to 0x4c2a050 (__GI_strcmp)
--28071-- REDIR: 0x759bb90 (__memcpy_ssse3_back) redirected to 0x4c2a620 (memcpy)
--28071-- REDIR: 0x758d8c0 (__strlen_sse42) redirected to 0x4c294e0 (strlen)
--28071-- REDIR: 0x74f2fb0 (__GI_strncmp) redirected to 0x4c299d0 (__GI_strncmp)
--28071-- REDIR: 0x74ecf50 (calloc) redirected to 0x4c27200 (calloc)
--28071-- REDIR: 0xffffffffff600400 (???) redirected to 0x38061d5d (???)
--28071-- REDIR: 0x75a82f0 (__memcmp_sse4_1) redirected to 0x4c2b0b0 (bcmp)
--28071-- REDIR: 0x74f5640 (__GI_memset) redirected to 0x4c2b490 (memset)
--28071-- REDIR: 0x74ed920 (free) redirected to 0x4c27ce0 (free)
--28071-- REDIR: 0x74f4f60 (memchr) redirected to 0x4c2a140 (memchr)
--28071-- REDIR: 0x7586080 (__strchr_sse42) redirected to 0x4c29040 (index)
--28071-- REDIR: 0x74fc5b0 (strchrnul) redirected to 0x4c2b7d0 (strchrnul)
--28071-- REDIR: 0x7586130 (__strcmp_sse42) redirected to 0x4c2a000 (strcmp)
--28071-- REDIR: 0x75889b0 (__strcasecmp_sse42) redirected to 0x4c29a40 (strcasecmp)
--28071-- REDIR: 0x758a650 (__strncasecmp_sse42) redirected to 0x4c29b20 (strncasecmp)
--28071-- REDIR: 0x74f27c0 (__GI_strcpy) redirected to 0x4c295f0 (__GI_strcpy)
--28071-- REDIR: 0x74eeae0 (realloc) redirected to 0x4c28c50 (realloc)
--28071-- REDIR: 0x40178d0 (stpcpy) redirected to 0x4c2b3c0 (stpcpy)
--28071-- REDIR: 0x758dd00 (???) redirected to 0x4c29520 (strcpy)
--28071-- REDIR: 0x759bb80 (__memcpy_chk_ssse3_back) redirected to 0x4c2bac0 (__memcpy_chk)
--28071-- REDIR: 0x7588190 (__strrchr_sse42) redirected to 0x4c28f70 (rindex)
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so (0xac34000)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 (0xae77000)
--28071-- Considering /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 ..
--28071-- .. CRC mismatch (computed f85c292d wanted 7e17e451)
--28071-- object doesn't have a symbol table
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/nss/libnssdbm3.so (0xb122000)
--28071-- object doesn't have a symbol table
--28071-- REDIR: 0x74f1090 (strcat) redirected to 0x4c291c0 (strcat)
--28071-- REDIR: 0x758e720 (???) redirected to 0x4c296c0 (strncpy)
--28071-- Reading syms from /usr/lib/x86_64-linux-gnu/nss/libfreebl3.so (0xb34a000)
--28071-- object doesn't have a symbol table
--28071-- REDIR: 0xffffffffff600000 (???) redirected to 0x38061d53 (???)
--28071-- REDIR: 0x74f66b0 (__GI_stpcpy) redirected to 0x4c2b220 (__GI_stpcpy)
==28071== Syscall param socketcall.bind(my_addr.) points to uninitialised byte(s)
==28071== at 0x754F5E7: bind (syscall-template.S:82)
==28071== by 0x16F083: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x169DD4: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x125C23: main (in /usr/lib/ipsec/pluto)
==28071== Address 0x7ff000102 is on thread 1's stack
==28071== Uninitialised value was created by a stack allocation
==28071== at 0x16EF40: ??? (in /usr/lib/ipsec/pluto)
==28071==
--28071-- REDIR: 0x74f2e60 (strnlen) redirected to 0x4c29480 (strnlen)
--28100-- REDIR: 0x74f1280 (__GI_strchr) redirected to 0x4c29080 (__GI_strchr)
==28071== Warning: noted but unhandled ioctl 0x89f3 with no size/direction hints
==28071== This could cause spurious value errors to appear.
==28071== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==28071== Warning: noted but unhandled ioctl 0x89f3 with no size/direction hints
==28071== This could cause spurious value errors to appear.
==28071== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==28071== Warning: noted but unhandled ioctl 0x89f3 with no size/direction hints
==28071== This could cause spurious value errors to appear.
==28071== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
--28071-- REDIR: 0x7588330 (__strstr_sse42) redirected to 0x4c2bbd0 (strstr)
--28071-- REDIR: 0x7560ef0 (__strcpy_chk) redirected to 0x4c2b840 (__strcpy_chk)
--28071-- REDIR: 0x7586fd0 (__strncmp_sse42) redirected to 0x4c29960 (strncmp)
--28071-- REDIR: 0x7560d30 (__stpcpy_chk) redirected to 0x4c2b890 (__stpcpy_chk)
==28071== Syscall param write(buf) points to uninitialised byte(s)
==28071== at 0x5E6219D: ??? (syscall-template.S:82)
==28071== by 0x16CA20: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x16E639: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x167B04: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x16A147: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x14D9B4: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x14DD51: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x17A97E: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x17B714: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x13C412: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x125C75: main (in /usr/lib/ipsec/pluto)
==28071== Address 0x7feffd054 is on thread 1's stack
==28071== Uninitialised value was created by a stack allocation
==28071== at 0x16E0EE: ??? (in /usr/lib/ipsec/pluto)
==28071==
==28183== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-28183-by-root-on-???
==28183== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-28183-by-root-on-???
==28183== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-28183-by-root-on-???
==28183==
==28183== TO CONTROL THIS PROCESS USING vgdb (which you probably
==28183== don't want to do, unless you know exactly what you're doing,
==28183== or are doing some strange experiment):
==28183== /usr/lib/valgrind/../../bin/vgdb --pid=28183 ...command...
==28183==
==28183== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==28183== /path/to/gdb /usr/lib/ipsec/pluto
==28183== and then give GDB the following command
==28183== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=28183
==28183== --pid is optional if only one valgrind process is running
==28183==
==28071==
==28071== HEAP SUMMARY:
==28071== in use at exit: 1,029,816 bytes in 1,148 blocks
==28071== total heap usage: 53,245 allocs, 52,097 frees, 47,997,276 bytes allocated
==28071==
==28071== Searching for pointers to 1,148 not-freed blocks
==28071== Checked 10,079,640 bytes
==28071==
==28071== LEAK SUMMARY:
==28071== definitely lost: 8,117 bytes in 67 blocks
==28071== indirectly lost: 530,470 bytes in 60 blocks
==28071== possibly lost: 2,744 bytes in 5 blocks
==28071== still reachable: 488,485 bytes in 1,016 blocks
==28071== suppressed: 0 bytes in 0 blocks
==28071== Rerun with --leak-check=full to see details of leaked memory
==28071==
==28071== ERROR SUMMARY: 111 errors from 2 contexts (suppressed: 28 from 9)
==28071==
==28071== 1 errors in context 1 of 2:
==28071== Syscall param ÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝ points to uninitialised byte(s)
==28071== at 0x754F5E7: bind (syscall-template.S:82)
==28071== by 0x16F083: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x169DD4: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x125C23: main (in /usr/lib/ipsec/pluto)
==28071== Address 0x7ff000102 is on thread 1's stack
==28071== Uninitialised value was created by a stack allocation
==28071== at 0x16EF40: ??? (in /usr/lib/ipsec/pluto)
==28071==
==28071==
==28071== 110 errors in context 2 of 2:
==28071== Syscall param write(buf) points to uninitialised byte(s)
==28071== at 0x5E6219D: ??? (syscall-template.S:82)
==28071== by 0x16CA20: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x16E639: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x167B04: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x16A147: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x14D9B4: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x14DD51: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x17A97E: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x17B714: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x13C412: ??? (in /usr/lib/ipsec/pluto)
==28071== by 0x125C75: main (in /usr/lib/ipsec/pluto)
==28071== Address 0x7feffd054 is on thread 1's stack
==28071== Uninitialised value was created by a stack allocation
==28071== at 0x16E0EE: ??? (in /usr/lib/ipsec/pluto)
==28071==
--28071--
--28071-- used_suppression: 28 dl-hack3-cond-1
==28071==
==28071== ERROR SUMMARY: 111 errors from 2 contexts (suppressed: 28 from 9)
_______________________________________________
Swan mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan