This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DEC_PROCESS_TSK exception

hi TI-friends,

rdk 3.0 ,

we test  16 channel decoding with following pattern, currently it's 15 ch

640x480     x 2 ch

720x480     x 7 ch

1920x1080  x 6 ch

and everything is fine...

and now, we add 1 ch 1920x1080 then the log show

[m3video] DECLINK_H264:HEAPID:0 USED:2368
[m3video] DECLINK_H264:HEAPID:3 USED:8937472
[m3video] 470288: DECODE: Creating CH10 of 1920 x 1080 [PROGRESSIVE] [NON-TILE D ],target bitrate = 2000 Kbps ...
[m3video] 470288: DECODE: CH10: Decoder Create CH done!!!

...

537984680:!!!SLAVE CORE [VIDEO-M3] DOWN!!!
SystemLink_copySlaveCoreExceptionContext:152
mmap of [0xde9c0000:36864]
mmap virt addresss:0x2ac8b000
munmap of [0x2ac8b000:36864]
SystemLink_copySlaveCoreExceptionContext:159
SystemLink_handleSlaveCoreException:179


537984702:!!!SLAVE CORE DOWN!!!.EXCEPTION INFO DUMP

!!HW EXCEPTION ACTIVE (0/1): [1]

!!EXCEPTION CORE NAME : [VIDEO-M3]

!!EXCEPTION TASK NAME : [DEC_PROCESS_TSK_1 ]

!!EXCEPTION LOCATION : []

!!EXCEPTION INFO : [H/W EXCEPTION]

!!EXCEPTION CCS CRASH DUMP FORMAT FILE STORED @ ./CCS_CRASH_DUMP_VIDEO-M3.txt
SystemLink_handleSlaveCoreException:184
[m3video] Unhandled Exception:
[m3video] Exception occurred in ThreadType_Task
[m3video] handle: 0x95a3b4c8.
[m3video] stack base: 0x95d58060.
[m3video] stack size: 0x2000.
[m3video] R0 = 0x95d59af8 R8 = 0x00000022
[m3video] R1 = 0x95d59afa R9 = 0x95d59af8
[m3video] R2 = 0xffff8b69 R10 = 0x00000000
[m3video] R3 = 0x5b002266 R11 = 0x5ac5cd94
[m3video] R4 = 0x5b002246 R12 = 0x00000001
[m3video] R5 = 0x00007f80 SP(R13) = 0x95d59ac8
[m3video] R6 = 0x5b001914 LR(R14) = 0xffffffff
[m3video] R7 = 0x7fffffff PC(R15) = 0x200103ee
[m3video] PSR = 0x21000000
[m3video] ICSR = 0x00400803
[m3video] MMFSR = 0x00
[m3video] BFSR = 0x82
[m3video] UFSR = 0x0000
[m3video] HFSR = 0x40000000
[m3video] DFSR = 0x00000000
[m3video] MMAR = 0x5ac5cdb4
[m3video] BFAR = 0x5ac5cdb4
[m3video] AFSR = 0x00000000
[m3video] Terminating Execution...

I have tested each BS independently and saw nothing error.

Any further idea for this?

  • Check same configuration with DVRRDK 4.01 decode display demo. RDK 3.0 is not supported

  • hello badri,

    thanks for your reply.

    I already use codec from rdk4.01

    I found something strange. The bit-stream has random I-frame interval.

    > I found TI can decode this kind of BS independently.

    Does TI can decode this BS normally?? 

    > And it looks like something crash if I give it too much this kind of BS...

    Any idea?

  • There is no issue with streams that don't have random I-frame interval.

    We have tested DVRRDK 4.01 with upto 36 channels 1080P streams and there is no issue.

     

  • Badri Narayanan said:

    Check same configuration with DVRRDK 4.01 decode display demo. RDK 3.0 is not supported

    after checking, we got the same problem as using RDK 4.1.

    [m3video] 53964:DECLINK::links_m3video/iva_dec/decLink_h264.c:[385]::INTERNAL ERROR:-1
    [m3video] ALGPROCESS FAILED:STATUS
    [m3video] outArgs->viddec3OutArgs.extendedError for channel 3 Error: 0x13221
    [m3video] Sequence called number 11
    [m3video] Unhandled Exception:
    [m3video] Exception occurred in ThreadType_Task
    [m3video] handle: 0x2d231bc8.
    [m3video] stack base: 0x2d586540.
    [m3video] stack size: 0x2000.
    [m3video] R0 = 0x2d5883a4 R8 = 0x2d100000
    [m3video] R1 = 0x2d5883a0 R9 = 0x8c8040c8
    [m3video] R2 = 0x00000000 R10 = 0x2d231090
    [m3video] R3 = 0x00000010 R11 = 0x0000130c
    [m3video] R4 = 0x2d100000 R12 = 0x8c6ae9ed
    [m3video] R5 = 0x7e7f7e7f SP(R13) = 0x2d588350
    [m3video] R6 = 0x00000000 LR(R14) = 0x003218c9
    [m3video] R7 = 0x00000000 PC(R15) = 0x00325624
    [m3video] PSR = 0x21000000
    [m3video] ICSR = 0x00435803
    [m3video] MMFSR = 0x00
    [m3video] BFSR = 0x82
    [m3video] UFSR = 0x0000
    [m3video] HFSR = 0x40000000
    [m3video] DFSR = 0x00000000
    [m3video] MMAR = 0x7e7f7ea3
    [m3video] BFAR = 0x7e7f7ea3
    [m3video] AFSR = 0x00000000
    [m3video] Terminating Execution...

    Any idea?

  • Share the mcfw cmd line demo (SD/HD decode display demo option) log from ./load.sh to when exception occurs.