Ticket #249: valgrind_alf_G609

File valgrind_alf_G609, 4.0 KB (added by thomasd, 13 years ago)

valgrind output

Line 
1==6134== Memcheck, a memory error detector
2==6134== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
3==6134== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
4==6134== Command: ./jctvc-hm-dec -b /master/thdavies/test3r.bit -o /master/thdavies/test3r.dec.yuv
5==6134== Parent PID: 10663
6==6134==
7==6134== Conditional jump or move depends on uninitialised value(s)
8==6134==    at 0x40B55E: TComAdaptiveLoopFilter::calcVar(short**, short*, int, int) (TComAdaptiveLoopFilter.cpp:1378)
9==6134==    by 0x4145FF: TComAdaptiveLoopFilter::xALFLuma(TComPic*, _AlfParam*, std::vector<AlfCUCtrlInfo, std::allocator<AlfCUCtrlInfo> >&, TComPicYuv*, TComPicYuv*) (TComAdaptiveLoopFilter.cpp:673)
10==6134==    by 0x414DD4: TComAdaptiveLoopFilter::ALFProcess(TComPic*, _AlfParam*, std::vector<AlfCUCtrlInfo, std::allocator<AlfCUCtrlInfo> >&) (TComAdaptiveLoopFilter.cpp:583)
11==6134==    by 0x48123D: TDecGop::decompressGop(TComInputBitstream*, TComPic*&, bool) (TDecGop.cpp:531)
12==6134==    by 0x487D88: TDecTop::executeDeblockAndAlf(unsigned int&, TComList<TComPic*>*&, int&, int&) (TDecTop.cpp:236)
13==6134==    by 0x406AA4: TAppDecTop::decode() (TAppDecTop.cpp:148)
14==6134==    by 0x4037E7: main (decmain.cpp:79)
15==6134==  Uninitialised value was created by a heap allocation
16==6134==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
17==6134==    by 0x43512C: TComPicYuv::create(int, int, unsigned int, unsigned int, unsigned int) (TComPicYuv.cpp:92)
18==6134==    by 0x433D0E: TComPic::create(int, int, unsigned int, unsigned int, unsigned int, bool) (TComPic.cpp:74)
19==6134==    by 0x487F41: TDecTop::xGetNewPicBuffer(TComSlice*, TComPic*&) (TDecTop.cpp:187)
20==6134==    by 0x48A469: TDecTop::decode(InputNALUnit&, int&, int&) (TDecTop.cpp:519)
21==6134==    by 0x406A6E: TAppDecTop::decode() (TAppDecTop.cpp:134)
22==6134==    by 0x4037E7: main (decmain.cpp:79)
23==6134==
24==6134== Use of uninitialised value of size 8
25==6134==    at 0x40B5AA: TComAdaptiveLoopFilter::calcVar(short**, short*, int, int) (TComAdaptiveLoopFilter.cpp:1385)
26==6134==    by 0x4145FF: TComAdaptiveLoopFilter::xALFLuma(TComPic*, _AlfParam*, std::vector<AlfCUCtrlInfo, std::allocator<AlfCUCtrlInfo> >&, TComPicYuv*, TComPicYuv*) (TComAdaptiveLoopFilter.cpp:673)
27==6134==    by 0x414DD4: TComAdaptiveLoopFilter::ALFProcess(TComPic*, _AlfParam*, std::vector<AlfCUCtrlInfo, std::allocator<AlfCUCtrlInfo> >&) (TComAdaptiveLoopFilter.cpp:583)
28==6134==    by 0x48123D: TDecGop::decompressGop(TComInputBitstream*, TComPic*&, bool) (TDecGop.cpp:531)
29==6134==    by 0x487D88: TDecTop::executeDeblockAndAlf(unsigned int&, TComList<TComPic*>*&, int&, int&) (TDecTop.cpp:236)
30==6134==    by 0x406AA4: TAppDecTop::decode() (TAppDecTop.cpp:148)
31==6134==    by 0x4037E7: main (decmain.cpp:79)
32==6134==  Uninitialised value was created by a heap allocation
33==6134==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
34==6134==    by 0x43512C: TComPicYuv::create(int, int, unsigned int, unsigned int, unsigned int) (TComPicYuv.cpp:92)
35==6134==    by 0x433D0E: TComPic::create(int, int, unsigned int, unsigned int, unsigned int, bool) (TComPic.cpp:74)
36==6134==    by 0x487F41: TDecTop::xGetNewPicBuffer(TComSlice*, TComPic*&) (TDecTop.cpp:187)
37==6134==    by 0x48A469: TDecTop::decode(InputNALUnit&, int&, int&) (TDecTop.cpp:519)
38==6134==    by 0x406A6E: TAppDecTop::decode() (TAppDecTop.cpp:134)
39==6134==    by 0x4037E7: main (decmain.cpp:79)
40==6134==
41==6134==
42==6134== HEAP SUMMARY:
43==6134==     in use at exit: 165,064 bytes in 25 blocks
44==6134==   total heap usage: 4,381 allocs, 4,356 frees, 18,997,370 bytes allocated
45==6134==
46==6134== LEAK SUMMARY:
47==6134==    definitely lost: 1,700 bytes in 14 blocks
48==6134==    indirectly lost: 56,864 bytes in 10 blocks
49==6134==      possibly lost: 0 bytes in 0 blocks
50==6134==    still reachable: 106,500 bytes in 1 blocks
51==6134==         suppressed: 0 bytes in 0 blocks
52==6134== Rerun with --leak-check=full to see details of leaked memory
53==6134==
54==6134== For counts of detected and suppressed errors, rerun with: -v
55==6134== ERROR SUMMARY: 658 errors from 2 contexts (suppressed: 4 from 4)