[root at mems ~]# valgrind --leak-check=full --show-leak-kinds=all -v
ping google.com
==3135== Memcheck, a memory error detector
==3135== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==3135== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==3135== Command: ping google.com
==3135=--3135-- Valgrind options:
--3135-- --leak-check=full
--3135-- --show-leak-kinds=all
--3135-- -v
--3135-- Contents of /proc/version:
--3135-- Linux version 3.10.0-327.10.1.el7.x86_64
(builder at kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat
4.8.3-9) (GCC) ) #1 SMP Tue Feb 16 17:03:50 UTC 2016
--3135-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-rdtscp-sse3-avx
--3135-- Page sizes: currently 4096, max supported 4096
--3135-- Valgrind library directory: /usr/lib64/valgrind
--3135-- Reading syms from /usr/local/bin/ping
--3135-- object doesn't have a symbol table
--3135-- Reading syms from /usr/lib64/ld-2.17.so
--3135-- Reading syms from /usr/lib64/valgrind/memcheck-amd64-linux
--3135-- object doesn't have a symbol table
--3135-- object doesn't have a dynamic symbol table
--3135-- Scheduler: using generic scheduler lock implementation.
--3135-- Reading suppressions file: /usr/lib64/valgrind/default.supp
==3135== embedded gdbserver: reading from
/tmp/vgdb-pipe-from-vgdb-to-3135-by-root-on-mems
==3135== embedded gdbserver: writing to
/tmp/vgdb-pipe-to-vgdb-from-3135-by-root-on-mems
==3135== embedded gdbserver: shared mem
/tmp/vgdb-pipe-shared-mem-vgdb-3135-by-root-on-mems
==3135===3135== TO CONTROL THIS PROCESS USING vgdb (which you probably
==3135== don't want to do, unless you know exactly what you're doing,
==3135== or are doing some strange experiment):
==3135== /usr/lib64/valgrind/../../bin/vgdb --pid=3135 ...command...
==3135===3135== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==3135== /path/to/gdb ping
==3135== and then give GDB the following command
==3135== target remote | /usr/lib64/valgrind/../../bin/vgdb --pid=3135
==3135== --pid is optional if only one valgrind process is running
==3135=--3135-- REDIR: 0x4018b90 (ld-linux-x86-64.so.2:strlen) redirected to
0x38075e81 (???)
--3135-- Reading syms from /usr/lib64/valgrind/vgpreload_core-amd64-linux.so
--3135-- object doesn't have a symbol table
--3135-- Reading syms from /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so
--3135-- object doesn't have a symbol table
==3135== WARNING: new redirection conflicts with existing -- ignoring it
--3135-- old: 0x04018b90 (strlen ) R-> (0000.0) 0x38075e81
???
--3135-- new: 0x04018b90 (strlen ) R-> (2007.0)
0x04c2cc60 strlen
--3135-- REDIR: 0x4018a90 (ld-linux-x86-64.so.2:index) redirected to
0x4c2c810 (index)
--3135-- REDIR: 0x4018b10 (ld-linux-x86-64.so.2:strcmp) redirected to
0x4c2ddb0 (strcmp)
--3135-- REDIR: 0x4019c40 (ld-linux-x86-64.so.2:mempcpy) redirected to
0x4c30950 (mempcpy)
--3135-- Reading syms from /usr/lib64/libcap.so.2.22
--3135-- object doesn't have a symbol table
--3135-- Reading syms from /usr/lib64/libidn.so.11.6.11
--3135-- object doesn't have a symbol table
--3135-- Reading syms from /usr/lib64/libc-2.17.so
--3135-- Reading syms from /usr/lib64/libattr.so.1.1.0
--3135-- object doesn't have a symbol table
--3135-- REDIR: 0x52f7060 (libc.so.6:strcasecmp) redirected to
0x4a24716 (_vgnU_ifunc_wrapper)
--3135-- REDIR: 0x52f3410 (libc.so.6:strnlen) redirected to 0x4a24716
(_vgnU_ifunc_wrapper)
--3135-- REDIR: 0x52f9330 (libc.so.6:strncasecmp) redirected to
0x4a24716 (_vgnU_ifunc_wrapper)
--3135-- REDIR: 0x52f5e70 (libc.so.6:memset) redirected to 0x4a24716
(_vgnU_ifunc_wrapper)
--3135-- REDIR: 0x52f5e20 (libc.so.6:memcpy at GLIBC_2.2.5) redirected to
0x4a24716 (_vgnU_ifunc_wrapper)
--3135-- REDIR: 0x52f4d80 (libc.so.6:strncpy) redirected to 0x4a24716
(_vgnU_ifunc_wrapper)
--3135-- REDIR: 0x52f34f0 (libc.so.6:strncmp) redirected to 0x4a24716
(_vgnU_ifunc_wrapper)
--3135-- REDIR: 0x52f5850 (libc.so.6:bcmp) redirected to 0x4a24716
(_vgnU_ifunc_wrapper)
--3135-- REDIR: 0x52f1890 (libc.so.6:strcmp) redirected to 0x4a24716
(_vgnU_ifunc_wrapper)
--3135-- REDIR: 0x5377850 (libc.so.6:__memcpy_chk) redirected to
0x4a24716 (_vgnU_ifunc_wrapper)
--3135-- REDIR: 0x52f4e00 (libc.so.6:__GI_strrchr) redirected to
0x4c2c520 (__GI_strrchr)
--3135-- REDIR: 0x52ec890 (libc.so.6:malloc) redirected to 0x4c29b76 (malloc)
--3135-- REDIR: 0x52ecc90 (libc.so.6:free) redirected to 0x4c2ac90 (free)
--3135-- REDIR: 0x52f18d0 (libc.so.6:__GI_strcmp) redirected to
0x4c2dcc0 (__GI_strcmp)
--3135-- REDIR: 0x52f3330 (libc.so.6:__GI_strlen) redirected to
0x4c2cbc0 (__GI_strlen)
--3135-- REDIR: 0x52f3530 (libc.so.6:__GI_strncmp) redirected to
0x4c2d3f0 (__GI_strncmp)
--3135-- REDIR: 0x52f1810 (libc.so.6:__GI_strchr) redirected to
0x4c2c650 (__GI_strchr)
--3135-- REDIR: 0x52f5500 (libc.so.6:memchr) redirected to 0x4c2de50 (memchr)
--3135-- REDIR: 0x52fd2e0 (libc.so.6:strchrnul) redirected to
0x4c30470 (strchrnul)
--3135-- REDIR: 0x52f6a10 (libc.so.6:__GI_mempcpy) redirected to
0x4c30680 (__GI_mempcpy)
--3135-- REDIR: 0x52fba50 (libc.so.6:__GI_memcpy) redirected to
0x4c2e750 (__GI_memcpy)
==3135== Invalid read of size 4
==3135== at 0x4E36779: cap_free (in /usr/lib64/libcap.so.2.22)
==3135== by 0x10CE56: ??? (in /usr/local/bin/ping)
==3135== by 0x109E9D: ??? (in /usr/local/bin/ping)
==3135== by 0x528EB14: (below main) (in /usr/lib64/libc-2.17.so)
==3135== Address 0x58346e0 is 0 bytes inside a block of size 36 free'd
==3135== at 0x4C2AD17: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3135== by 0x4E367FF: cap_free (in /usr/lib64/libcap.so.2.22)
==3135== by 0x10CE9C: ??? (in /usr/local/bin/ping)
==3135== by 0x109E9D: ??? (in /usr/local/bin/ping)
==3135== by 0x528EB14: (below main) (in /usr/lib64/libc-2.17.so)
==3135===3135== Invalid read of size 4
==3135== at 0x4E36779: cap_free (in /usr/lib64/libcap.so.2.22)
==3135== by 0x10CE56: ??? (in /usr/local/bin/ping)
==3135== by 0x109ED4: ??? (in /usr/local/bin/ping)
==3135== by 0x528EB14: (below main) (in /usr/lib64/libc-2.17.so)
==3135== Address 0x5834750 is 0 bytes inside a block of size 36 free'd
==3135== at 0x4C2AD17: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3135== by 0x4E367FF: cap_free (in /usr/lib64/libcap.so.2.22)
==3135== by 0x10CE9C: ??? (in /usr/local/bin/ping)
==3135== by 0x109ED4: ??? (in /usr/local/bin/ping)
==3135== by 0x528EB14: (below main) (in /usr/lib64/libc-2.17.so)
==3135=--3135-- REDIR: 0x52fba00 (libc.so.6:memcpy@@GLIBC_2.14) redirected to
0x4a24716 (_vgnU_ifunc_wrapper)
--3135-- REDIR: 0x53b4d10 (libc.so.6:__memcpy_ssse3_back) redirected
to 0x4c2e170 (memcpy@@GLIBC_2.14)
--3135-- REDIR: 0x52f32e0 (libc.so.6:strlen) redirected to 0x4a24716
(_vgnU_ifunc_wrapper)
--3135-- REDIR: 0x53cf950 (libc.so.6:__strlen_sse2_pminub) redirected
to 0x4c2cba0 (strlen)
==3135== Invalid read of size 4
==3135== at 0x503F6E9: idna_to_ascii_4z (in /usr/lib64/libidn.so.11.6.11)
==3135== by 0x503F977: idna_to_ascii_8z (in /usr/lib64/libidn.so.11.6.11)
==3135== by 0x503F9D9: idna_to_ascii_lz (in /usr/lib64/libidn.so.11.6.11)
==3135== by 0x10A214: ??? (in /usr/local/bin/ping)
==3135== by 0x528EB14: (below main) (in /usr/lib64/libc-2.17.so)
==3135== Address 0x58348e4 is 4 bytes inside a block of size 7 alloc'd
==3135== at 0x4C29BFD: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3135== by 0x503F83B: idna_to_ascii_4z (in /usr/lib64/libidn.so.11.6.11)
==3135== by 0x503F977: idna_to_ascii_8z (in /usr/lib64/libidn.so.11.6.11)
==3135== by 0x503F9D9: idna_to_ascii_lz (in /usr/lib64/libidn.so.11.6.11)
==3135== by 0x10A214: ??? (in /usr/local/bin/ping)
==3135== by 0x528EB14: (below main) (in /usr/lib64/libc-2.17.so)
==3135=--3135-- REDIR: 0x52ecd70 (libc.so.6:realloc) redirected to 0x4c2ba80
(realloc)
--3135-- REDIR: 0x52f2d20 (libc.so.6:strcpy) redirected to 0x4a24716
(_vgnU_ifunc_wrapper)
--3135-- REDIR: 0x53018e0 (libc.so.6:__strcpy_sse2_unaligned)
redirected to 0x4c2cc80 (strcpy)
--3135-- REDIR: 0x530b2b0 (libc.so.6:__GI_strstr) redirected to
0x4c30be0 (__strstr_sse2)
--3135-- REDIR: 0x5301130 (libc.so.6:__GI_strncpy) redirected to
0x4c2cf90 (__GI_strncpy)
--3135-- REDIR: 0x53a8a70 (libc.so.6:__strncasecmp_avx) redirected to
0x4c2d620 (strncasecmp)
--3135-- REDIR: 0x52f6f00 (libc.so.6:__GI_stpcpy) redirected to
0x4c2f860 (__GI_stpcpy)
--3135-- REDIR: 0x52ed280 (libc.so.6:calloc) redirected to 0x4c2b8de (calloc)
--3135-- Reading syms from /usr/lib64/libnss_files-2.17.so
--3135-- REDIR: 0x52f2d60 (libc.so.6:__GI_strcpy) redirected to
0x4c2cd60 (__GI_strcpy)
--3135-- REDIR: 0x52fd090 (libc.so.6:rawmemchr) redirected to
0x4a24716 (_vgnU_ifunc_wrapper)
--3135-- REDIR: 0x52fd0d0 (libc.so.6:__GI___rawmemchr) redirected to
0x4c304d0 (__GI___rawmemchr)
--3135-- REDIR: 0x53a7400 (libc.so.6:__strcasecmp_avx) redirected to
0x4c2d540 (strcasecmp)
--3135-- Reading syms from /usr/local/samba/lib/libnss_wins.so.2
--3135-- Reading syms from /usr/lib64/libpthread-2.17.so
--3135-- Reading syms from /usr/local/samba/lib/libwbclient.so.0.12
--3135-- Discarding syms at 0xc36dae0-0xc36e0f4 in
/usr/local/samba/lib/libnss_wins.so.2 due to munmap()
--3135-- Discarding syms at 0xc78f2a0-0xc799b2c in
/usr/local/samba/lib/libwbclient.so.0.12 due to munmap()
--3135-- Reading syms from /usr/lib64/libnss_dns-2.17.so
--3135-- Reading syms from /usr/lib64/libresolv-2.17.so
==3135== Invalid read of size 8
==3135== at 0xC576915: __pthread_initialize_minimal (in
/usr/lib64/libpthread-2.17.so)
==3135== by 0xC575408: ??? (in /usr/lib64/libpthread-2.17.so)
==3135== by 0xFFF0007D3: ???
==3135== by 0x6D6F632E656C66: ???
==3135== by 0x535345535F474457: ???
==3135== by 0x313D44495F4E4F48: ???
==3135== by 0x4D414E54534F47FF: ???
==3135== by 0x5400736D656D3D44: ???
==3135== by 0x303174763D4D5244: ???
==3135== by 0x3D4C4C454853002F: ???
==3135== by 0x7361622F6E69622E: ???
==3135== by 0x4953545349480067: ???
==3135== Address 0x968 is not stack'd, malloc'd or (recently)
free'd
==3135===3135===3135== Process terminating with default action of signal 11
(SIGSEGV)
==3135== Access not within mapped region at address 0x968
==3135== at 0xC576915: __pthread_initialize_minimal (in
/usr/lib64/libpthread-2.17.so)
==3135== by 0xC575408: ??? (in /usr/lib64/libpthread-2.17.so)
==3135== by 0xFFF0007D3: ???
==3135== by 0x6D6F632E656C66: ???
==3135== by 0x535345535F474457: ???
==3135== by 0x313D44495F4E4F48: ???
==3135== by 0x4D414E54534F47FF: ???
==3135== by 0x5400736D656D3D44: ???
==3135== by 0x303174763D4D5244: ???
==3135== by 0x3D4C4C454853002F: ???
==3135== by 0x7361622F6E69622E: ???
==3135== by 0x4953545349480067: ???
==3135== If you believe this happened as a result of a stack
==3135== overflow in your program's main thread (unlikely but
==3135== possible), you can try to increase the size of the
==3135== main thread stack using the --main-stacksize= flag.
==3135== The main thread stack size used in this run was 8388608.
--3135-- Discarding syms at 0xc15c240-0xc163454 in
/usr/lib64/libnss_files-2.17.so due to munmap()
==3135===3135== HEAP SUMMARY:
==3135== in use at exit: 4,186 bytes in 13 blocks
==3135== total heap usage: 128 allocs, 115 frees, 17,933 bytes allocated
==3135===3135== Searching for pointers to 13 not-freed blocks
==3135== Checked 212,912 bytes
==3135===3135== 11 bytes in 1 blocks are still reachable in loss record 1 of 9
==3135== at 0x4C2BB4A: realloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3135== by 0x503F76D: idna_to_ascii_4z (in /usr/lib64/libidn.so.11.6.11)
==3135== by 0x503F977: idna_to_ascii_8z (in /usr/lib64/libidn.so.11.6.11)
==3135== by 0x503F9D9: idna_to_ascii_lz (in /usr/lib64/libidn.so.11.6.11)
==3135== by 0x10A214: ??? (in /usr/local/bin/ping)
==3135== by 0x528EB14: (below main) (in /usr/lib64/libc-2.17.so)
==3135===3135== 23 bytes in 1 blocks are still reachable in loss record 2 of 9
==3135== at 0x4C29BFD: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3135== by 0x4018B59: strdup (in /usr/lib64/ld-2.17.so)
==3135== by 0x401648A: _dl_load_cache_lookup (in /usr/lib64/ld-2.17.so)
==3135== by 0x4008741: _dl_map_object (in /usr/lib64/ld-2.17.so)
==3135== by 0x4013843: dl_open_worker (in /usr/lib64/ld-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135== by 0x40131AA: _dl_open (in /usr/lib64/ld-2.17.so)
==3135== by 0x539DAB1: do_dlopen (in /usr/lib64/libc-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135== by 0x539DB71: __libc_dlopen_mode (in /usr/lib64/libc-2.17.so)
==3135== by 0x5375338: __nss_lookup_function (in /usr/lib64/libc-2.17.so)
==3135== by 0x53755ED: __nss_next2 (in /usr/lib64/libc-2.17.so)
==3135===3135== 23 bytes in 1 blocks are still reachable in loss record 3 of 9
==3135== at 0x4C29BFD: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3135== by 0x400B223: _dl_new_object (in /usr/lib64/ld-2.17.so)
==3135== by 0x40060EB: _dl_map_object_from_fd (in /usr/lib64/ld-2.17.so)
==3135== by 0x400849A: _dl_map_object (in /usr/lib64/ld-2.17.so)
==3135== by 0x4013843: dl_open_worker (in /usr/lib64/ld-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135== by 0x40131AA: _dl_open (in /usr/lib64/ld-2.17.so)
==3135== by 0x539DAB1: do_dlopen (in /usr/lib64/libc-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135== by 0x539DB71: __libc_dlopen_mode (in /usr/lib64/libc-2.17.so)
==3135== by 0x5375338: __nss_lookup_function (in /usr/lib64/libc-2.17.so)
==3135== by 0x53755ED: __nss_next2 (in /usr/lib64/libc-2.17.so)
==3135===3135== 32 bytes in 1 blocks are still reachable in loss record 4 of 9
==3135== at 0x4C29BFD: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3135== by 0x4014BD3: _dl_close_worker (in /usr/lib64/ld-2.17.so)
==3135== by 0x401320C: _dl_open (in /usr/lib64/ld-2.17.so)
==3135== by 0x539DAB1: do_dlopen (in /usr/lib64/libc-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135== by 0x539DB71: __libc_dlopen_mode (in /usr/lib64/libc-2.17.so)
==3135== by 0x5375338: __nss_lookup_function (in /usr/lib64/libc-2.17.so)
==3135== by 0x53755ED: __nss_next2 (in /usr/lib64/libc-2.17.so)
==3135== by 0x537BCCA: gethostbyname2_r@@GLIBC_2.2.5 (in
/usr/lib64/libc-2.17.so)
==3135== by 0x537B9F8: gethostbyname2 (in /usr/lib64/libc-2.17.so)
==3135== by 0x10A22B: ??? (in /usr/local/bin/ping)
==3135== by 0x528EB14: (below main) (in /usr/lib64/libc-2.17.so)
==3135===3135== 45 bytes in 2 blocks are still reachable in loss record 5 of 9
==3135== at 0x4C29BFD: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3135== by 0x4018B59: strdup (in /usr/lib64/ld-2.17.so)
==3135== by 0x401648A: _dl_load_cache_lookup (in /usr/lib64/ld-2.17.so)
==3135== by 0x4008741: _dl_map_object (in /usr/lib64/ld-2.17.so)
==3135== by 0x400C991: openaux (in /usr/lib64/ld-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135== by 0x400D091: _dl_map_object_deps (in /usr/lib64/ld-2.17.so)
==3135== by 0x401389A: dl_open_worker (in /usr/lib64/ld-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135== by 0x40131AA: _dl_open (in /usr/lib64/ld-2.17.so)
==3135== by 0x539DAB1: do_dlopen (in /usr/lib64/libc-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135===3135== 45 bytes in 2 blocks are still reachable in loss record 6 of 9
==3135== at 0x4C29BFD: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3135== by 0x400B223: _dl_new_object (in /usr/lib64/ld-2.17.so)
==3135== by 0x40060EB: _dl_map_object_from_fd (in /usr/lib64/ld-2.17.so)
==3135== by 0x400849A: _dl_map_object (in /usr/lib64/ld-2.17.so)
==3135== by 0x400C991: openaux (in /usr/lib64/ld-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135== by 0x400D091: _dl_map_object_deps (in /usr/lib64/ld-2.17.so)
==3135== by 0x401389A: dl_open_worker (in /usr/lib64/ld-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135== by 0x40131AA: _dl_open (in /usr/lib64/ld-2.17.so)
==3135== by 0x539DAB1: do_dlopen (in /usr/lib64/libc-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135===3135== 480 bytes in 2 blocks are still reachable in loss record 7 of 9
==3135== at 0x4C2B974: calloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3135== by 0x40109AD: _dl_check_map_versions (in /usr/lib64/ld-2.17.so)
==3135== by 0x4013D35: dl_open_worker (in /usr/lib64/ld-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135== by 0x40131AA: _dl_open (in /usr/lib64/ld-2.17.so)
==3135== by 0x539DAB1: do_dlopen (in /usr/lib64/libc-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135== by 0x539DB71: __libc_dlopen_mode (in /usr/lib64/libc-2.17.so)
==3135== by 0x5375338: __nss_lookup_function (in /usr/lib64/libc-2.17.so)
==3135== by 0x53755ED: __nss_next2 (in /usr/lib64/libc-2.17.so)
==3135== by 0x537BCCA: gethostbyname2_r@@GLIBC_2.2.5 (in
/usr/lib64/libc-2.17.so)
==3135== by 0x537B9F8: gethostbyname2 (in /usr/lib64/libc-2.17.so)
==3135===3135== 1,176 bytes in 1 blocks are still reachable in loss record 8 of
9
==3135== at 0x4C2B974: calloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3135== by 0x400AF8E: _dl_new_object (in /usr/lib64/ld-2.17.so)
==3135== by 0x40060EB: _dl_map_object_from_fd (in /usr/lib64/ld-2.17.so)
==3135== by 0x400849A: _dl_map_object (in /usr/lib64/ld-2.17.so)
==3135== by 0x4013843: dl_open_worker (in /usr/lib64/ld-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135== by 0x40131AA: _dl_open (in /usr/lib64/ld-2.17.so)
==3135== by 0x539DAB1: do_dlopen (in /usr/lib64/libc-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135== by 0x539DB71: __libc_dlopen_mode (in /usr/lib64/libc-2.17.so)
==3135== by 0x5375338: __nss_lookup_function (in /usr/lib64/libc-2.17.so)
==3135== by 0x53755ED: __nss_next2 (in /usr/lib64/libc-2.17.so)
==3135===3135== 2,351 bytes in 2 blocks are still reachable in loss record 9 of
9
==3135== at 0x4C2B974: calloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3135== by 0x400AF8E: _dl_new_object (in /usr/lib64/ld-2.17.so)
==3135== by 0x40060EB: _dl_map_object_from_fd (in /usr/lib64/ld-2.17.so)
==3135== by 0x400849A: _dl_map_object (in /usr/lib64/ld-2.17.so)
==3135== by 0x400C991: openaux (in /usr/lib64/ld-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135== by 0x400D091: _dl_map_object_deps (in /usr/lib64/ld-2.17.so)
==3135== by 0x401389A: dl_open_worker (in /usr/lib64/ld-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135== by 0x40131AA: _dl_open (in /usr/lib64/ld-2.17.so)
==3135== by 0x539DAB1: do_dlopen (in /usr/lib64/libc-2.17.so)
==3135== by 0x400F1B3: _dl_catch_error (in /usr/lib64/ld-2.17.so)
==3135===3135== LEAK SUMMARY:
==3135== definitely lost: 0 bytes in 0 blocks
==3135== indirectly lost: 0 bytes in 0 blocks
==3135== possibly lost: 0 bytes in 0 blocks
==3135== still reachable: 4,186 bytes in 13 blocks
==3135== suppressed: 0 bytes in 0 blocks
==3135===3135== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 1 from 1)
==3135===3135== 1 errors in context 1 of 4:
==3135== Invalid read of size 8
==3135== at 0xC576915: __pthread_initialize_minimal (in
/usr/lib64/libpthread-2.17.so)
==3135== by 0xC575408: ??? (in /usr/lib64/libpthread-2.17.so)
==3135== by 0xFFF0007D3: ???
==3135== by 0x6D6F632E656C66: ???
==3135== by 0x535345535F474457: ???
==3135== by 0x313D44495F4E4F48: ???
==3135== by 0x4D414E54534F47FF: ???
==3135== by 0x5400736D656D3D44: ???
==3135== by 0x303174763D4D5244: ???
==3135== by 0x3D4C4C454853002F: ???
==3135== by 0x7361622F6E69622E: ???
==3135== by 0x4953545349480067: ???
==3135== Address 0x968 is not stack'd, malloc'd or (recently)
free'd
==3135===3135===3135== 1 errors in context 2 of 4:
==3135== Invalid read of size 4
==3135== at 0x503F6E9: idna_to_ascii_4z (in /usr/lib64/libidn.so.11.6.11)
==3135== by 0x503F977: idna_to_ascii_8z (in /usr/lib64/libidn.so.11.6.11)
==3135== by 0x503F9D9: idna_to_ascii_lz (in /usr/lib64/libidn.so.11.6.11)
==3135== by 0x10A214: ??? (in /usr/local/bin/ping)
==3135== by 0x528EB14: (below main) (in /usr/lib64/libc-2.17.so)
==3135== Address 0x58348e4 is 4 bytes inside a block of size 7 alloc'd
==3135== at 0x4C29BFD: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3135== by 0x503F83B: idna_to_ascii_4z (in /usr/lib64/libidn.so.11.6.11)
==3135== by 0x503F977: idna_to_ascii_8z (in /usr/lib64/libidn.so.11.6.11)
==3135== by 0x503F9D9: idna_to_ascii_lz (in /usr/lib64/libidn.so.11.6.11)
==3135== by 0x10A214: ??? (in /usr/local/bin/ping)
==3135== by 0x528EB14: (below main) (in /usr/lib64/libc-2.17.so)
==3135===3135===3135== 1 errors in context 3 of 4:
==3135== Invalid read of size 4
==3135== at 0x4E36779: cap_free (in /usr/lib64/libcap.so.2.22)
==3135== by 0x10CE56: ??? (in /usr/local/bin/ping)
==3135== by 0x109ED4: ??? (in /usr/local/bin/ping)
==3135== by 0x528EB14: (below main) (in /usr/lib64/libc-2.17.so)
==3135== Address 0x5834750 is 0 bytes inside a block of size 36 free'd
==3135== at 0x4C2AD17: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3135== by 0x4E367FF: cap_free (in /usr/lib64/libcap.so.2.22)
==3135== by 0x10CE9C: ??? (in /usr/local/bin/ping)
==3135== by 0x109ED4: ??? (in /usr/local/bin/ping)
==3135== by 0x528EB14: (below main) (in /usr/lib64/libc-2.17.so)
==3135===3135===3135== 1 errors in context 4 of 4:
==3135== Invalid read of size 4
==3135== at 0x4E36779: cap_free (in /usr/lib64/libcap.so.2.22)
==3135== by 0x10CE56: ??? (in /usr/local/bin/ping)
==3135== by 0x109E9D: ??? (in /usr/local/bin/ping)
==3135== by 0x528EB14: (below main) (in /usr/lib64/libc-2.17.so)
==3135== Address 0x58346e0 is 0 bytes inside a block of size 36 free'd
==3135== at 0x4C2AD17: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==3135== by 0x4E367FF: cap_free (in /usr/lib64/libcap.so.2.22)
==3135== by 0x10CE9C: ??? (in /usr/local/bin/ping)
==3135== by 0x109E9D: ??? (in /usr/local/bin/ping)
==3135== by 0x528EB14: (below main) (in /usr/lib64/libc-2.17.so)
==3135=--3135--
--3135-- used_suppression: 1 glibc-2.5.x-on-SUSE-10.2-(PPC)-2a
/usr/lib64/valgrind/default.supp:1296
==3135===3135== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 1 from 1)
Segmentation fault
2016-03-22 11:32 GMT+02:00 Volker Lendecke <Volker.Lendecke at sernet.de>:
> On Tue, Mar 22, 2016 at 09:56:44AM +0200, barış tombul wrote:
> > WINS nsswitch module
> > --------------------
> >
> > The WINS nsswitch module has been rewritten to address memory issues
and
> to
> > simplify the code. The module now uses libwbclient to do WINS queries.
> This
> > means that winbind needs to be running in order to resolve WINS names
> using
> > the nss_wins module. This does not affect smbd.
> >
> >
> >
> > my problem:
> >
> > old versions >> ping google.com >> PING google.com
(216.58.212.14)
> > 56(84) bytes of data.
> >
> > samba 4.4.rcx >> ping google.com >> Segmentation fault
>
> Please send valgrind logs and/or a full backtrace with gdb.
>
> Thanks,
>
> Volker
>