Advertisement
Guest User

Valgrind output SoX

a guest
Mar 11th, 2015
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 13.88 KB | None | 0 0
  1. root@ubuntu:/opt/test_c# valgrind -v --show-leak-kinds=all --tool=memcheck --leak-check=full --track-origins=yes sox __input.wav __output.wav
  2. ==2312== Memcheck, a memory error detector
  3. ==2312== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
  4. ==2312== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
  5. ==2312== Command: sox __input.wav __output.wav
  6. ==2312==
  7. --2312-- Valgrind options:
  8. --2312--    -v
  9. --2312--    --show-leak-kinds=all
  10. --2312--    --tool=memcheck
  11. --2312--    --leak-check=full
  12. --2312--    --track-origins=yes
  13. --2312-- Contents of /proc/version:
  14. --2312--   Linux version 3.16.0-31-generic (buildd@akateko) (gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6) ) #41-Ubuntu SMP Tue Feb 10 15:24:46 UTC 2015
  15. --2312-- Arch and hwcaps: X86, LittleEndian, x86-mmxext-sse1-sse2
  16. --2312-- Page sizes: currently 4096, max supported 4096
  17. --2312-- Valgrind library directory: /usr/lib/valgrind
  18. --2312-- Reading syms from /lib/i386-linux-gnu/ld-2.19.so
  19. --2312--   Considering /lib/i386-linux-gnu/ld-2.19.so ..
  20. --2312--   .. CRC mismatch (computed 645c3744 wanted ca32cc1b)
  21. --2312--   Considering /usr/lib/debug/lib/i386-linux-gnu/ld-2.19.so ..
  22. --2312--   .. CRC is valid
  23. --2312-- Reading syms from /usr/bin/sox
  24. --2312--    object doesn't have a symbol table
  25. --2312-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux
  26. --2312--   Considering /usr/lib/valgrind/memcheck-x86-linux ..
  27. --2312--   .. CRC mismatch (computed c8c3d324 wanted 8c55ffe2)
  28. --2312--    object doesn't have a symbol table
  29. --2312--    object doesn't have a dynamic symbol table
  30. --2312-- Scheduler: using generic scheduler lock implementation.
  31. --2312-- Reading suppressions file: /usr/lib/valgrind/default.supp
  32. ==2312== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-2312-by-root-on-???
  33. ==2312== embedded gdbserver: writing to   /tmp/vgdb-pipe-to-vgdb-from-2312-by-root-on-???
  34. ==2312== embedded gdbserver: shared mem   /tmp/vgdb-pipe-shared-mem-vgdb-2312-by-root-on-???
  35. ==2312==
  36. ==2312== TO CONTROL THIS PROCESS USING vgdb (which you probably
  37. ==2312== don't want to do, unless you know exactly what you're doing,
  38. ==2312== or are doing some strange experiment):
  39. ==2312==   /usr/lib/valgrind/../../bin/vgdb --pid=2312 ...command...
  40. ==2312==
  41. ==2312== TO DEBUG THIS PROCESS USING GDB: start GDB like this
  42. ==2312==   /path/to/gdb sox
  43. ==2312== and then give GDB the following command
  44. ==2312==   target remote | /usr/lib/valgrind/../../bin/vgdb --pid=2312
  45. ==2312== --pid is optional if only one valgrind process is running
  46. ==2312==
  47. --2312-- REDIR: 0x4017e80 (ld-linux.so.2:strlen) redirected to 0x38063622 (???)
  48. --2312-- REDIR: 0x4017c90 (ld-linux.so.2:index) redirected to 0x380635fd (???)
  49. --2312-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so
  50. --2312--   Considering /usr/lib/valgrind/vgpreload_core-x86-linux.so ..
  51. --2312--   .. CRC mismatch (computed 6f65b8f8 wanted 9003a50e)
  52. --2312--    object doesn't have a symbol table
  53. --2312-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so
  54. --2312--   Considering /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so ..
  55. --2312--   .. CRC mismatch (computed 7434b5ae wanted ce5d33a5)
  56. --2312--    object doesn't have a symbol table
  57. ==2312== WARNING: new redirection conflicts with existing -- ignoring it
  58. --2312--     old: 0x04017e80 (strlen              ) R-> (0000.0) 0x38063622 ???
  59. --2312--     new: 0x04017e80 (strlen              ) R-> (2007.0) 0x0402d400 strlen
  60. --2312-- Reading syms from /usr/lib/i386-linux-gnu/libsox.so.2.0.1
  61. --2312--    object doesn't have a symbol table
  62. --2312-- Reading syms from /lib/i386-linux-gnu/libm-2.19.so
  63. --2312--   Considering /lib/i386-linux-gnu/libm-2.19.so ..
  64. --2312--   .. CRC mismatch (computed f22a1de4 wanted 35513d2c)
  65. --2312--   Considering /usr/lib/debug/lib/i386-linux-gnu/libm-2.19.so ..
  66. --2312--   .. CRC is valid
  67. --2312-- Reading syms from /lib/i386-linux-gnu/libpthread-2.19.so
  68. --2312--   Considering /lib/i386-linux-gnu/libpthread-2.19.so ..
  69. --2312--   .. CRC mismatch (computed d46befc4 wanted 97a39524)
  70. --2312--   Considering /usr/lib/debug/lib/i386-linux-gnu/libpthread-2.19.so ..
  71. --2312--   .. CRC is valid
  72. --2312-- Reading syms from /lib/i386-linux-gnu/libc-2.19.so
  73. --2312--   Considering /lib/i386-linux-gnu/libc-2.19.so ..
  74. --2312--   .. CRC mismatch (computed 0aeb3a68 wanted 015e9038)
  75. --2312--   Considering /usr/lib/debug/lib/i386-linux-gnu/libc-2.19.so ..
  76. --2312--   .. CRC is valid
  77. --2312-- Reading syms from /usr/lib/i386-linux-gnu/libltdl.so.7.3.0
  78. --2312--   Considering /usr/lib/i386-linux-gnu/libltdl.so.7.3.0 ..
  79. --2312--   .. CRC mismatch (computed be67177d wanted 55870bae)
  80. --2312--    object doesn't have a symbol table
  81. --2312-- Reading syms from /lib/i386-linux-gnu/libpng12.so.0.51.0
  82. --2312--   Considering /lib/i386-linux-gnu/libpng12.so.0.51.0 ..
  83. --2312--   .. CRC mismatch (computed ecfef107 wanted 4f1e7951)
  84. --2312--    object doesn't have a symbol table
  85. --2312-- Reading syms from /lib/i386-linux-gnu/libz.so.1.2.8
  86. --2312--    object doesn't have a symbol table
  87. --2312-- Reading syms from /usr/lib/i386-linux-gnu/libmagic.so.1.0.0
  88. --2312--    object doesn't have a symbol table
  89. --2312-- Reading syms from /usr/lib/i386-linux-gnu/libgomp.so.1.0.0
  90. --2312--   Considering /usr/lib/i386-linux-gnu/libgomp.so.1.0.0 ..
  91. --2312--   .. CRC mismatch (computed f1170075 wanted 45e02ef9)
  92. --2312--    object doesn't have a symbol table
  93. --2312-- Reading syms from /usr/lib/i386-linux-gnu/libgsm.so.1.0.12
  94. --2312--    object doesn't have a symbol table
  95. --2312-- Reading syms from /lib/i386-linux-gnu/libdl-2.19.so
  96. --2312--   Considering /lib/i386-linux-gnu/libdl-2.19.so ..
  97. --2312--   .. CRC mismatch (computed c2dc2589 wanted 1fc8fab6)
  98. --2312--   Considering /usr/lib/debug/lib/i386-linux-gnu/libdl-2.19.so ..
  99. --2312--   .. CRC is valid
  100. --2312-- REDIR: 0x41aec60 (libc.so.6:strnlen) redirected to 0x4024590 (_vgnU_ifunc_wrapper)
  101. --2312-- REDIR: 0x41b0c10 (libc.so.6:strncasecmp) redirected to 0x4024590 (_vgnU_ifunc_wrapper)
  102. --2312-- REDIR: 0x41b6980 (libc.so.6:memrchr) redirected to 0x4024590 (_vgnU_ifunc_wrapper)
  103. --2312-- REDIR: 0x41c9530 (libc.so.6:wcslen) redirected to 0x4024590 (_vgnU_ifunc_wrapper)
  104. --2312-- REDIR: 0x41af9e0 (libc.so.6:strstr) redirected to 0x4031450 (strstr)
  105. --2312-- REDIR: 0x41aee10 (libc.so.6:__GI_strrchr) redirected to 0x402cdc0 (__GI_strrchr)
  106. --2312-- REDIR: 0x41aeba0 (libc.so.6:__GI_strlen) redirected to 0x402d380 (__GI_strlen)
  107. --2312-- REDIR: 0x41aa550 (libc.so.6:malloc) redirected to 0x402a110 (malloc)
  108. --2312-- REDIR: 0x41aab00 (libc.so.6:free) redirected to 0x402b2f0 (free)
  109. --2312-- REDIR: 0x41b06e0 (libc.so.6:memset) redirected to 0x4024590 (_vgnU_ifunc_wrapper)
  110. --2312-- REDIR: 0x425f3a0 (libc.so.6:__memset_sse2) redirected to 0x40307b0 (memset)
  111. --2312-- REDIR: 0x41aedc0 (libc.so.6:rindex) redirected to 0x4024590 (_vgnU_ifunc_wrapper)
  112. --2312-- REDIR: 0x41c7ef0 (libc.so.6:__strrchr_sse2_bsf) redirected to 0x402cd90 (rindex)
  113. --2312-- REDIR: 0x41aeb50 (libc.so.6:strlen) redirected to 0x4024590 (_vgnU_ifunc_wrapper)
  114. --2312-- REDIR: 0x41b6cf0 (libc.so.6:__strlen_sse2_bsf) redirected to 0x402d360 (strlen)
  115. --2312-- REDIR: 0x41b0bb0 (libc.so.6:strcasecmp) redirected to 0x4024590 (_vgnU_ifunc_wrapper)
  116. --2312-- REDIR: 0x426f8f0 (libc.so.6:__strcasecmp_ssse3) redirected to 0x402dd80 (strcasecmp)
  117. --2312-- REDIR: 0x41ae400 (libc.so.6:strcmp) redirected to 0x4024590 (_vgnU_ifunc_wrapper)
  118. --2312-- REDIR: 0x426ca90 (libc.so.6:__strcmp_ssse3) redirected to 0x402e4e0 (strcmp)
  119. --2312-- REDIR: 0x41aabb0 (libc.so.6:realloc) redirected to 0x402c210 (realloc)
  120. --2312-- REDIR: 0x41ae4d0 (libc.so.6:strcpy) redirected to 0x4024590 (_vgnU_ifunc_wrapper)
  121. --2312-- REDIR: 0x41b6eb0 (libc.so.6:__strcpy_ssse3) redirected to 0x402d440 (strcpy)
  122. --2312-- REDIR: 0x41adfe0 (libc.so.6:strcat) redirected to 0x4024590 (_vgnU_ifunc_wrapper)
  123. --2312-- REDIR: 0x41c2470 (libc.so.6:__strcat_ssse3) redirected to 0x402cff0 (strcat)
  124. --2312-- REDIR: 0x41b2b50 (libc.so.6:strchrnul) redirected to 0x4030e50 (strchrnul)
  125. --2312-- REDIR: 0x41b02f0 (libc.so.6:bcmp) redirected to 0x4024590 (_vgnU_ifunc_wrapper)
  126. --2312-- REDIR: 0x4276cf0 (libc.so.6:__memcmp_ssse3) redirected to 0x4030080 (bcmp)
  127. --2312-- REDIR: 0x41ae1f0 (libc.so.6:index) redirected to 0x4024590 (_vgnU_ifunc_wrapper)
  128. --2312-- REDIR: 0x41c7de0 (libc.so.6:__strchr_sse2_bsf) redirected to 0x402cfb0 (index)
  129. --2312-- REDIR: 0x4271e00 (libc.so.6:__strncasecmp_ssse3) redirected to 0x402dea0 (strncasecmp)
  130. --2312-- REDIR: 0x41b0dd0 (libc.so.6:__GI_memcpy) redirected to 0x402f040 (__GI_memcpy)
  131. --2312-- REDIR: 0x41aed00 (libc.so.6:strncmp) redirected to 0x4024590 (_vgnU_ifunc_wrapper)
  132. --2312-- REDIR: 0x426df00 (libc.so.6:__strncmp_ssse3) redirected to 0x402db40 (strncmp)
  133. --2312-- REDIR: 0x41b0d70 (libc.so.6:memcpy) redirected to 0x4024590 (_vgnU_ifunc_wrapper)
  134. --2312-- REDIR: 0x42604b0 (libc.so.6:__memcpy_ssse3) redirected to 0x402ed40 (memcpy)
  135. ==2312==
  136. ==2312== HEAP SUMMARY:
  137. ==2312==     in use at exit: 4,407 bytes in 6 blocks
  138. ==2312==   total heap usage: 2,207 allocs, 2,201 frees, 70,666,526 bytes allocated
  139. ==2312==
  140. ==2312== Searching for pointers to 6 not-freed blocks
  141. ==2312== Checked 125,920 bytes
  142. ==2312==
  143. ==2312== 4 bytes in 1 blocks are still reachable in loss record 1 of 6
  144. ==2312==    at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  145. ==2312==    by 0x435BE11: ??? (in /usr/lib/i386-linux-gnu/libgomp.so.1.0.0)
  146. ==2312==    by 0x4366C53: ??? (in /usr/lib/i386-linux-gnu/libgomp.so.1.0.0)
  147. ==2312==    by 0x435A129: ??? (in /usr/lib/i386-linux-gnu/libgomp.so.1.0.0)
  148. ==2312==    by 0x400ED26: call_init.part.0 (dl-init.c:78)
  149. ==2312==    by 0x400EE13: call_init (dl-init.c:36)
  150. ==2312==    by 0x400EE13: _dl_init (dl-init.c:126)
  151. ==2312==    by 0x400104E: ??? (in /lib/i386-linux-gnu/ld-2.19.so)
  152. ==2312==
  153. ==2312== 559 bytes in 1 blocks are still reachable in loss record 2 of 6
  154. ==2312==    at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  155. ==2312==    by 0x402C328: realloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  156. ==2312==    by 0x40592F6: lsx_realloc (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  157. ==2312==    by 0x40669F0: lsx_usage_lines (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  158. ==2312==    by 0x406EACE: lsx_gain_effect_fn (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  159. ==2312==    by 0x4066769: sox_find_effect (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  160. ==2312==    by 0x8051C4B: ??? (in /usr/bin/sox)
  161. ==2312==    by 0x8049E30: ??? (in /usr/bin/sox)
  162. ==2312==    by 0x414DA82: (below main) (libc-start.c:287)
  163. ==2312==
  164. ==2312== 684 bytes in 1 blocks are still reachable in loss record 3 of 6
  165. ==2312==    at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  166. ==2312==    by 0x402C328: realloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  167. ==2312==    by 0x40592F6: lsx_realloc (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  168. ==2312==    by 0x40669F0: lsx_usage_lines (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  169. ==2312==    by 0x408E47E: lsx_vad_effect_fn (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  170. ==2312==    by 0x4066769: sox_find_effect (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  171. ==2312==    by 0x8051C4B: ??? (in /usr/bin/sox)
  172. ==2312==    by 0x8049E30: ??? (in /usr/bin/sox)
  173. ==2312==    by 0x414DA82: (below main) (libc-start.c:287)
  174. ==2312==
  175. ==2312== 775 bytes in 1 blocks are still reachable in loss record 4 of 6
  176. ==2312==    at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  177. ==2312==    by 0x402C328: realloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  178. ==2312==    by 0x40592F6: lsx_realloc (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  179. ==2312==    by 0x40669F0: lsx_usage_lines (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  180. ==2312==    by 0x407EF3E: lsx_rate_effect_fn (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  181. ==2312==    by 0x4066769: sox_find_effect (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  182. ==2312==    by 0x8051C4B: ??? (in /usr/bin/sox)
  183. ==2312==    by 0x8049E30: ??? (in /usr/bin/sox)
  184. ==2312==    by 0x414DA82: (below main) (libc-start.c:287)
  185. ==2312==
  186. ==2312== 988 bytes in 1 blocks are still reachable in loss record 5 of 6
  187. ==2312==    at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  188. ==2312==    by 0x402C328: realloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  189. ==2312==    by 0x40592F6: lsx_realloc (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  190. ==2312==    by 0x40669F0: lsx_usage_lines (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  191. ==2312==    by 0x409213E: lsx_spectrogram_effect_fn (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  192. ==2312==    by 0x4066769: sox_find_effect (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  193. ==2312==    by 0x8051C4B: ??? (in /usr/bin/sox)
  194. ==2312==    by 0x8049E30: ??? (in /usr/bin/sox)
  195. ==2312==    by 0x414DA82: (below main) (libc-start.c:287)
  196. ==2312==
  197. ==2312== 1,397 bytes in 1 blocks are still reachable in loss record 6 of 6
  198. ==2312==    at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  199. ==2312==    by 0x402C328: realloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  200. ==2312==    by 0x40592F6: lsx_realloc (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  201. ==2312==    by 0x40669F0: lsx_usage_lines (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  202. ==2312==    by 0x406DBDE: lsx_flanger_effect_fn (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  203. ==2312==    by 0x4066769: sox_find_effect (in /usr/lib/i386-linux-gnu/libsox.so.2.0.1)
  204. ==2312==    by 0x8051C4B: ??? (in /usr/bin/sox)
  205. ==2312==    by 0x8049E30: ??? (in /usr/bin/sox)
  206. ==2312==    by 0x414DA82: (below main) (libc-start.c:287)
  207. ==2312==
  208. ==2312== LEAK SUMMARY:
  209. ==2312==    definitely lost: 0 bytes in 0 blocks
  210. ==2312==    indirectly lost: 0 bytes in 0 blocks
  211. ==2312==      possibly lost: 0 bytes in 0 blocks
  212. ==2312==    still reachable: 4,407 bytes in 6 blocks
  213. ==2312==         suppressed: 0 bytes in 0 blocks
  214. ==2312==
  215. ==2312== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
  216. ==2312== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement