dilagurung / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

valgrind fail on CropNV12 #350

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Repros with dr memory as well

Dr. Memory version 1.6.1 build 2 built on Dec 14 2013 12:27:10
Dr. Memory results for pid 3976: "libyuv_unittest.exe"
Application cmdline: "out\debug\libyuv_unittest.exe --gtest_catch_exceptions=0 
--gtest_filter=*CropNV12"
Recorded 99 suppression(s) from default C:\Program Files (x86)\Dr. 
Memory\bin\suppress-default.txt

Error #1: UNINITIALIZED READ: reading 0x01086f80-0x01086f90 16 byte(s) within 
0x01086f80-0x01086f90
#0 SplitUVRow_SSE2                                                            
[d:\src\libyuv\trunk\source\row_win.cc:3470]
#1 X420ToI420                                                                 
[d:\src\libyuv\trunk\source\convert.cc:339]
#2 NV12ToI420                                                                 
[d:\src\libyuv\trunk\source\convert.cc:360]
#3 libyuv::libyuvTest_CropNV12_Test::TestBody                                 
[d:\src\libyuv\trunk\unit_test\convert_test.cc:1219]
#4 testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,void> 
[d:\src\libyuv\trunk\testing\gtest\src\gtest.cc:2045]
#5 testing::Test::Run                                                         
[d:\src\libyuv\trunk\testing\gtest\src\gtest.cc:2062]
#6 testing::TestInfo::Run                                                     
[d:\src\libyuv\trunk\testing\gtest\src\gtest.cc:2237]
#7 testing::TestCase::Run                                                     
[d:\src\libyuv\trunk\testing\gtest\src\gtest.cc:2344]
#8 testing::internal::UnitTestImpl::RunAllTests                               
[d:\src\libyuv\trunk\testing\gtest\src\gtest.cc:4065]
#9 
testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTe
stImpl,bool> [d:\src\libyuv\trunk\testing\gtest\src\gtest.cc:2045]
#10 testing::UnitTest::Run                                                     
[d:\src\libyuv\trunk\testing\gtest\src\gtest.cc:3700]
#11 RUN_ALL_TESTS                                                              
[d:\src\libyuv\trunk\testing\gtest\include\gtest\gtest.h:2231]
Note: @0:00:03.212 in thread 7812
Note: instruction: movdqa (%eax) -> %xmm0

Original issue reported on code.google.com by fbarch...@google.com on 19 Aug 2014 at 1:00

GoogleCodeExporter commented 9 years ago
appears to be an issue in the test with odd crop amounts.

Original comment by fbarch...@google.com on 19 Aug 2014 at 6:01

GoogleCodeExporter commented 9 years ago
The test was not initializing the full UV channel.  Fixed in r1050.

Original comment by fbarch...@google.com on 19 Aug 2014 at 6:48