#206 closed defect (fixed)HM-4 decoder crashes on ARM
Description
HM 4.0 decoder (compiled with GCC 4.5.2 on Linux32 for ARM platform) crashes with anchor streams at the first Inter picture, either with "segmentation fault" or with the following assertion failed message:
TComPrediction.cpp:501: Void TComPrediction::xPredInterBi(TComDataCU*, UInt, Int, Int, TComYuv*&, Int): Assertion `iRefIdx[iRefList] < pcCU->getSlice()->getNumRefIdx(eRefPicList)' failed. Change History (9)comment:1 Changed 13 years ago by fbossencomment:2 Changed 13 years ago by alfonso
I have checked all the reference bit streams in configurations ld-he, ld-lc, ra-he, ra-lc, and the issue always occurs. This is the output of the gdb debugger with one stream:
Program received signal SIGSEGV, Segmentation fault. comment:3 Changed 13 years ago by alfonso
We have find that the error was caused by incorrect sign extension on a variable, which caused incorrect access to the reference pictures memory.
A possible workaround is to change the line
old version:
new version:
} comment:4 Changed 13 years ago by fbossen
Looks like a compiler issue to me. Does your compiler define the type 'char' as signed or unsigned? comment:5 Changed 13 years ago by davidf
Updating component after adding WD (Text) tickets comment:6 Changed 13 years ago by davidf
comment:7 Changed 13 years ago by davidf
comment:8 Changed 11 years ago by fbossen
Fixed in r3771 comment:9 Changed 11 years ago by ksuehring
Ticket #1242 has been marked as a duplicate of this ticket. 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
|
Could you clarify whether the issue occurs for all bit streams or only a subset thereof?
It may be very difficult for others to reproduce the error (and debug it) if this happens only on a specific environment.