2753536587 / libyuv

Automatically exported from code.google.com/p/libyuv
0 stars 0 forks source link

valgrind memcheck failure in unittests #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
valgrind memcheck
tools/valgrind/chrome_tests.sh -t cmdline out/Release/libyuv_unittest

14 fails in the unittests

14:17:26 memcheck_analyze.py [ERROR] FAIL! There were 14 errors: 
14:17:26 memcheck_analyze.py [ERROR] Command: 
UninitCondition
Conditional jump or move depends on uninitialised value(s)
  libyuv::libyuvTest_I411ToARGB_OptVsC_Test::TestBody() (/out/Release/../../unit_test/planar_test.cc:94)
Suppression (error hash=#7A77CED556CCFF11#):
  For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports
{
   <insert_a_suppression_name_here>
   Memcheck:Uninitialized
   fun:_ZN6libyuv33libyuvTest_I411ToARGB_OptVsC_Test8TestBodyEv
}

Original issue reported on code.google.com by fbarch...@google.com on 10 Sep 2012 at 7:21

GoogleCodeExporter commented 9 years ago
r341 disables this test.  But the root cause of failure is not fixed.

Original comment by fbarch...@google.com on 10 Sep 2012 at 8:53

GoogleCodeExporter commented 9 years ago
Still failing

[  PASSED  ] 210 tests.
06:28:03 common.py [INFO] process ended, did not time out
06:28:03 common.py [INFO] flushing stdout
06:28:03 common.py [INFO] collecting result code
-----------------------------------------------------
Suppressions used:
  count name
      2 U1004-ARM-_dl_relocate_object
      2 glibc-2.5.x-on-SUSE-10.2-(PPC)-2a
-----------------------------------------------------
06:28:03 memcheck_analyze.py [ERROR] FAIL! There were 13 errors: 
06:28:03 memcheck_analyze.py [ERROR] Command: 
UninitCondition
Conditional jump or move depends on uninitialised value(s)
  TestCpuFlag (/include/libyuv/cpu_id.h:42)
  I420ToV210 (/source/convert_from.cc:648)
  libyuv::libyuvTest_I420ToV210Invert_OptVsC_Test::TestBody() (/unit_test/planar_test.cc:99)
Suppression (error hash=#D0F4F4D7222411B4#):
  For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports
{
   <insert_a_suppression_name_here>
   Memcheck:Uninitialized
   fun:TestCpuFlag
   fun:I420ToV210
   fun:_ZN6libyuv39libyuvTest_I420ToV210Invert_OptVsC_Test8TestBodyEv
}

06:28:03 memcheck_analyze.py [ERROR] Command: 
UninitCondition
Conditional jump or move depends on uninitialised value(s)
  libyuv::libyuvTest_I411ToARGB_OptVsC_Test::TestBody() (/unit_test/planar_test.cc:94)
Suppression (error hash=#BEDCCC03E03254A6#):
  For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports
{
   <insert_a_suppression_name_here>
   Memcheck:Uninitialized
   fun:_ZN6libyuv33libyuvTest_I411ToARGB_OptVsC_Test8TestBodyEv
}

06:28:03 memcheck_analyze.py [ERROR] Command: 
UninitCondition
Conditional jump or move depends on uninitialised value(s)
  Clip (/source/row_common.cc:410)
  YuvPixel (/source/row_common.cc:421)
  I422ToARGBRow_C (/source/row_common.cc:451)
  I422ToARGB (/source/convert_argb.cc:135)
  libyuv::libyuvTest_I422ToARGB_OptVsC_Test::TestBody() (/unit_test/planar_test.cc:95)
Suppression (error hash=#11266CD14F7BE855#):
  For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports
{
   <insert_a_suppression_name_here>
   Memcheck:Uninitialized
   fun:Clip
   fun:YuvPixel
   fun:I422ToARGBRow_C
   fun:I422ToARGB
   fun:_ZN6libyuv33libyuvTest_I422ToARGB_OptVsC_Test8TestBodyEv
}

06:28:03 memcheck_analyze.py [ERROR] Command: 
UninitCondition
Conditional jump or move depends on uninitialised value(s)
  libyuv::libyuvTest_I422ToARGB_OptVsC_Test::TestBody() (/unit_test/planar_test.cc:95)
Suppression (error hash=#DC16E214A617516F#):
  For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports
{
   <insert_a_suppression_name_here>
   Memcheck:Uninitialized
   fun:_ZN6libyuv33libyuvTest_I422ToARGB_OptVsC_Test8TestBodyEv
}

06:28:03 memcheck_analyze.py [ERROR] Command: 
UninitCondition
Conditional jump or move depends on uninitialised value(s)
  I420ToV210 (/source/convert_from.cc:648)
  libyuv::libyuvTest_I420ToV210Invert_OptVsC_Test::TestBody() (/unit_test/planar_test.cc:99)
Suppression (error hash=#3F7A397158C4432C#):
  For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports
{
   <insert_a_suppression_name_here>
   Memcheck:Uninitialized
   fun:I420ToV210
   fun:_ZN6libyuv39libyuvTest_I420ToV210Invert_OptVsC_Test8TestBodyEv
}

06:28:03 memcheck_analyze.py [ERROR] Command: 
UninitCondition
Conditional jump or move depends on uninitialised value(s)
  libyuv::libyuvTest_I420ToV210_OptVsC_Test::TestBody() (/unit_test/planar_test.cc:99)
Suppression (error hash=#AE3E40DDB8C2A708#):
  For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports
{
   <insert_a_suppression_name_here>
   Memcheck:Uninitialized
   fun:_ZN6libyuv33libyuvTest_I420ToV210_OptVsC_Test8TestBodyEv
}

06:28:03 memcheck_analyze.py [ERROR] Command: 
UninitCondition
Conditional jump or move depends on uninitialised value(s)
  libyuv::libyuvTest_I420ToV210Invert_OptVsC_Test::TestBody() (/unit_test/planar_test.cc:99)
Suppression (error hash=#52D5D92C7976061F#):
  For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports
{
   <insert_a_suppression_name_here>
   Memcheck:Uninitialized
   fun:_ZN6libyuv39libyuvTest_I420ToV210Invert_OptVsC_Test8TestBodyEv
}

06:28:03 memcheck_analyze.py [ERROR] Command: 
UninitCondition
Conditional jump or move depends on uninitialised value(s)
  I420ToV210 (/source/convert_from.cc:648)
  libyuv::libyuvTest_I420ToV210_OptVsC_Test::TestBody() (/unit_test/planar_test.cc:99)
Suppression (error hash=#E5488A7124EC7F02#):
  For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports
{
   <insert_a_suppression_name_here>
   Memcheck:Uninitialized
   fun:I420ToV210
   fun:_ZN6libyuv33libyuvTest_I420ToV210_OptVsC_Test8TestBodyEv
}

06:28:03 memcheck_analyze.py [ERROR] Command: 
UninitValue
Use of uninitialised value of size 8
  ARGBColorTableRow_C (/source/row_common.cc:360)
  ARGBColorTable (/source/planar_functions.cc:967)
  libyuv::libyuvTest_TestARGBColorTable_Test::TestBody() (/unit_test/planar_test.cc:724)
Suppression (error hash=#9FFBFAE192714CD6#):
  For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports
{
   <insert_a_suppression_name_here>
   Memcheck:Uninitialized
   fun:ARGBColorTableRow_C
   fun:ARGBColorTable
   fun:_ZN6libyuv34libyuvTest_TestARGBColorTable_Test8TestBodyEv
}

06:28:03 memcheck_analyze.py [ERROR] Command: 
UninitCondition
Conditional jump or move depends on uninitialised value(s)
  TestCpuFlag (/include/libyuv/cpu_id.h:42)
  I420ToV210 (/source/convert_from.cc:648)
  libyuv::libyuvTest_I420ToV210_OptVsC_Test::TestBody() (/unit_test/planar_test.cc:99)
Suppression (error hash=#A705BCDF3D80D8A9#):
  For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports
{
   <insert_a_suppression_name_here>
   Memcheck:Uninitialized
   fun:TestCpuFlag
   fun:I420ToV210
   fun:_ZN6libyuv33libyuvTest_I420ToV210_OptVsC_Test8TestBodyEv
}

06:28:03 memcheck_analyze.py [ERROR] Command: 
UninitCondition
Conditional jump or move depends on uninitialised value(s)
  Clip (/source/row_common.cc:410)
  YuvPixel (/source/row_common.cc:421)
  I411ToARGBRow_C (/source/row_common.cc:469)
  I411ToARGB (/source/convert_argb.cc:179)
  libyuv::libyuvTest_I411ToARGB_OptVsC_Test::TestBody() (/unit_test/planar_test.cc:94)
Suppression (error hash=#3816D562215AE26F#):
  For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports
{
   <insert_a_suppression_name_here>
   Memcheck:Uninitialized
   fun:Clip
   fun:YuvPixel
   fun:I411ToARGBRow_C
   fun:I411ToARGB
   fun:_ZN6libyuv33libyuvTest_I411ToARGB_OptVsC_Test8TestBodyEv
}

06:28:03 memcheck_analyze.py [ERROR] Command: 
UninitCondition
Conditional jump or move depends on uninitialised value(s)
  libyuv::libyuvTest_I422ToARGBInvert_OptVsC_Test::TestBody() (/unit_test/planar_test.cc:95)
Suppression (error hash=#BEBB41592D651EAE#):
  For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports
{
   <insert_a_suppression_name_here>
   Memcheck:Uninitialized
   fun:_ZN6libyuv39libyuvTest_I422ToARGBInvert_OptVsC_Test8TestBodyEv
}

06:28:03 memcheck_analyze.py [ERROR] Command: 
UninitCondition
Conditional jump or move depends on uninitialised value(s)
  libyuv::libyuvTest_I411ToARGBInvert_OptVsC_Test::TestBody() (/unit_test/planar_test.cc:94)
Suppression (error hash=#0CB377C0FB8D7667#):
  For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports
{
   <insert_a_suppression_name_here>
   Memcheck:Uninitialized
   fun:_ZN6libyuv39libyuvTest_I411ToARGBInvert_OptVsC_Test8TestBodyEv
}

06:28:03 valgrind_test.py [INFO] Please see 
http://dev.chromium.org/developers/how-tos/using-valgrind for the info on 
Memcheck/Valgrind
06:28:03 valgrind_test.py [ERROR] Analyze failed.
06:28:03 valgrind_test.py [INFO] Search the log for '[ERROR]' to see the error 
reports.
06:28:03 valgrind_test.py [INFO] elapsed time: 00:07:44
Stopping Xvfb with pid 3668 ...
Xvfb pid file removed
program finished with exit code 255
elapsedTime=464.618561

Original comment by fbarch...@google.com on 13 Sep 2012 at 11:43

GoogleCodeExporter commented 9 years ago
Fixed in r358.  The bug was legitimate, but only in the unittest

Original comment by fbarch...@google.com on 17 Sep 2012 at 11:54