Project

General

Profile

Actions

Bug #3757

closed

Memory leak

Added by Dhiraj over 5 years ago. Updated almost 5 years ago.

Status:
Rejected
Priority:
High
Assignee:
Target version:
-
Start date:
01/12/2019
Due date:
% Done:

90%

Spec Reference:
Tags:

Description

Hi Team, memory leak was observed in ./gtp-tunnel

--14321-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--14321-- Page sizes: currently 4096, max supported 4096
--14321-- Valgrind library directory: /usr/lib/valgrind
--14321-- Reading syms from /bin/bash
--14321-- object doesn't have a symbol table
--14321-- Reading syms from /lib/x86_64-linux-gnu/ld-2.27.so
--14321-- Considering /lib/x86_64-linux-gnu/ld-2.27.so ..
--14321-- .. CRC mismatch (computed 1b7c895e wanted 2943108a)
--14321-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.27.so ..
--14321-- .. CRC is valid
--14321-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux
--14321-- Considering /usr/lib/valgrind/memcheck-amd64-linux ..
--14321-- .. CRC mismatch (computed c25f395c wanted 0a9602a8)
--14321-- object doesn't have a symbol table
--14321-- object doesn't have a dynamic symbol table
--14321-- Scheduler: using generic scheduler lock implementation.
--14321-- Reading suppressions file: /usr/lib/valgrind/default.supp
14321 embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14321-by-input0-on-???
14321 embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14321-by-input0-on-???
14321 embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14321-by-input0-on-???
14321
14321
--14321-- REDIR: 0x401f2f0 (ld-linux-x86-64.so.2:strlen) redirected to 0x58060901 (?)
--14321-- REDIR: 0x401f0d0 (ld-linux-x86-64.so.2:index) redirected to 0x5806091b (
?)
--14321-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so
--14321-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so ..
--14321-- .. CRC mismatch (computed 4b63d83e wanted 670599e6)
--14321-- object doesn't have a symbol table
--14321-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so
--14321-- Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so ..
--14321-- .. CRC mismatch (computed a4b37bee wanted 8ad4dc94)
--14321-- object doesn't have a symbol table
14321 WARNING: new redirection conflicts with existing -- ignoring it
--14321-- old: 0x0401f2f0 (strlen ) R-> (0000.0) 0x58060901 ?
--14321-- new: 0x0401f2f0 (strlen ) R-> (2007.0) 0x04c32db0 strlen
--14321-- REDIR: 0x401d360 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c33ee0 (strcmp)
--14321-- REDIR: 0x401f830 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c374f0 (mempcpy)
--14321-- Reading syms from /lib/x86_64-linux-gnu/libtinfo.so.5.9
--14321-- object doesn't have a symbol table
--14321-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.27.so
--14321-- Considering /lib/x86_64-linux-gnu/libdl-2.27.so ..
--14321-- .. CRC mismatch (computed bd82fa02 wanted d1fdccc9)
--14321-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.27.so ..
--14321-- .. CRC is valid
--14321-- Reading syms from /lib/x86_64-linux-gnu/libc-2.27.so
--14321-- Considering /lib/x86_64-linux-gnu/libc-2.27.so ..
--14321-- .. CRC mismatch (computed b1c74187 wanted 042cc048)
--14321-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.27.so ..
--14321-- .. CRC is valid
--14321-- REDIR: 0x5308c70 (libc.so.6:memmove) redirected to 0x4a2a6e0 (vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5307d40 (libc.so.6:strncpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5308f50 (libc.so.6:strcasecmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5307790 (libc.so.6:strcat) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5307d70 (libc.so.6:rindex) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x530a7c0 (libc.so.6:rawmemchr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5308de0 (libc.so.6:mempcpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5308c10 (libc.so.6:bcmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5307d00 (libc.so.6:strncmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5307800 (libc.so.6:strcmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5308d40 (libc.so.6:memset) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x53260f0 (libc.so.6:wcschr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5307ca0 (libc.so.6:strnlen) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5307870 (libc.so.6:strcspn) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5308fa0 (libc.so.6:strncasecmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5307840 (libc.so.6:strcpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x53090e0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5307da0 (libc.so.6:strpbrk) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x53077c0 (libc.so.6:index) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5307c70 (libc.so.6:strlen) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x53126c0 (libc.so.6:memrchr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5308ff0 (libc.so.6:strcasecmp_l) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5308be0 (libc.so.6:memchr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5326eb0 (libc.so.6:wcslen) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5308050 (libc.so.6:strspn) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5308f20 (libc.so.6:stpncpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5308ef0 (libc.so.6:stpcpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x530a7f0 (libc.so.6:strchrnul) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5309040 (libc.so.6:strncasecmp_l) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5307cd0 (libc.so.6:strncat) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x539b8a0 (libc.so.6:
_memcpy_chk) redirected to 0x4a2a6e0 (vgnU_ifunc_wrapper)
--14321-- REDIR: 0x5308b20 (libc.so.6:strstr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--14321-- REDIR: 0x539b970 (libc.so.6:
_memmove_chk) redirected to 0x4a2a6e0 (vgnU_ifunc_wrapper)
14321 WARNING: new redirection conflicts with existing -- ignoring it
--14321-- old: 0x053f8ac0 (
_memcpy_chk_avx_una) R-> (2030.0) 0x04c375e0 _memcpy_chk
--14321-- new: 0x053f8ac0 (
_memcpy_chk_avx_una) R-> (2024.0) 0x04c36fa0 _memmove_chk
--14321-- REDIR: 0x53f83c0 (libc.so.6:
_strrchr_avx2) redirected to 0x4c32730 (rindex)
--14321-- REDIR: 0x53d3d60 (libc.so.6:__strcmp_ssse3) redirected to 0x4c33da0 (strcmp)
--14321-- REDIR: 0x53f8590 (libc.so.6:__strlen_avx2) redirected to 0x4c32cf0 (strlen)
--14321-- REDIR: 0x53ef510 (libc.so.6:__strncmp_sse42) redirected to 0x4c33570 (_strncmp_sse42)
--14321-- REDIR: 0x53f7fa0 (libc.so.6:
_strchr_avx2) redirected to 0x4c32950 (index)
--14321-- REDIR: 0x53f4420 (libc.so.6:__memchr_avx2) redirected to 0x4c33f80 (memchr)
--14321-- REDIR: 0x5301070 (libc.so.6:malloc) redirected to 0x4c2faa0 (malloc)
--14321-- REDIR: 0x53f8ad0 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4c366e0 (memmove)
--14321-- REDIR: 0x5301950 (libc.so.6:free) redirected to 0x4c30cd0 (free)
--14321-- REDIR: 0x53e5950 (libc.so.6:__strcpy_ssse3) redirected to 0x4c32dd0 (strcpy)
--14321-- REDIR: 0x53f8720 (libc.so.6:__strnlen_avx2) redirected to 0x4c32c90 (strnlen)
--14321-- REDIR: 0x5304030 (libc.so.6:calloc) redirected to 0x4c31a70 (calloc)
--14321-- REDIR: 0x53f81d0 (libc.so.6:__strchrnul_avx2) redirected to 0x4c37020 (strchrnul)
--14321-- REDIR: 0x539bc70 (libc.so.6:__strcpy_chk) redirected to 0x4c37090 (_strcpy_chk)
--14321-- REDIR: 0x5302c30 (libc.so.6:realloc) redirected to 0x4c31cb0 (realloc)
--14321-- REDIR: 0x53f8f50 (libc.so.6:
_memset_avx2_unaligned_erms) redirected to 0x4c365d0 (memset)
--14321-- REDIR: 0x53f41b0 (libc.so.6:__strpbrk_sse42) redirected to 0x4c37860 (strpbrk)
--14321-- REDIR: 0x53e7100 (libc.so.6:__strncpy_ssse3) redirected to 0x4c32fb0 (strncpy)
14322 embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14322-by-input0-on-
?
14322 embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14322-by-input0-on-???
14322 embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14322-by-input0-on-???
14322
--14323-- REDIR: 0x53f8ab0 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4c37130 (mempcpy)
14323 embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14323-by-input0-on-???
14323 embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14323-by-input0-on-???
14323 embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14323-by-input0-on-???
14323
14323 HEAP SUMMARY:
14323 in use at exit: 54,397 bytes in 931 blocks
14323 total heap usage: 1,222 allocs, 291 frees, 83,576 bytes allocated
14323
14323 Searching for pointers to 931 not-freed blocks
14323 Checked 198,048 bytes
14323
14323 6 bytes in 1 blocks are definitely lost in loss record 33 of 317
14323 at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
14323 by 0x18EF2D: xmalloc (in /bin/bash)
14323 by 0x18898A: set_default_locale (in /bin/bash)
14323 by 0x137E66: main (in /bin/bash)
14323
14323 24 bytes in 1 blocks are definitely lost in loss record 139 of 317
14323 at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
14323 by 0x18EF2D: xmalloc (in /bin/bash)
14323 by 0x14DA19: execute_command_internal (in /bin/bash)
14323 by 0x1956F7: parse_and_execute (in /bin/bash)
14323 by 0x169AD9: command_substitute (in /bin/bash)
14323 by 0x16FFC0: ? (in /bin/bash)
14323 by 0x1711EB: ?
(in /bin/bash)
14323 by 0x1712AB: expand_word_unsplit (in /bin/bash)
14323 by 0x14E255: execute_command_internal (in /bin/bash)
14323 by 0x14FB81: execute_command (in /bin/bash)
14323 by 0x14E5FA: execute_command_internal (in /bin/bash)
14323 by 0x14FB81: execute_command (in /bin/bash)
14323
14323 LEAK SUMMARY:
14323 definitely lost: 30 bytes in 2 blocks
14323 indirectly lost: 0 bytes in 0 blocks
14323 possibly lost: 0 bytes in 0 blocks
14323 still reachable: 54,367 bytes in 929 blocks
14323 suppressed: 0 bytes in 0 blocks
14323 Reachable blocks (those to which a pointer was found) are not shown.
14323 To see them, rerun with: --leak-check=full --show-leak-kinds=all
14323
14322
14322 Searching for pointers to 915 not-freed blocks
14322 Checked 197,528 bytes
14322
14322 6 bytes in 1 blocks are definitely lost in loss record 33 of 302
14322 at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
14322 by 0x18EF2D: xmalloc (in /bin/bash)
14322 by 0x18898A: set_default_locale (in /bin/bash)
14322 by 0x137E66: main (in /bin/bash)
14322
14322 LEAK SUMMARY:
14322 definitely lost: 6 bytes in 1 blocks
14322 indirectly lost: 0 bytes in 0 blocks
14322 possibly lost: 0 bytes in 0 blocks
14322 still reachable: 54,005 bytes in 914 blocks
14322 suppressed: 0 bytes in 0 blocks
14322 Reachable blocks (those to which a pointer was found) are not shown.
14322 To see them, rerun with: --leak-check=full --show-leak-kinds=all
14322
14322 ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
14322 ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
14324 embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14324-by-input0-on-???
14324 embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14324-by-input0-on-???
14324 embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14324-by-input0-on-???
14324
14324
14324 HEAP SUMMARY:
14324 in use at exit: 53,075 bytes in 888 blocks
14324 total heap usage: 1,385 allocs, 497 frees, 86,174 bytes allocated
14324
14324 Searching for pointers to 888 not-freed blocks
14324 Checked 197,000 bytes
14324
14324 6 bytes in 1 blocks are definitely lost in loss record 33 of 296
14324 at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
14324 by 0x18EF2D: xmalloc (in /bin/bash)
14324 by 0x18898A: set_default_locale (in /bin/bash)
14324 by 0x137E66: main (in /bin/bash)
14324
14324 34 bytes in 1 blocks are definitely lost in loss record 223 of 296
14324 at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
14324 by 0x18EF2D: xmalloc (in /bin/bash)
14324 by 0x14DA19: execute_command_internal (in /bin/bash)
14324 by 0x14FB81: execute_command (in /bin/bash)
14324 by 0x14F0CC: execute_command_internal (in /bin/bash)
14324 by 0x14FB81: execute_command (in /bin/bash)
14324 by 0x13A253: reader_loop (in /bin/bash)
14324 by 0x138C7E: main (in /bin/bash)
14324
14324 LEAK SUMMARY:
14324 definitely lost: 40 bytes in 2 blocks
14324 indirectly lost: 0 bytes in 0 blocks
14324 possibly lost: 0 bytes in 0 blocks
14324 still reachable: 53,035 bytes in 886 blocks
14324 suppressed: 0 bytes in 0 blocks
14324 Reachable blocks (those to which a pointer was found) are not shown.
14324 To see them, rerun with: --leak-check=full --show-leak-kinds=all
14324
14324 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
14324 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
14325 embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14325-by-input0-on-???
14325 embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14325-by-input0-on-???
14325 embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14325-by-input0-on-???
14325
14326 embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14326-by-input0-on-???
14326 embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14326-by-input0-on-???
14326 embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14326-by-input0-on-???
14326
14326
14326 HEAP SUMMARY:
14326 in use at exit: 88,951 bytes in 2,477 blocks
14326 total heap usage: 3,918 allocs, 1,441 frees, 158,879 bytes allocated
14326
14326 Searching for pointers to 2,477 not-freed blocks
14326 Checked 228,248 bytes
14326
14326 6 bytes in 1 blocks are definitely lost in loss record 45 of 783
14326 at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
14326 by 0x18EF2D: xmalloc (in /bin/bash)
14326 by 0x18898A: set_default_locale (in /bin/bash)
14326 by 0x137E66: main (in /bin/bash)
14326
14326 14 bytes in 1 blocks are definitely lost in loss record 133 of 783
14326 at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
14326 by 0x18EF2D: xmalloc (in /bin/bash)
14326 by 0x13573B: ? (in /bin/bash)
14326 by 0x14E067: execute_command_internal (in /bin/bash)
14326 by 0x136CFD: ?
(in /bin/bash)
14326 by 0x14F14C: execute_command_internal (in /bin/bash)
14326 by 0x1956F7: parse_and_execute (in /bin/bash)
14326 by 0x169AD9: command_substitute (in /bin/bash)
14326 by 0x16FFC0: ? (in /bin/bash)
14326 by 0x1711EB: ?
(in /bin/bash)
14326 by 0x171349: expand_string_assignment (in /bin/bash)
14326 by 0x16A63D: ? (in /bin/bash)
14326
14326 LEAK SUMMARY:
14326 definitely lost: 20 bytes in 2 blocks
14326 indirectly lost: 0 bytes in 0 blocks
14326 possibly lost: 0 bytes in 0 blocks
14326 still reachable: 88,931 bytes in 2,475 blocks
14326 suppressed: 0 bytes in 0 blocks
14326 Reachable blocks (those to which a pointer was found) are not shown.
14326 To see them, rerun with: --leak-check=full --show-leak-kinds=all
14326
14326 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
14326 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
14325
14325 HEAP SUMMARY:
14325 in use at exit: 88,528 bytes in 2,457 blocks
14325 total heap usage: 3,911 allocs, 1,454 frees, 154,515 bytes allocated
14325
14325 Searching for pointers to 2,457 not-freed blocks
14325 Checked 227,088 bytes
14325
14325 6 bytes in 1 blocks are definitely lost in loss record 46 of 768
14325 at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
14325 by 0x18EF2D: xmalloc (in /bin/bash)
14325 by 0x18898A: set_default_locale (in /bin/bash)
14325 by 0x137E66: main (in /bin/bash)
14325
14325 LEAK SUMMARY:
14325 definitely lost: 6 bytes in 1 blocks
14325 indirectly lost: 0 bytes in 0 blocks
14325 possibly lost: 0 bytes in 0 blocks
14325 still reachable: 88,522 bytes in 2,456 blocks
14325 suppressed: 0 bytes in 0 blocks
14325 Reachable blocks (those to which a pointer was found) are not shown.
14325 To see them, rerun with: --leak-check=full --show-leak-kinds=all
14325
14325 ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
14325 ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
14328 embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14328-by-input0-on-
?
14328 embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14328-by-input0-on-???
14328 embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14328-by-input0-on-???
14328
14328
14328 HEAP SUMMARY:
14328 in use at exit: 88,600 bytes in 2,460 blocks
14328 total heap usage: 3,977 allocs, 1,517 frees, 156,306 bytes allocated
14328
14328 Searching for pointers to 2,460 not-freed blocks
14328 Checked 227,040 bytes
14328
14328 6 bytes in 1 blocks are definitely lost in loss record 47 of 771
14328 at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
14328 by 0x18EF2D: xmalloc (in /bin/bash)
14328 by 0x18898A: set_default_locale (in /bin/bash)
14328 by 0x137E66: main (in /bin/bash)
14328
14328 LEAK SUMMARY:
14328 definitely lost: 6 bytes in 1 blocks
14328 indirectly lost: 0 bytes in 0 blocks
14328 possibly lost: 0 bytes in 0 blocks
14328 still reachable: 88,594 bytes in 2,459 blocks
14328 suppressed: 0 bytes in 0 blocks
14328 Reachable blocks (those to which a pointer was found) are not shown.
14328 To see them, rerun with: --leak-check=full --show-leak-kinds=all
14328
14328 ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
14328 ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
14331 embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14331-by-input0-on-???
14331 embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14331-by-input0-on-???
14331 embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14331-by-input0-on-???
14331
14331
14331 HEAP SUMMARY:
14331 in use at exit: 88,572 bytes in 2,460 blocks
14331 total heap usage: 4,101 allocs, 1,641 frees, 163,282 bytes allocated
14331
14331 Searching for pointers to 2,460 not-freed blocks
14331 Checked 226,752 bytes
14331
14331 6 bytes in 1 blocks are definitely lost in loss record 48 of 783
14331 at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
14331 by 0x18EF2D: xmalloc (in /bin/bash)
14331 by 0x18898A: set_default_locale (in /bin/bash)
14331 by 0x137E66: main (in /bin/bash)
14331
14331 LEAK SUMMARY:
14331 definitely lost: 6 bytes in 1 blocks
14331 indirectly lost: 0 bytes in 0 blocks
14331 possibly lost: 0 bytes in 0 blocks
14331 still reachable: 88,566 bytes in 2,459 blocks
14331 suppressed: 0 bytes in 0 blocks
14331 Reachable blocks (those to which a pointer was found) are not shown.
14331 To see them, rerun with: --leak-check=full --show-leak-kinds=all
14331
14331 ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
14331 ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
--14321-- REDIR: 0x53e9c80 (libc.so.6:__stpcpy_ssse3) redirected to 0x4c35f60 (stpcpy)
14332 embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14332-by-input0-on-???
14332 embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14332-by-input0-on-???
14332 embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14332-by-input0-on-???
14332
14333 embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14333-by-input0-on-???
14333 embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14333-by-input0-on-???
14333 embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14333-by-input0-on-???
14333
14333
14333 HEAP SUMMARY:
14333 in use at exit: 89,961 bytes in 2,498 blocks
14333 total heap usage: 4,388 allocs, 1,890 frees, 178,348 bytes allocated
14333
14333 Searching for pointers to 2,498 not-freed blocks
14333 Checked 228,768 bytes
14333
14333 6 bytes in 1 blocks are definitely lost in loss record 47 of 793
14333 at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
14333 by 0x18EF2D: xmalloc (in /bin/bash)
14333 by 0x18898A: set_default_locale (in /bin/bash)
14333 by 0x137E66: main (in /bin/bash)
14333
14333 25 bytes in 1 blocks are definitely lost in loss record 283 of 793
14333 at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
14333 by 0x18EF2D: xmalloc (in /bin/bash)
14333 by 0x13573B: ? (in /bin/bash)
14333 by 0x14E067: execute_command_internal (in /bin/bash)
14333 by 0x136CFD: ?
(in /bin/bash)
14333 by 0x14F14C: execute_command_internal (in /bin/bash)
14333 by 0x1956F7: parse_and_execute (in /bin/bash)
14333 by 0x169AD9: command_substitute (in /bin/bash)
14333 by 0x16FFC0: ? (in /bin/bash)
14333 by 0x1711EB: ?
(in /bin/bash)
14333 by 0x171349: expand_string_assignment (in /bin/bash)
14333 by 0x16A63D: ??? (in /bin/bash)
14333
14333 LEAK SUMMARY:
14333 definitely lost: 31 bytes in 2 blocks
14333 indirectly lost: 0 bytes in 0 blocks
14333 possibly lost: 0 bytes in 0 blocks
14333 still reachable: 89,930 bytes in 2,496 blocks
14333 suppressed: 0 bytes in 0 blocks
14333 Reachable blocks (those to which a pointer was found) are not shown.
14333 To see them, rerun with: --leak-check=full --show-leak-kinds=all
14333
14333 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
14333 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
14332
14332 HEAP SUMMARY:
14332 in use at exit: 89,444 bytes in 2,478 blocks
14332 total heap usage: 4,381 allocs, 1,903 frees, 173,399 bytes allocated
14332
14332 Searching for pointers to 2,478 not-freed blocks
14332 Checked 227,512 bytes
14332
14332 6 bytes in 1 blocks are definitely lost in loss record 47 of 778
14332 at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
14332 by 0x18EF2D: xmalloc (in /bin/bash)
14332 by 0x18898A: set_default_locale (in /bin/bash)
14332 by 0x137E66: main (in /bin/bash)
14332
14332 LEAK SUMMARY:
14332 definitely lost: 6 bytes in 1 blocks
14332 indirectly lost: 0 bytes in 0 blocks
14332 possibly lost: 0 bytes in 0 blocks
14332 still reachable: 89,438 bytes in 2,477 blocks
14332 suppressed: 0 bytes in 0 blocks
14332 Reachable blocks (those to which a pointer was found) are not shown.
14332 To see them, rerun with: --leak-check=full --show-leak-kinds=all
14332
14332 ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
14332 ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)

Actions #1

Updated by pespin almost 5 years ago

  • Status changed from New to Feedback

Hi,

all memleaks appearing here seem to come from /bin/bash, not gtp-tunnel.

Unless more information or corrections are provided, we can close this ticket in a few days.

Actions #2

Updated by pespin almost 5 years ago

  • Assignee set to pespin
Actions #3

Updated by pespin almost 5 years ago

  • % Done changed from 0 to 90

[erased content, doesn't belong here, I posted in wrong ticket]

Actions #4

Updated by pespin almost 5 years ago

  • Status changed from Feedback to Rejected

Closing ticket, no answer from author over 10 days and as I said it looks related to /bin/bash, not an issue of gtp-tunnel.

Feel free to re-open the ticket if you have new information proving me wrong.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)