Advertisement
Guest User

tvheadend valgrind output transcoding 2

a guest
Oct 21st, 2014
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.33 KB | None | 0 0
  1. ==17815== Thread 33:
  2. ==17815== Invalid read of size 4
  3. ==17815== at 0x6CCEF9: mpeg_decode_mb.isra.11 (mpeg12dec.c:583)
  4. ==17815== by 0x6CE29F: mpeg_decode_slice (mpeg12dec.c:1830)
  5. ==17815== by 0x6D2164: slice_decode_thread (mpeg12dec.c:2010)
  6. ==17815== by 0x7E0EA6: worker (pthread_slice.c:99)
  7. ==17815== by 0x6325E0E: start_thread (in /lib64/libpthread-2.17.so)
  8. ==17815== by 0x6E0D44C: clone (in /lib64/libc-2.17.so)
  9. ==17815== Address 0x1c173047 is 53,543 bytes inside a block of size 53,546 alloc'd
  10. ==17815== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  11. ==17815== by 0x4474D7: pktbuf_alloc (packet.c:192)
  12. ==17815== by 0x477D65: parse_mpeg2video (parsers.c:1111)
  13. ==17815== by 0x476495: parse_sc (parsers.c:335)
  14. ==17815== by 0x4A53B6: ts_recv_packet0 (tsdemux.c:105)
  15. ==17815== by 0x4A577D: ts_recv_packet1 (tsdemux.c:243)
  16. ==17815== by 0x49870A: mpegts_input_thread (mpegts_input.c:769)
  17. ==17815== by 0x436000: thread_wrapper (wrappers.c:125)
  18. ==17815== by 0x6325E0E: start_thread (in /lib64/libpthread-2.17.so)
  19. ==17815== by 0x6E0D44C: clone (in /lib64/libc-2.17.so)
  20. ==17815==
  21. ==17815== Invalid read of size 4
  22. ==17815== at 0x6CEA8B: mpeg_decode_slice (get_bits.h:292)
  23. ==17815== by 0x6D2164: slice_decode_thread (mpeg12dec.c:2010)
  24. ==17815== by 0x7E0EA6: worker (pthread_slice.c:99)
  25. ==17815== by 0x6325E0E: start_thread (in /lib64/libpthread-2.17.so)
  26. ==17815== by 0x6E0D44C: clone (in /lib64/libc-2.17.so)
  27. ==17815== Address 0x1c173047 is 53,543 bytes inside a block of size 53,546 alloc'd
  28. ==17815== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  29. ==17815== by 0x4474D7: pktbuf_alloc (packet.c:192)
  30. ==17815== by 0x477D65: parse_mpeg2video (parsers.c:1111)
  31. ==17815== by 0x476495: parse_sc (parsers.c:335)
  32. ==17815== by 0x4A53B6: ts_recv_packet0 (tsdemux.c:105)
  33. ==17815== by 0x4A577D: ts_recv_packet1 (tsdemux.c:243)
  34. ==17815== by 0x49870A: mpegts_input_thread (mpegts_input.c:769)
  35. ==17815== by 0x436000: thread_wrapper (wrappers.c:125)
  36. ==17815== by 0x6325E0E: start_thread (in /lib64/libpthread-2.17.so)
  37. ==17815== by 0x6E0D44C: clone (in /lib64/libc-2.17.so)
  38. ==17815==
  39.  
  40. ==17815==
  41. ==17815== HEAP SUMMARY:
  42. ==17815== in use at exit: 718,393 bytes in 529 blocks
  43. ==17815== total heap usage: 6,299,271 allocs, 6,298,742 frees, 1,196,443,932 bytes allocated
  44. ==17815==
  45. ==17815== Thread 1:
  46. ==17815== 93 bytes in 3 blocks are definitely lost in loss record 13 of 42
  47. ==17815== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  48. ==17815== by 0x6DA8361: strdup (in /lib64/libc-2.17.so)
  49. ==17815== by 0x434D81: prop_write_values (prop.c:178)
  50. ==17815== by 0x42F791: idnode_class_write_values.isra.6 (idnode.c:1014)
  51. ==17815== by 0x4327F0: idnode_write0 (idnode.c:1036)
  52. ==17815== by 0x49B22D: mpegts_mux_create0 (mpegts_mux.c:973)
  53. ==17815== by 0x4C0E72: iptv_mux_create0 (iptv_mux.c:189)
  54. ==17815== by 0x4C078D: iptv_network_create0 (iptv.c:534)
  55. ==17815== by 0x4C08DA: iptv_init (iptv.c:570)
  56. ==17815== by 0x496110: mpegts_init (mpegts.c:52)
  57. ==17815== by 0x42CBEE: main (main.c:819)
  58. ==17815==
  59. ==17815== 226 (16 direct, 210 indirect) bytes in 2 blocks are definitely lost in loss record 19 of 42
  60. ==17815== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  61. ==17815== by 0x4C2C52F: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  62. ==17815== by 0x548F60: av_dynarray_add_nofree (mem.c:166)
  63. ==17815== by 0x570B4B: mpegts_write_header (mpegtsenc.c:555)
  64. ==17815== by 0x57476C: avformat_write_header (mux.c:419)
  65. ==17815== by 0x4C7CB7: lav_muxer_init (muxer_libav.c:285)
  66. ==17815== by 0x48984D: http_stream_run (muxer.h:116)
  67. ==17815== by 0x48B827: http_stream_channel (webui.c:861)
  68. ==17815== by 0x48BBDB: http_stream (webui.c:932)
  69. ==17815== by 0x43BE14: http_exec (http.c:492)
  70. ==17815== by 0x43C24E: http_cmd_get (http.c:525)
  71. ==17815== by 0x43C3E1: process_request (http.c:603)
  72. ==17815==
  73. ==17815== 275 (64 direct, 211 indirect) bytes in 1 blocks are definitely lost in loss record 20 of 42
  74. ==17815== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  75. ==17815== by 0x4562D2: htsmsg_field_add (htsmsg.c:85)
  76. ==17815== by 0x456739: htsmsg_add_msg (htsmsg.c:297)
  77. ==17815== by 0x47A988: epggrab_module_ch_save (module.c:165)
  78. ==17815== by 0x47B8DE: epggrab_channel_link (channel.c:93)
  79. ==17815== by 0x47B42B: epggrab_module_channels_load (module.c:216)
  80. ==17815== by 0x446794: epggrab_init (epggrab.c:203)
  81. ==17815== by 0x42CC44: main (main.c:845)
  82. ==17815==
  83. ==17815== 408 (64 direct, 344 indirect) bytes in 1 blocks are definitely lost in loss record 22 of 42
  84. ==17815== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  85. ==17815== by 0x4562D2: htsmsg_field_add (htsmsg.c:85)
  86. ==17815== by 0x4565BF: htsmsg_add_str (htsmsg.c:239)
  87. ==17815== by 0x47A96A: epggrab_module_ch_save (module.c:163)
  88. ==17815== by 0x47B8DE: epggrab_channel_link (channel.c:93)
  89. ==17815== by 0x47B42B: epggrab_module_channels_load (module.c:216)
  90. ==17815== by 0x446794: epggrab_init (epggrab.c:203)
  91. ==17815== by 0x42CC44: main (main.c:845)
  92. ==17815==
  93. ==17815== 918 bytes in 79 blocks are definitely lost in loss record 29 of 42
  94. ==17815== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  95. ==17815== by 0x6DA8361: strdup (in /lib64/libc-2.17.so)
  96. ==17815== by 0x47B3A3: epggrab_module_channels_load (module.c:207)
  97. ==17815== by 0x446794: epggrab_init (epggrab.c:203)
  98. ==17815== by 0x42CC44: main (main.c:845)
  99. ==17815==
  100. ==17815== 2,610 (224 direct, 2,386 indirect) bytes in 7 blocks are definitely lost in loss record 34 of 42
  101. ==17815== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  102. ==17815== by 0x45642D: htsmsg_create_map (htsmsg.c:148)
  103. ==17815== by 0x47A912: epggrab_module_ch_save (module.c:153)
  104. ==17815== by 0x47B8DE: epggrab_channel_link (channel.c:93)
  105. ==17815== by 0x47B42B: epggrab_module_channels_load (module.c:216)
  106. ==17815== by 0x446794: epggrab_init (epggrab.c:203)
  107. ==17815== by 0x42CC44: main (main.c:845)
  108. ==17815==
  109. ==17815== 2,920 (512 direct, 2,408 indirect) bytes in 8 blocks are definitely lost in loss record 35 of 42
  110. ==17815== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  111. ==17815== by 0x4562D2: htsmsg_field_add (htsmsg.c:85)
  112. ==17815== by 0x4565BF: htsmsg_add_str (htsmsg.c:239)
  113. ==17815== by 0x47A92C: epggrab_module_ch_save (module.c:158)
  114. ==17815== by 0x47B8DE: epggrab_channel_link (channel.c:93)
  115. ==17815== by 0x47B42B: epggrab_module_channels_load (module.c:216)
  116. ==17815== by 0x446794: epggrab_init (epggrab.c:203)
  117. ==17815== by 0x42CC44: main (main.c:845)
  118. ==17815==
  119. ==17815== 3,411 bytes in 54 blocks are definitely lost in loss record 36 of 42
  120. ==17815== at 0x4C2C27B: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  121. ==17815== by 0x6DA8361: strdup (in /lib64/libc-2.17.so)
  122. ==17815== by 0x47B3C1: epggrab_module_channels_load (module.c:209)
  123. ==17815== by 0x446794: epggrab_init (epggrab.c:203)
  124. ==17815== by 0x42CC44: main (main.c:845)
  125. ==17815==
  126. ==17815== 4,887 (72 direct, 4,815 indirect) bytes in 3 blocks are definitely lost in loss record 38 of 42
  127. ==17815== at 0x4C29D96: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  128. ==17815== by 0x4C29E87: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  129. ==17815== by 0x548CA1: av_mallocz (mem.c:95)
  130. ==17815== by 0x558CCD: av_buffer_ref (buffer.c:93)
  131. ==17815== by 0x54465C: av_frame_copy_props (frame.c:516)
  132. ==17815== by 0x750DAB: avcodec_decode_video2 (utils.c:2215)
  133. ==17815== by 0x4C9324: transcoder_stream_video (transcoding.c:978)
  134. ==17815== by 0x4C91BB: transcoder_input (transcoding.c:1189)
  135. ==17815== by 0x47EF53: normalize_ts.isra.1 (tsfix.c:223)
  136. ==17815== by 0x47F368: tsfix_input (tsfix.c:283)
  137. ==17815== by 0x447A65: streaming_pad_deliver (streaming.c:338)
  138. ==17815== by 0x47683A: parser_deliver (parsers.c:1413)
  139. ==17815==
  140. ==17815== 5,018 bytes in 2 blocks are possibly lost in loss record 39 of 42
  141. ==17815== at 0x4C2C48E: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  142. ==17815== by 0x548C10: av_reallocp (mem.c:166)
  143. ==17815== by 0x5BB722: h264_mp4toannexb_filter (h264_mp4toannexb_bsf.c:44)
  144. ==17815== by 0x4C76A2: lav_muxer_write_pkt (muxer_libav.c:391)
  145. ==17815== by 0x48983D: http_stream_run (muxer.h:134)
  146. ==17815== by 0x48B827: http_stream_channel (webui.c:861)
  147. ==17815== by 0x48BBDB: http_stream (webui.c:932)
  148. ==17815== by 0x43BE14: http_exec (http.c:492)
  149. ==17815== by 0x43C24E: http_cmd_get (http.c:525)
  150. ==17815== by 0x43C3E1: process_request (http.c:603)
  151. ==17815== by 0x43C7EC: http_serve (http.c:915)
  152. ==17815== by 0x438A9C: tcp_server_start (tcp.c:540)
  153. ==17815==
  154. ==17815== 7,700 (2,960 direct, 4,740 indirect) bytes in 2 blocks are definitely lost in loss record 40 of 42
  155. ==17815== at 0x4C29D96: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  156. ==17815== by 0x4C29E87: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  157. ==17815== by 0x5489B9: av_malloc (mem.c:95)
  158. ==17815== by 0x575CEA: avformat_alloc_context (options.c:110)
  159. ==17815== by 0x570F68: mpegts_write_header (mpegtsenc.c:705)
  160. ==17815== by 0x57476C: avformat_write_header (mux.c:419)
  161. ==17815== by 0x4C7CB7: lav_muxer_init (muxer_libav.c:285)
  162. ==17815== by 0x48984D: http_stream_run (muxer.h:116)
  163. ==17815== by 0x48B827: http_stream_channel (webui.c:861)
  164. ==17815== by 0x48BBDB: http_stream (webui.c:932)
  165. ==17815== by 0x43BE14: http_exec (http.c:492)
  166. ==17815== by 0x43C24E: http_cmd_get (http.c:525)
  167. ==17815==
  168. ==17815== 11,720 bytes in 4 blocks are definitely lost in loss record 41 of 42
  169. ==17815== at 0x4C29D96: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  170. ==17815== by 0x4C29E87: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  171. ==17815== by 0x548CA1: av_mallocz (mem.c:95)
  172. ==17815== by 0x570C2D: mpegts_write_header (mpegtsenc.c:661)
  173. ==17815== by 0x57476C: avformat_write_header (mux.c:419)
  174. ==17815== by 0x4C7CB7: lav_muxer_init (muxer_libav.c:285)
  175. ==17815== by 0x48984D: http_stream_run (muxer.h:116)
  176. ==17815== by 0x48B827: http_stream_channel (webui.c:861)
  177. ==17815== by 0x48BBDB: http_stream (webui.c:932)
  178. ==17815== by 0x43BE14: http_exec (http.c:492)
  179. ==17815== by 0x43C24E: http_cmd_get (http.c:525)
  180. ==17815== by 0x43C3E1: process_request (http.c:603)
  181. ==17815==
  182. ==17815== 677,599 bytes in 175 blocks are definitely lost in loss record 42 of 42
  183. ==17815== at 0x4C2C48E: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  184. ==17815== by 0x548C10: av_reallocp (mem.c:166)
  185. ==17815== by 0x5BB722: h264_mp4toannexb_filter (h264_mp4toannexb_bsf.c:44)
  186. ==17815== by 0x4C76A2: lav_muxer_write_pkt (muxer_libav.c:391)
  187. ==17815== by 0x48983D: http_stream_run (muxer.h:134)
  188. ==17815== by 0x48B827: http_stream_channel (webui.c:861)
  189. ==17815== by 0x48BBDB: http_stream (webui.c:932)
  190. ==17815== by 0x43BE14: http_exec (http.c:492)
  191. ==17815== by 0x43C24E: http_cmd_get (http.c:525)
  192. ==17815== by 0x43C3E1: process_request (http.c:603)
  193. ==17815== by 0x43C7EC: http_serve (http.c:915)
  194. ==17815== by 0x438A9C: tcp_server_start (tcp.c:540)
  195. ==17815==
  196. ==17815== LEAK SUMMARY:
  197. ==17815== definitely lost: 697,653 bytes in 339 blocks
  198. ==17815== indirectly lost: 15,114 bytes in 186 blocks
  199. ==17815== possibly lost: 5,018 bytes in 2 blocks
  200. ==17815== still reachable: 608 bytes in 2 blocks
  201. ==17815== suppressed: 0 bytes in 0 blocks
  202. ==17815== Reachable blocks (those to which a pointer was found) are not shown.
  203. ==17815== To see them, rerun with: --leak-check=full --show-reachable=yes
  204. ==17815==
  205. ==17815== For counts of detected and suppressed errors, rerun with: -v
  206. ==17815== ERROR SUMMARY: 40 errors from 17 contexts (suppressed: 2 from 2)
  207. ==17815== could not unlink /tmp/vgdb-pipe-from-vgdb-to-17815-by-root-on-dmd-host-045
  208. ==17815== could not unlink /tmp/vgdb-pipe-to-vgdb-from-17815-by-root-on-dmd-host-045
  209. ==17815== could not unlink /tmp/vgdb-pipe-shared-mem-vgdb-17815-by-root-on-dmd-host-045
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement