#166 closed defect (fixed)Encoder/Decoder Crash
Description
Setting the "ListCombination" to "0" in "encoder_lowdelay_loco.cfg" (i.e. the LD-LC condition), usually causes the encoder to crash (after a few frames). In case that the encoder finishes without a crash, then decoding of the generated bitstream would result in a Decoder crash.
Note that the exact frame where the crash happens is intermittent and depends on the hw/sw platform as well as the coded sequence.
Comment: As replacing the CAVLC with CABAC would fix the problem, most likely the culprit is in the CAVLC/LCEC module. Change History (9)comment:1 Changed 15 years ago by davidfcomment:2 Changed 15 years ago by libin
I think r827 may fix this bug. comment:3 Changed 15 years ago by ksuehring
If David was testing on the latest HM-3.0-dev (as stated) r827 was already included. So it seems this does not fix the problem. comment:4 Changed 15 years ago by ksuehring
I just saw that a fix has been committed to HM-3.0-dev-bugfix in r926 comment:5 follow-up: ↓ 6 Changed 15 years ago by davidf
I can confirm that r926 resolves this. comment:6 in reply to: ↑ 5 Changed 15 years ago by minoocomment:7 Changed 14 years ago by davidf
Updating component after adding WD (Text) tickets comment:8 Changed 14 years ago by davidf
comment:9 Changed 14 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
| ||||||||||||||||
I can reproduce this issue using the latest HM-3.0-dev.
The root cause of the problem is:
0x000000000046e382 in TEncCavlc::codeInterDir (this=0x7feffe378, pcCU=0x5bc2050, uiAbsPartIdx=0) at /users/davidf/project/jctvc-hm//.git/../@/source/Lib/TLibEncoder/TEncCavlc.cpp:1363 1363 if ( iRefFrame0 >= 4 ) (gdb) print iRefFrame0 $1 = 0 (gdb) print uiNumRefIdxOfLC $2 = 4294967295In code like:
if(uiNumRefIdxOfLC > 0) { if ( iRefFrame0 >= 4 ) { uiIndex = uiMaxVal; }