Changes between Initial Version and Version 3 of Ticket #14
- Timestamp:
- 20 Feb 2016, 04:10:10 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14
- Property Owner set to XiangLi
- Property Status changed from new to assigned
-
Ticket #14 – Description
initial v3 1 1 I run JEM1.0 code with valgrind and found the problem of uninitialized memory . The error is as below. It is generated with LCU16x16 All Intra setting. 2 2 3 {{{ 3 4 ==26659== Use of uninitialised value of size 8 4 5 ==26659== at 0x484FC7: ContextModel::getEntropyBits(short) (ContextModel.h:118) … … 15 16 ==26659== by 0x45BE96: TEncSlice::compressSlice(TComPic*, bool, bool) (TEncSlice.cpp:855) 16 17 17 18 }}} 18 19 19 20 … … 21 22 22 23 In TEnslice.cpp Ln 666, 24 {{{ 23 25 m_pcEntropyCoder->setEntropyCoder ( m_pppcRDSbacCoder[0][CI_CURR_BEST] ); 24 26 m_pcEntropyCoder->resetEntropy ( pcSlice ); 27 }}} 25 28 26 29 here only the CI_CURR_BEST is initialized. … … 30 33 The sbac status of CI_QT_TRAFO_ROOT loaded is possibly uninitialized. 31 34 35 {{{ 32 36 #if COM16_C806_EMT 33 37 if( bSaveEmtResults && ( uiSingleCbfLuma || !bAllIntra || !m_pcEncCfg->getUseFastIntraEMT() ) ) … … 36 40 } 37 41 #endif 42 }}} 38 43 39 44 The above problem caused windows program produce different output from linux. But fixing it did not fix all the memory problem. there are other memory bugs need to be fixed.