Opened 2 years ago

Closed 2 years ago

#162 closed defect (fixed)

valgrind reports errors in BestEncInfoCache::isValid

Reported by: fbossen Owned by:
Priority: major Milestone: VTM-4.0
Component: VTM Version:
Keywords: Cc: ksuehring, XiangLi, fbossen, jvet@…

Description

With commit 69d571b, valgrind typically reports errors in BestEncInfoCache::isValid such as

==1286== Conditional jump or move depends on uninitialised value(s)
==1286== at 0x1001BB86A: BestEncInfoCache::isValid(CodingStructure const&, Partitioner const&, int) (in bin/umake/clang-10.0/x86_64/release/EncoderApp)
==1286== by 0x1001BD92B: EncModeCtrlMTnoRQT::initCULevel(Partitioner&, CodingStructure const&) (in bin/umake/clang-10.0/x86_64/release/EncoderApp)
==1286== by 0x100183BD0: EncCu::xCompressCU(CodingStructure*&, CodingStructure*&, Partitioner&, LutMotionCand*&, LutMotionCand*&) (in bin/umake/clang-10.0/x86_64/release/EncoderApp)
==1286== by 0x100182FDA: EncCu::compressCtu(CodingStructure&, UnitArea const&, unsigned int, int const*, int const*) (in bin/umake/clang-10.0/x86_64/release/EncoderApp)
==1286== by 0x1001DB566: EncSlice::encodeCtus(Picture*, bool, bool, unsigned int, unsigned int, EncLib*) (in bin/umake/clang-10.0/x86_64/release/EncoderApp)
==1286== by 0x1001DA27C: EncSlice::compressSlice(Picture*, bool, bool) (in bin/umake/clang-10.0/x86_64/release/EncoderApp)
==1286== by 0x1001A0123: EncGOP::compressGOP(int, int, std::1::list<Picture*, std::1::allocator<Picture*> >&, std::1::list<UnitBuf<short>*, std::1::allocator<UnitBuf<short>*> >&, bool, bool, InputColourSpaceConversion, bool, bool) (in bin/umake/clang-10.0/x86_64/release/EncoderApp)
==1286== by 0x1001B3F50: EncLib::encode(bool, PelStorage*, PelStorage*, InputColourSpaceConversion, std::1::list<UnitBuf<short>*, std::1::allocator<UnitBuf<short>*> >&, int&) (in bin/umake/clang-10.0/x86_64/release/EncoderApp)
==1286== by 0x100004048: EncApp::encode() (in bin/umake/clang-10.0/x86_64/release/EncoderApp)
==1286== by 0x100054C8F: main (in bin/umake/clang-10.0/x86_64/release/EncoderApp)

Change history (2)

comment:2 Changed 2 years ago by fbossen

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.