Advertisement
case86

libopenshot_valgrind_errors

Mar 28th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.16 KB | None | 0 0
  1. ==16296== Memcheck, a memory error detector
  2. ==16296== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
  3. ==16296== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
  4. ==16296== Command: ./openshot-test
  5. ==16296==
  6. ----------------------------
  7. RUNNING ALL TESTS
  8. ----------------------------
  9. ==16296== Thread 10:
  10. ==16296== Invalid read of size 4
  11. ==16296== at 0x68C8B9F: ??? (in /usr/lib/x86_64-linux-gnu/libswscale.so.3.0.0)
  12. ==16296== by 0x68B33D7: sws_scale (in /usr/lib/x86_64-linux-gnu/libswscale.so.3.0.0)
  13. ==16296== by 0x4F0CE80: openshot::FFmpegReader::ProcessVideoPacket(long) [clone ._omp_fn.1] (FFmpegReader.cpp:855)
  14. ==16296== by 0xA66A97E: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  15. ==16296== by 0xA66EEC7: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  16. ==16296== by 0x4F0C654: openshot::FFmpegReader::ReadStream(long) [clone ._omp_fn.0] (FFmpegReader.cpp:517)
  17. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  18. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  19. ==16296== by 0xAD9087C: clone (clone.S:111)
  20. ==16296== Address 0x25258480 is 1,382,400 bytes inside a block of size 1,382,401 alloc'd
  21. ==16296== at 0x4C2B1B6: memalign (vg_replace_malloc.c:760)
  22. ==16296== by 0x4C2B2D1: posix_memalign (vg_replace_malloc.c:913)
  23. ==16296== by 0x64656CA: av_malloc (in /usr/lib/x86_64-linux-gnu/libavutil.so.54.3.0)
  24. ==16296== by 0x6463520: av_image_alloc (in /usr/lib/x86_64-linux-gnu/libavutil.so.54.3.0)
  25. ==16296== by 0x55D5955: avpicture_alloc (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
  26. ==16296== by 0x4F05C4E: openshot::FFmpegReader::GetAVFrame() (FFmpegReader.cpp:710)
  27. ==16296== by 0x4F0CC4A: openshot::FFmpegReader::ReadStream(long) [clone ._omp_fn.0] (FFmpegReader.cpp:564)
  28. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  29. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  30. ==16296== by 0xAD9087C: clone (clone.S:111)
  31. ==16296==
  32. ==16296== Thread 1:
  33. ==16296== Mismatched free() / delete / delete []
  34. ==16296== at 0x4C2A360: operator delete(void*) (vg_replace_malloc.c:507)
  35. ==16296== by 0x4F2C900: openshot::Frame::cleanUpBuffer(void*) (Frame.cpp:938)
  36. ==16296== by 0x8544ED7: QImageData::~QImageData() (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.3.2)
  37. ==16296== by 0x854557B: QImage::~QImage() (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.3.2)
  38. ==16296== by 0x8546E45: QImage::detach() (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.3.2)
  39. ==16296== by 0x854735F: QImage::bits() (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.3.2)
  40. ==16296== by 0x4F2BF0E: openshot::Frame::GetMagickImage() (Frame.cpp:815)
  41. ==16296== by 0x4F6E666: openshot::ImageWriter::WriteFrame(std::tr1::shared_ptr<openshot::Frame>) (ImageWriter.cpp:97)
  42. ==16296== by 0x4F6EC89: openshot::ImageWriter::WriteFrame(openshot::ReaderBase*, long, long) (ImageWriter.cpp:134)
  43. ==16296== by 0x4382EA: TestImageWriter_Test_Gif::RunImpl() const (ImageWriter_Tests.cpp:54)
  44. ==16296== by 0x456F97: void UnitTest::ExecuteTest<UnitTest::Test>(UnitTest::Test&, UnitTest::TestDetails const&) (in /home/komacka86/dev/git/openshot/libopenshot/build/tests/openshot-test)
  45. ==16296== by 0x457444: UnitTest::TestRunner::RunTest(UnitTest::TestResults*, UnitTest::Test*, int) const (in /home/komacka86/dev/git/openshot/libopenshot/build/tests/openshot-test)
  46. ==16296== Address 0x3a44c040 is 0 bytes inside a block of size 3,686,400 alloc'd
  47. ==16296== at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
  48. ==16296== by 0x4F2B65C: openshot::Frame::AddImage(int, int, int, QImage::Format, unsigned char const*) (Frame.cpp:681)
  49. ==16296== by 0x4F0CECF: openshot::FFmpegReader::ProcessVideoPacket(long) [clone ._omp_fn.1] (FFmpegReader.cpp:861)
  50. ==16296== by 0xA66A97E: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  51. ==16296== by 0xA66EEC7: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  52. ==16296== by 0x4F0C654: openshot::FFmpegReader::ReadStream(long) [clone ._omp_fn.0] (FFmpegReader.cpp:517)
  53. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  54. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  55. ==16296== by 0xAD9087C: clone (clone.S:111)
  56. ==16296==
  57. ==16296== Thread 14:
  58. ==16296== Invalid read of size 4
  59. ==16296== at 0x68C8B9F: ??? (in /usr/lib/x86_64-linux-gnu/libswscale.so.3.0.0)
  60. ==16296== by 0x68B33D7: sws_scale (in /usr/lib/x86_64-linux-gnu/libswscale.so.3.0.0)
  61. ==16296== by 0x4F0CE80: openshot::FFmpegReader::ProcessVideoPacket(long) [clone ._omp_fn.1] (FFmpegReader.cpp:855)
  62. ==16296== by 0xA66B274: GOMP_taskwait (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  63. ==16296== by 0x4F082F1: openshot::FFmpegReader::ProcessAudioPacket(long, long, int) (FFmpegReader.cpp:1181)
  64. ==16296== by 0x4F0CB94: openshot::FFmpegReader::ReadStream(long) [clone ._omp_fn.0] (FFmpegReader.cpp:605)
  65. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  66. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  67. ==16296== by 0xAD9087C: clone (clone.S:111)
  68. ==16296== Address 0x3132f880 is 1,382,400 bytes inside a block of size 1,382,401 alloc'd
  69. ==16296== at 0x4C2B1B6: memalign (vg_replace_malloc.c:760)
  70. ==16296== by 0x4C2B2D1: posix_memalign (vg_replace_malloc.c:913)
  71. ==16296== by 0x64656CA: av_malloc (in /usr/lib/x86_64-linux-gnu/libavutil.so.54.3.0)
  72. ==16296== by 0x6463520: av_image_alloc (in /usr/lib/x86_64-linux-gnu/libavutil.so.54.3.0)
  73. ==16296== by 0x55D5955: avpicture_alloc (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
  74. ==16296== by 0x4F05C4E: openshot::FFmpegReader::GetAVFrame() (FFmpegReader.cpp:710)
  75. ==16296== by 0x4F0CC4A: openshot::FFmpegReader::ReadStream(long) [clone ._omp_fn.0] (FFmpegReader.cpp:564)
  76. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  77. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  78. ==16296== by 0xAD9087C: clone (clone.S:111)
  79. ==16296==
  80. [libvpx @ 0x1c682ac0] v1.3.0
  81. [webm @ 0x25257260] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
  82. [webm @ 0x25257260] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
  83. ==16296== Thread 16:
  84. ==16296== Mismatched free() / delete / delete []
  85. ==16296== at 0x4C29E90: free (vg_replace_malloc.c:473)
  86. ==16296== by 0x4F20E6E: openshot::FFmpegWriter::write_audio_packets(bool) [clone ._omp_fn.1] (FFmpegWriter.cpp:1186)
  87. ==16296== by 0xA66A97E: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  88. ==16296== by 0xA66EEC7: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  89. ==16296== by 0x4F1EB82: openshot::FFmpegWriter::write_queued_frames() [clone ._omp_fn.0] (FFmpegWriter.cpp:409)
  90. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  91. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  92. ==16296== by 0xAD9087C: clone (clone.S:111)
  93. ==16296== Address 0x43c74040 is 0 bytes inside a block of size 3,072,000 alloc'd
  94. ==16296== at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
  95. ==16296== by 0x4F1EF92: openshot::FFmpegWriter::write_audio_packets(bool) [clone ._omp_fn.1] (FFmpegWriter.cpp:1051)
  96. ==16296== by 0xA66A97E: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  97. ==16296== by 0xA66EEC7: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  98. ==16296== by 0x4F1EB82: openshot::FFmpegWriter::write_queued_frames() [clone ._omp_fn.0] (FFmpegWriter.cpp:409)
  99. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  100. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  101. ==16296== by 0xAD9087C: clone (clone.S:111)
  102. ==16296==
  103. ==16296== Mismatched free() / delete / delete []
  104. ==16296== at 0x4C29E90: free (vg_replace_malloc.c:473)
  105. ==16296== by 0x4F203AE: openshot::FFmpegWriter::write_audio_packets(bool) [clone ._omp_fn.1] (FFmpegWriter.cpp:1277)
  106. ==16296== by 0xA66A97E: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  107. ==16296== by 0xA66EEC7: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  108. ==16296== by 0x4F1EB82: openshot::FFmpegWriter::write_queued_frames() [clone ._omp_fn.0] (FFmpegWriter.cpp:409)
  109. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  110. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  111. ==16296== by 0xAD9087C: clone (clone.S:111)
  112. ==16296== Address 0x40a61a10 is 0 bytes inside a block of size 512 alloc'd
  113. ==16296== at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
  114. ==16296== by 0x4F2024B: openshot::FFmpegWriter::write_audio_packets(bool) [clone ._omp_fn.1] (FFmpegWriter.cpp:1250)
  115. ==16296== by 0xA66A97E: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  116. ==16296== by 0xA66EEC7: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  117. ==16296== by 0x4F1EB82: openshot::FFmpegWriter::write_queued_frames() [clone ._omp_fn.0] (FFmpegWriter.cpp:409)
  118. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  119. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  120. ==16296== by 0xAD9087C: clone (clone.S:111)
  121. ==16296==
  122. ==16296== Invalid read of size 8
  123. ==16296== at 0x4C2D94E: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:915)
  124. ==16296== by 0x4F208C7: openshot::FFmpegWriter::write_audio_packets(bool) [clone ._omp_fn.1] (FFmpegWriter.cpp:1210)
  125. ==16296== by 0xA66A97E: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  126. ==16296== by 0xA66EEC7: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  127. ==16296== by 0x4F1EB82: openshot::FFmpegWriter::write_queued_frames() [clone ._omp_fn.0] (FFmpegWriter.cpp:409)
  128. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  129. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  130. ==16296== by 0xAD9087C: clone (clone.S:111)
  131. ==16296== Address 0x3ea607e0 is 0 bytes after a block of size 117,520 alloc'd
  132. ==16296== at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
  133. ==16296== by 0x4F20E1C: openshot::FFmpegWriter::write_audio_packets(bool) [clone ._omp_fn.1] (FFmpegWriter.cpp:1180)
  134. ==16296== by 0xA66A97E: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  135. ==16296== by 0xA66EEC7: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  136. ==16296== by 0x4F1EB82: openshot::FFmpegWriter::write_queued_frames() [clone ._omp_fn.0] (FFmpegWriter.cpp:409)
  137. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  138. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  139. ==16296== by 0xAD9087C: clone (clone.S:111)
  140. ==16296==
  141. ==16296== Invalid read of size 8
  142. ==16296== at 0x4C2D940: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:915)
  143. ==16296== by 0x4F208C7: openshot::FFmpegWriter::write_audio_packets(bool) [clone ._omp_fn.1] (FFmpegWriter.cpp:1210)
  144. ==16296== by 0xA66A97E: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  145. ==16296== by 0xA66EEC7: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  146. ==16296== by 0x4F1EB82: openshot::FFmpegWriter::write_queued_frames() [clone ._omp_fn.0] (FFmpegWriter.cpp:409)
  147. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  148. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  149. ==16296== by 0xAD9087C: clone (clone.S:111)
  150. ==16296== Address 0x3ea607f8 is 24 bytes after a block of size 117,520 in arena "client"
  151. ==16296==
  152. ==16296== Thread 15:
  153. ==16296== Mismatched free() / delete / delete []
  154. ==16296== at 0x4C29E90: free (vg_replace_malloc.c:473)
  155. ==16296== by 0x4F1EC75: openshot::FFmpegWriter::write_queued_frames() [clone ._omp_fn.0] (FFmpegWriter.cpp:479)
  156. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  157. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  158. ==16296== by 0xAD9087C: clone (clone.S:111)
  159. ==16296== Address 0x40e62040 is 0 bytes inside a block of size 1,382,400 alloc'd
  160. ==16296== at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
  161. ==16296== by 0x4F1D765: openshot::FFmpegWriter::allocate_avframe(AVPixelFormat, int, int, int*, unsigned char*) (FFmpegWriter.cpp:1389)
  162. ==16296== by 0x4F215F3: openshot::FFmpegWriter::process_video_packet(std::tr1::shared_ptr<openshot::Frame>) [clone ._omp_fn.2] (FFmpegWriter.cpp:1435)
  163. ==16296== by 0xA66A97E: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  164. ==16296== by 0xA66EEC7: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  165. ==16296== by 0x4F1EB82: openshot::FFmpegWriter::write_queued_frames() [clone ._omp_fn.0] (FFmpegWriter.cpp:409)
  166. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  167. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  168. ==16296== by 0xAD9087C: clone (clone.S:111)
  169. ==16296==
  170. ==16296== Thread 14:
  171. ==16296== Invalid read of size 2
  172. ==16296== at 0x4C2D988: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:915)
  173. ==16296== by 0x4F208C7: openshot::FFmpegWriter::write_audio_packets(bool) [clone ._omp_fn.1] (FFmpegWriter.cpp:1210)
  174. ==16296== by 0xA66A97E: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  175. ==16296== by 0xA66EEC7: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  176. ==16296== by 0x4F1EB82: openshot::FFmpegWriter::write_queued_frames() [clone ._omp_fn.0] (FFmpegWriter.cpp:409)
  177. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  178. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  179. ==16296== by 0xAD9087C: clone (clone.S:111)
  180. ==16296== Address 0x40242710 is 0 bytes after a block of size 44,096 alloc'd
  181. ==16296== at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
  182. ==16296== by 0x4F20E1C: openshot::FFmpegWriter::write_audio_packets(bool) [clone ._omp_fn.1] (FFmpegWriter.cpp:1180)
  183. ==16296== by 0xA66A97E: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  184. ==16296== by 0xA66EEC7: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  185. ==16296== by 0x4F1EB82: openshot::FFmpegWriter::write_queued_frames() [clone ._omp_fn.0] (FFmpegWriter.cpp:409)
  186. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  187. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  188. ==16296== by 0xAD9087C: clone (clone.S:111)
  189. ==16296==
  190. ==16296== Thread 1:
  191. ==16296== Mismatched free() / delete / delete []
  192. ==16296== at 0x4C29E90: free (vg_replace_malloc.c:473)
  193. ==16296== by 0x4F203AE: openshot::FFmpegWriter::write_audio_packets(bool) [clone ._omp_fn.1] (FFmpegWriter.cpp:1277)
  194. ==16296== by 0xA669D3A: GOMP_task (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  195. ==16296== by 0x4F1D654: openshot::FFmpegWriter::write_audio_packets(bool) (FFmpegWriter.cpp:1040)
  196. ==16296== by 0x4F191D5: openshot::FFmpegWriter::WriteTrailer() (FFmpegWriter.cpp:523)
  197. ==16296== by 0x4F1AE00: openshot::FFmpegWriter::Close() (FFmpegWriter.cpp:725)
  198. ==16296== by 0x43C4DA: TestFFmpegWriter_Test_Webm::RunImpl() const (FFmpegWriter_Tests.cpp:57)
  199. ==16296== by 0x456F97: void UnitTest::ExecuteTest<UnitTest::Test>(UnitTest::Test&, UnitTest::TestDetails const&) (in /home/komacka86/dev/git/openshot/libopenshot/build/tests/openshot-test)
  200. ==16296== by 0x457444: UnitTest::TestRunner::RunTest(UnitTest::TestResults*, UnitTest::Test*, int) const (in /home/komacka86/dev/git/openshot/libopenshot/build/tests/openshot-test)
  201. ==16296== by 0x457832: UnitTest::RunAllTests() (in /home/komacka86/dev/git/openshot/libopenshot/build/tests/openshot-test)
  202. ==16296== by 0x427D6F: main (tests.cpp:41)
  203. ==16296== Address 0x2597e8a0 is 0 bytes inside a block of size 96 alloc'd
  204. ==16296== at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
  205. ==16296== by 0x4F2024B: openshot::FFmpegWriter::write_audio_packets(bool) [clone ._omp_fn.1] (FFmpegWriter.cpp:1250)
  206. ==16296== by 0xA669D3A: GOMP_task (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  207. ==16296== by 0x4F1D654: openshot::FFmpegWriter::write_audio_packets(bool) (FFmpegWriter.cpp:1040)
  208. ==16296== by 0x4F191D5: openshot::FFmpegWriter::WriteTrailer() (FFmpegWriter.cpp:523)
  209. ==16296== by 0x4F1AE00: openshot::FFmpegWriter::Close() (FFmpegWriter.cpp:725)
  210. ==16296== by 0x43C4DA: TestFFmpegWriter_Test_Webm::RunImpl() const (FFmpegWriter_Tests.cpp:57)
  211. ==16296== by 0x456F97: void UnitTest::ExecuteTest<UnitTest::Test>(UnitTest::Test&, UnitTest::TestDetails const&) (in /home/komacka86/dev/git/openshot/libopenshot/build/tests/openshot-test)
  212. ==16296== by 0x457444: UnitTest::TestRunner::RunTest(UnitTest::TestResults*, UnitTest::Test*, int) const (in /home/komacka86/dev/git/openshot/libopenshot/build/tests/openshot-test)
  213. ==16296== by 0x457832: UnitTest::RunAllTests() (in /home/komacka86/dev/git/openshot/libopenshot/build/tests/openshot-test)
  214. ==16296== by 0x427D6F: main (tests.cpp:41)
  215. ==16296==
  216. [matroska,webm @ 0x27037c40] Non-increasing DTS in stream 1: packet 47 with DTS 1125, packet 48 with DTS 1125
  217. [matroska,webm @ 0x27037c40] Non-increasing DTS in stream 1: packet 48 with DTS 1125, packet 49 with DTS 1125
  218. [matroska,webm @ 0x27037c40] Non-increasing DTS in stream 1: packet 49 with DTS 1125, packet 50 with DTS 1125
  219. [matroska,webm @ 0x27037c40] Non-increasing DTS in stream 1: packet 50 with DTS 1125, packet 51 with DTS 1125
  220. [matroska,webm @ 0x27037c40] Non-increasing DTS in stream 1: packet 51 with DTS 1125, packet 52 with DTS 1125
  221. [matroska,webm @ 0x2523f860] Non-increasing DTS in stream 1: packet 47 with DTS 1125, packet 48 with DTS 1125
  222. [matroska,webm @ 0x2523f860] Non-increasing DTS in stream 1: packet 48 with DTS 1125, packet 49 with DTS 1125
  223. [matroska,webm @ 0x2523f860] Non-increasing DTS in stream 1: packet 49 with DTS 1125, packet 50 with DTS 1125
  224. [matroska,webm @ 0x2523f860] Non-increasing DTS in stream 1: packet 50 with DTS 1125, packet 51 with DTS 1125
  225. [matroska,webm @ 0x2523f860] Non-increasing DTS in stream 1: packet 51 with DTS 1125, packet 52 with DTS 1125
  226. [AudioData @ 0x22aa37b0] invalid NULL pointer for src[0]
  227. ==16296== Mismatched free() / delete / delete []
  228. ==16296== at 0x4C29E90: free (vg_replace_malloc.c:473)
  229. ==16296== by 0x4F3271B: openshot::FrameMapper::ResampleMappedAudio(std::tr1::shared_ptr<openshot::Frame>, long) (FrameMapper.cpp:764)
  230. ==16296== by 0x4F33E4C: openshot::FrameMapper::GetFrame(long) [clone ._omp_fn.0] (FrameMapper.cpp:496)
  231. ==16296== by 0xA6687DE: GOMP_parallel (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  232. ==16296== by 0x4F2FC97: openshot::FrameMapper::GetFrame(long) (FrameMapper.cpp:384)
  233. ==16296== by 0x44211D: TestFrameMapper_resample_audio_48000_to_41000::RunImpl() const (FrameMapper_Tests.cpp:192)
  234. ==16296== by 0x456F97: void UnitTest::ExecuteTest<UnitTest::Test>(UnitTest::Test&, UnitTest::TestDetails const&) (in /home/komacka86/dev/git/openshot/libopenshot/build/tests/openshot-test)
  235. ==16296== by 0x457444: UnitTest::TestRunner::RunTest(UnitTest::TestResults*, UnitTest::Test*, int) const (in /home/komacka86/dev/git/openshot/libopenshot/build/tests/openshot-test)
  236. ==16296== by 0x457832: UnitTest::RunAllTests() (in /home/komacka86/dev/git/openshot/libopenshot/build/tests/openshot-test)
  237. ==16296== by 0x427D6F: main (tests.cpp:41)
  238. ==16296== Address 0x1ab081b0 is 0 bytes inside a block of size 6,400 alloc'd
  239. ==16296== at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
  240. ==16296== by 0x4F31640: openshot::FrameMapper::ResampleMappedAudio(std::tr1::shared_ptr<openshot::Frame>, long) (FrameMapper.cpp:686)
  241. ==16296== by 0x4F33E4C: openshot::FrameMapper::GetFrame(long) [clone ._omp_fn.0] (FrameMapper.cpp:496)
  242. ==16296== by 0xA6687DE: GOMP_parallel (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  243. ==16296== by 0x4F2FC97: openshot::FrameMapper::GetFrame(long) (FrameMapper.cpp:384)
  244. ==16296== by 0x44211D: TestFrameMapper_resample_audio_48000_to_41000::RunImpl() const (FrameMapper_Tests.cpp:192)
  245. ==16296== by 0x456F97: void UnitTest::ExecuteTest<UnitTest::Test>(UnitTest::Test&, UnitTest::TestDetails const&) (in /home/komacka86/dev/git/openshot/libopenshot/build/tests/openshot-test)
  246. ==16296== by 0x457444: UnitTest::TestRunner::RunTest(UnitTest::TestResults*, UnitTest::Test*, int) const (in /home/komacka86/dev/git/openshot/libopenshot/build/tests/openshot-test)
  247. ==16296== by 0x457832: UnitTest::RunAllTests() (in /home/komacka86/dev/git/openshot/libopenshot/build/tests/openshot-test)
  248. ==16296== by 0x427D6F: main (tests.cpp:41)
  249. ==16296==
  250. ==16296== Thread 10:
  251. ==16296== Mismatched free() / delete / delete []
  252. ==16296== at 0x4C29E90: free (vg_replace_malloc.c:473)
  253. ==16296== by 0x4F3271B: openshot::FrameMapper::ResampleMappedAudio(std::tr1::shared_ptr<openshot::Frame>, long) (FrameMapper.cpp:764)
  254. ==16296== by 0x4F33E4C: openshot::FrameMapper::GetFrame(long) [clone ._omp_fn.0] (FrameMapper.cpp:496)
  255. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  256. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  257. ==16296== by 0xAD9087C: clone (clone.S:111)
  258. ==16296== Address 0x1bf07060 is 0 bytes inside a block of size 6,400 alloc'd
  259. ==16296== at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
  260. ==16296== by 0x4F31640: openshot::FrameMapper::ResampleMappedAudio(std::tr1::shared_ptr<openshot::Frame>, long) (FrameMapper.cpp:686)
  261. ==16296== by 0x4F33E4C: openshot::FrameMapper::GetFrame(long) [clone ._omp_fn.0] (FrameMapper.cpp:496)
  262. ==16296== by 0xA66C715: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
  263. ==16296== by 0xAA930A3: start_thread (pthread_create.c:309)
  264. ==16296== by 0xAD9087C: clone (clone.S:111)
  265. ==16296==
  266. Success: 74 tests passed.
  267. Test time: 532.17 seconds.
  268. ----------------------------
  269. ==16296==
  270. ==16296== HEAP SUMMARY:
  271. ==16296== in use at exit: 187,389,043 bytes in 5,363 blocks
  272. ==16296== total heap usage: 477,347 allocs, 471,984 frees, 9,212,733,804 bytes allocated
  273. ==16296==
  274. ==16296== LEAK SUMMARY:
  275. ==16296== definitely lost: 406,420 bytes in 827 blocks
  276. ==16296== indirectly lost: 113,764,913 bytes in 837 blocks
  277. ==16296== possibly lost: 33,205,356 bytes in 110 blocks
  278. ==16296== still reachable: 40,012,354 bytes in 3,589 blocks
  279. ==16296== suppressed: 0 bytes in 0 blocks
  280. ==16296== Rerun with --leak-check=full to see details of leaked memory
  281. ==16296==
  282. ==16296== For counts of detected and suppressed errors, rerun with: -v
  283. ==16296== ERROR SUMMARY: 2209 errors from 12 contexts (suppressed: 0 from 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement