Opened 14 years ago Closed 14 years ago #144 closed defect (fixed)decoder crashes on empty input file
Description
performing: $ rm out.bit; touch out.bit $ ./jctvc-tmuc-dec --BitstreamFile=out.bit
causes: ==13135== Use of uninitialised value of size 8 ==13135== at 0x428A7A: TComPic::getPicSym() (TComPic.h:78) ==13135== by 0x466B72: TDecTop::executeDeblockAndAlf(bool, TComBitstream*, unsigned int&, TComList<TComPic*>*&, int&, int&) (TDecTop.cpp:183) ==13135== by 0x4051E5: TAppDecTop::decode() (TAppDecTop.cpp:119) ==13135== by 0x402B0F: main (decmain.cpp:76) ==13135== ==13135== ==13135== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- n ==13135== Invalid read of size 8 ==13135== at 0x40598D: TComPicSym::getSlice(unsigned int) (TComPicSym.h:78) ==13135== by 0x466B7C: TDecTop::executeDeblockAndAlf(bool, TComBitstream*, unsigned int&, TComList<TComPic*>*&, int&, int&) (TDecTop.cpp:183) ==13135== by 0x4051E5: TAppDecTop::decode() (TAppDecTop.cpp:119) ==13135== by 0x402B0F: main (decmain.cpp:76) ==13135== Address 0x9691aa5 is not stack'd, malloc'd or (recently) free'd ==13135== ==13135== ==13135== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- n ==13135== ==13135== Process terminating with default action of signal 11 (SIGSEGV) ==13135== Access not within mapped region at address 0x9691AA5 ==13135== at 0x40598D: TComPicSym::getSlice(unsigned int) (TComPicSym.h:78) ==13135== by 0x466B7C: TDecTop::executeDeblockAndAlf(bool, TComBitstream*, unsigned int&, TComList<TComPic*>*&, int&, int&) (TDecTop.cpp:183) ==13135== by 0x4051E5: TAppDecTop::decode() (TAppDecTop.cpp:119) ==13135== by 0x402B0F: main (decmain.cpp:76) Change History (5)comment:1 Changed 14 years ago by davidf
comment:2 Changed 14 years ago by davidf
comment:3 Changed 13 years ago by davidf
Updating component after adding WD (Text) tickets comment:4 Changed 13 years ago by davidf
comment:5 Changed 13 years ago by davidf
Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
|
Resolved by log:branches/HM-3.0-dev@888:901