Advertisement
Guest User

tvheadend valgrind output transcoding

a guest
Oct 20th, 2014
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.33 KB | None | 0 0
  1. ==20530==
  2. ==20530== HEAP SUMMARY:
  3. ==20530== in use at exit: 2,242,318 bytes in 1,259 blocks
  4. ==20530== total heap usage: 8,560,574 allocs, 8,559,315 frees, 11,021,522,945 bytes allocated
  5. ==20530==
  6. ==20530== Thread 1:
  7. ==20530== 40 bytes in 5 blocks are definitely lost in loss record 11 of 69
  8. ==20530== at 0x4C29D96: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  9. ==20530== by 0x4C29E87: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  10. ==20530== by 0x548AC1: av_mallocz (mem.c:95)
  11. ==20530== by 0x575B68: avformat_alloc_context (options.c:114)
  12. ==20530== by 0x4C7E06: lav_muxer_create (muxer_libav.c:549)
  13. ==20530== by 0x48F697: muxer_create (muxer.c:225)
  14. ==20530== by 0x46F4D0: profile_transcode_open (profile.c:931)
  15. ==20530== by 0x48B6F2: http_stream_channel (profile.h:101)
  16. ==20530== by 0x48BBBB: http_stream (webui.c:932)
  17. ==20530== by 0x43BDF4: http_exec (http.c:492)
  18. ==20530== by 0x43C22E: http_cmd_get (http.c:525)
  19. ==20530== by 0x43C3C1: process_request (http.c:603)
  20. ==20530==
  21. ==20530== 93 bytes in 3 blocks are definitely lost in loss record 25 of 69
  22. ==20530== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  23. ==20530== by 0x6DA8361: strdup (in /lib64/libc-2.17.so)
  24. ==20530== by 0x434D61: prop_write_values (prop.c:178)
  25. ==20530== by 0x42F771: idnode_class_write_values.isra.6 (idnode.c:1014)
  26. ==20530== by 0x4327D0: idnode_write0 (idnode.c:1036)
  27. ==20530== by 0x49B22D: mpegts_mux_create0 (mpegts_mux.c:970)
  28. ==20530== by 0x4C0CF2: iptv_mux_create0 (iptv_mux.c:189)
  29. ==20530== by 0x4C060D: iptv_network_create0 (iptv.c:534)
  30. ==20530== by 0x4C075A: iptv_init (iptv.c:570)
  31. ==20530== by 0x4960F0: mpegts_init (mpegts.c:52)
  32. ==20530== by 0x42CBCE: main (main.c:819)
  33. ==20530==
  34. ==20530== 347 (24 direct, 323 indirect) bytes in 3 blocks are definitely lost in loss record 35 of 69
  35. ==20530== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  36. ==20530== by 0x4C2C52F: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  37. ==20530== by 0x548D80: av_dynarray_add_nofree (mem.c:166)
  38. ==20530== by 0x57096B: mpegts_write_header (mpegtsenc.c:555)
  39. ==20530== by 0x57458C: avformat_write_header (mux.c:419)
  40. ==20530== by 0x4C7B27: lav_muxer_init (muxer_libav.c:285)
  41. ==20530== by 0x48982D: http_stream_run (muxer.h:116)
  42. ==20530== by 0x48B807: http_stream_channel (webui.c:861)
  43. ==20530== by 0x48BBBB: http_stream (webui.c:932)
  44. ==20530== by 0x43BDF4: http_exec (http.c:492)
  45. ==20530== by 0x43C22E: http_cmd_get (http.c:525)
  46. ==20530== by 0x43C3C1: process_request (http.c:603)
  47. ==20530==
  48. ==20530== 405 (64 direct, 341 indirect) bytes in 1 blocks are definitely lost in loss record 36 of 69
  49. ==20530== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  50. ==20530== by 0x4562B2: htsmsg_field_add (htsmsg.c:85)
  51. ==20530== by 0x45659F: htsmsg_add_str (htsmsg.c:239)
  52. ==20530== by 0x47A923: epggrab_module_ch_save (module.c:160)
  53. ==20530== by 0x47B8BE: epggrab_channel_link (channel.c:93)
  54. ==20530== by 0x47B40B: epggrab_module_channels_load (module.c:216)
  55. ==20530== by 0x446774: epggrab_init (epggrab.c:203)
  56. ==20530== by 0x42CC24: main (main.c:845)
  57. ==20530==
  58. ==20530== 420 (64 direct, 356 indirect) bytes in 1 blocks are definitely lost in loss record 37 of 69
  59. ==20530== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  60. ==20530== by 0x4562B2: htsmsg_field_add (htsmsg.c:85)
  61. ==20530== by 0x456719: htsmsg_add_msg (htsmsg.c:297)
  62. ==20530== by 0x47A968: epggrab_module_ch_save (module.c:165)
  63. ==20530== by 0x47B8BE: epggrab_channel_link (channel.c:93)
  64. ==20530== by 0x47B40B: epggrab_module_channels_load (module.c:216)
  65. ==20530== by 0x446774: epggrab_init (epggrab.c:203)
  66. ==20530== by 0x42CC24: main (main.c:845)
  67. ==20530==
  68. ==20530== 806 (64 direct, 742 indirect) bytes in 4 blocks are definitely lost in loss record 43 of 69
  69. ==20530== at 0x4C29D96: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  70. ==20530== by 0x4C29E87: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  71. ==20530== by 0x548AC1: av_mallocz (mem.c:95)
  72. ==20530== by 0x5428F9: av_dict_set (dict.c:76)
  73. ==20530== by 0x4C78D3: lav_muxer_init (muxer_libav.c:252)
  74. ==20530== by 0x48982D: http_stream_run (muxer.h:116)
  75. ==20530== by 0x48B807: http_stream_channel (webui.c:861)
  76. ==20530== by 0x48BBBB: http_stream (webui.c:932)
  77. ==20530== by 0x43BDF4: http_exec (http.c:492)
  78. ==20530== by 0x43C22E: http_cmd_get (http.c:525)
  79. ==20530== by 0x43C3C1: process_request (http.c:603)
  80. ==20530== by 0x43C7CC: http_serve (http.c:915)
  81. ==20530==
  82. ==20530== 918 bytes in 79 blocks are definitely lost in loss record 45 of 69
  83. ==20530== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  84. ==20530== by 0x6DA8361: strdup (in /lib64/libc-2.17.so)
  85. ==20530== by 0x47B383: epggrab_module_channels_load (module.c:207)
  86. ==20530== by 0x446774: epggrab_init (epggrab.c:203)
  87. ==20530== by 0x42CC24: main (main.c:845)
  88. ==20530==
  89. ==20530== 1,940 (320 direct, 1,620 indirect) bytes in 5 blocks are definitely lost in loss record 50 of 69
  90. ==20530== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  91. ==20530== by 0x4562B2: htsmsg_field_add (htsmsg.c:85)
  92. ==20530== by 0x45659F: htsmsg_add_str (htsmsg.c:239)
  93. ==20530== by 0x47A90C: epggrab_module_ch_save (module.c:158)
  94. ==20530== by 0x47B8BE: epggrab_channel_link (channel.c:93)
  95. ==20530== by 0x47B40B: epggrab_module_channels_load (module.c:216)
  96. ==20530== by 0x446774: epggrab_init (epggrab.c:203)
  97. ==20530== by 0x42CC24: main (main.c:845)
  98. ==20530==
  99. ==20530== 3,411 bytes in 54 blocks are definitely lost in loss record 54 of 69
  100. ==20530== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  101. ==20530== by 0x6DA8361: strdup (in /lib64/libc-2.17.so)
  102. ==20530== by 0x47B3A1: epggrab_module_channels_load (module.c:209)
  103. ==20530== by 0x446774: epggrab_init (epggrab.c:203)
  104. ==20530== by 0x42CC24: main (main.c:845)
  105. ==20530==
  106. ==20530== 3,448 (320 direct, 3,128 indirect) bytes in 10 blocks are definitely lost in loss record 55 of 69
  107. ==20530== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  108. ==20530== by 0x45640D: htsmsg_create_map (htsmsg.c:148)
  109. ==20530== by 0x47A8F2: epggrab_module_ch_save (module.c:153)
  110. ==20530== by 0x47B8BE: epggrab_channel_link (channel.c:93)
  111. ==20530== by 0x47B40B: epggrab_module_channels_load (module.c:216)
  112. ==20530== by 0x446774: epggrab_init (epggrab.c:203)
  113. ==20530== by 0x42CC24: main (main.c:845)
  114. ==20530==
  115. ==20530== 11,550 (4,440 direct, 7,110 indirect) bytes in 3 blocks are definitely lost in loss record 61 of 69
  116. ==20530== at 0x4C29D96: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  117. ==20530== by 0x4C29E87: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  118. ==20530== by 0x5487D9: av_malloc (mem.c:95)
  119. ==20530== by 0x575B0A: avformat_alloc_context (options.c:110)
  120. ==20530== by 0x570D88: mpegts_write_header (mpegtsenc.c:705)
  121. ==20530== by 0x57458C: avformat_write_header (mux.c:419)
  122. ==20530== by 0x4C7B27: lav_muxer_init (muxer_libav.c:285)
  123. ==20530== by 0x48982D: http_stream_run (muxer.h:116)
  124. ==20530== by 0x48B807: http_stream_channel (webui.c:861)
  125. ==20530== by 0x48BBBB: http_stream (webui.c:932)
  126. ==20530== by 0x43BDF4: http_exec (http.c:492)
  127. ==20530== by 0x43C22E: http_cmd_get (http.c:525)
  128. ==20530==
  129. ==20530== 13,974 (96 direct, 13,878 indirect) bytes in 4 blocks are definitely lost in loss record 62 of 69
  130. ==20530== at 0x4C29D96: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  131. ==20530== by 0x4C29E87: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  132. ==20530== by 0x548AC1: av_mallocz (mem.c:95)
  133. ==20530== by 0x558AED: av_buffer_ref (buffer.c:93)
  134. ==20530== by 0x54447C: av_frame_copy_props (frame.c:516)
  135. ==20530== by 0x750BCB: avcodec_decode_video2 (utils.c:2215)
  136. ==20530== by 0x4C9154: transcoder_stream_video (transcoding.c:978)
  137. ==20530== by 0x4C8FEB: transcoder_input (transcoding.c:1188)
  138. ==20530== by 0x47EF33: normalize_ts.isra.1 (tsfix.c:223)
  139. ==20530== by 0x47F348: tsfix_input (tsfix.c:283)
  140. ==20530== by 0x447A45: streaming_pad_deliver (streaming.c:338)
  141. ==20530== by 0x47681A: parser_deliver (parsers.c:1413)
  142. ==20530==
  143. ==20530== 15,604 (64 direct, 15,540 indirect) bytes in 4 blocks are definitely lost in loss record 63 of 69
  144. ==20530== at 0x4C2C48E: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  145. ==20530== by 0x5819E8: avformat_new_stream (utils.c:3586)
  146. ==20530== by 0x4C79B0: lav_muxer_init (muxer_libav.c:70)
  147. ==20530== by 0x48982D: http_stream_run (muxer.h:116)
  148. ==20530== by 0x48B807: http_stream_channel (webui.c:861)
  149. ==20530== by 0x48BBBB: http_stream (webui.c:932)
  150. ==20530== by 0x43BDF4: http_exec (http.c:492)
  151. ==20530== by 0x43C22E: http_cmd_get (http.c:525)
  152. ==20530== by 0x43C3C1: process_request (http.c:603)
  153. ==20530== by 0x43C7CC: http_serve (http.c:915)
  154. ==20530== by 0x438A7C: tcp_server_start (tcp.c:540)
  155. ==20530== by 0x435FE0: thread_wrapper (wrappers.c:125)
  156. ==20530==
  157. ==20530== 17,580 bytes in 6 blocks are definitely lost in loss record 64 of 69
  158. ==20530== at 0x4C29D96: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  159. ==20530== by 0x4C29E87: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  160. ==20530== by 0x548AC1: av_mallocz (mem.c:95)
  161. ==20530== by 0x570A4D: mpegts_write_header (mpegtsenc.c:661)
  162. ==20530== by 0x57458C: avformat_write_header (mux.c:419)
  163. ==20530== by 0x4C7B27: lav_muxer_init (muxer_libav.c:285)
  164. ==20530== by 0x48982D: http_stream_run (muxer.h:116)
  165. ==20530== by 0x48B807: http_stream_channel (webui.c:861)
  166. ==20530== by 0x48BBBB: http_stream (webui.c:932)
  167. ==20530== by 0x43BDF4: http_exec (http.c:492)
  168. ==20530== by 0x43C22E: http_cmd_get (http.c:525)
  169. ==20530== by 0x43C3C1: process_request (http.c:603)
  170. ==20530==
  171. ==20530== 20,480 bytes in 5 blocks are definitely lost in loss record 65 of 69
  172. ==20530== at 0x4C29D96: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  173. ==20530== by 0x4C29E87: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  174. ==20530== by 0x5487D9: av_malloc (mem.c:95)
  175. ==20530== by 0x4C77EC: lav_muxer_open_stream (muxer_libav.c:322)
  176. ==20530== by 0x48936A: http_stream_run (muxer.h:113)
  177. ==20530== by 0x48B807: http_stream_channel (webui.c:861)
  178. ==20530== by 0x48BBBB: http_stream (webui.c:932)
  179. ==20530== by 0x43BDF4: http_exec (http.c:492)
  180. ==20530== by 0x43C22E: http_cmd_get (http.c:525)
  181. ==20530== by 0x43C3C1: process_request (http.c:603)
  182. ==20530== by 0x43C7CC: http_serve (http.c:915)
  183. ==20530== by 0x438A7C: tcp_server_start (tcp.c:540)
  184. ==20530==
  185. ==20530== 27,844 bytes in 2 blocks are possibly lost in loss record 67 of 69
  186. ==20530== at 0x4C2C48E: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  187. ==20530== by 0x548A30: av_reallocp (mem.c:166)
  188. ==20530== by 0x5BB542: h264_mp4toannexb_filter (h264_mp4toannexb_bsf.c:44)
  189. ==20530== by 0x4C759C: lav_muxer_write_pkt (muxer_libav.c:391)
  190. ==20530== by 0x48981D: http_stream_run (muxer.h:134)
  191. ==20530== by 0x48B807: http_stream_channel (webui.c:861)
  192. ==20530== by 0x48BBBB: http_stream (webui.c:932)
  193. ==20530== by 0x43BDF4: http_exec (http.c:492)
  194. ==20530== by 0x43C22E: http_cmd_get (http.c:525)
  195. ==20530== by 0x43C3C1: process_request (http.c:603)
  196. ==20530== by 0x43C7CC: http_serve (http.c:915)
  197. ==20530== by 0x438A7C: tcp_server_start (tcp.c:540)
  198. ==20530==
  199. ==20530== 35,824 (312 direct, 35,512 indirect) bytes in 3 blocks are definitely lost in loss record 68 of 69
  200. ==20530== at 0x4C29D96: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  201. ==20530== by 0x4C29E87: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  202. ==20530== by 0x548AC1: av_mallocz (mem.c:95)
  203. ==20530== by 0x574BE1: ff_interleave_add_packet (mux.c:670)
  204. ==20530== by 0x575008: ff_interleave_packet_per_dts (mux.c:776)
  205. ==20530== by 0x57541C: av_interleaved_write_frame (mux.c:864)
  206. ==20530== by 0x4C752C: lav_muxer_write_pkt (muxer_libav.c:420)
  207. ==20530== by 0x48981D: http_stream_run (muxer.h:134)
  208. ==20530== by 0x48B807: http_stream_channel (webui.c:861)
  209. ==20530== by 0x48BBBB: http_stream (webui.c:932)
  210. ==20530== by 0x43BDF4: http_exec (http.c:492)
  211. ==20530== by 0x43C22E: http_cmd_get (http.c:525)
  212. ==20530==
  213. ==20530== 2,087,026 bytes in 526 blocks are definitely lost in loss record 69 of 69
  214. ==20530== at 0x4C2C48E: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  215. ==20530== by 0x548A30: av_reallocp (mem.c:166)
  216. ==20530== by 0x5BB542: h264_mp4toannexb_filter (h264_mp4toannexb_bsf.c:44)
  217. ==20530== by 0x4C759C: lav_muxer_write_pkt (muxer_libav.c:391)
  218. ==20530== by 0x48981D: http_stream_run (muxer.h:134)
  219. ==20530== by 0x48B807: http_stream_channel (webui.c:861)
  220. ==20530== by 0x48BBBB: http_stream (webui.c:932)
  221. ==20530== by 0x43BDF4: http_exec (http.c:492)
  222. ==20530== by 0x43C22E: http_cmd_get (http.c:525)
  223. ==20530== by 0x43C3C1: process_request (http.c:603)
  224. ==20530== by 0x43C7CC: http_serve (http.c:915)
  225. ==20530== by 0x438A7C: tcp_server_start (tcp.c:540)
  226. ==20530==
  227. ==20530== LEAK SUMMARY:
  228. ==20530== definitely lost: 2,135,316 bytes in 716 blocks
  229. ==20530== indirectly lost: 78,550 bytes in 539 blocks
  230. ==20530== possibly lost: 27,844 bytes in 2 blocks
  231. ==20530== still reachable: 608 bytes in 2 blocks
  232. ==20530== suppressed: 0 bytes in 0 blocks
  233. ==20530== Reachable blocks (those to which a pointer was found) are not shown.
  234. ==20530== To see them, rerun with: --leak-check=full --show-reachable=yes
  235. ==20530==
  236. ==20530== For counts of detected and suppressed errors, rerun with: -v
  237. ==20530== ERROR SUMMARY: 450 errors from 22 contexts (suppressed: 2 from 2)
  238. ==20530== could not unlink /tmp/vgdb-pipe-from-vgdb-to-20530-by-root-on-dmd-host-045
  239. ==20530== could not unlink /tmp/vgdb-pipe-to-vgdb-from-20530-by-root-on-dmd-host-045
  240. ==20530== could not unlink /tmp/vgdb-pipe-shared-mem-vgdb-20530-by-root-on-dmd-host-045
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement