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.

g711 decoder crash

Other Parts Discussed in Thread: SYSBIOS

Hi,

I am using g711udec from TI in my project. But its crashing 2nd frame onwards. Please see the below log. Encoder also giving error but not crashing

 

[C674X_0] Channel: Got Event 2

[C674X_0] Channel: isRtpInputTask = TRUE

[C674X_0] Channel: Got Input Data from RTP

[C674X_0] Channel: RingIO RTP in loop

[C674X_0] Channel: RingIO HW out loop

[C674X_0] Decoder-> Processing frame ...

[C674X_0] [t=0x0000000d:0871c92f] [tid=0x1] ti.sdo.ce.speech1.SPHDEC1: [+E] SPHDEC1_process> Enter (handle=0x8b013020, inBuf=0x8b0113fc, outBuf=0x8b011408, inArgs=0x8b011418, outArgs=0x8b011428)

[C674X_0] [t=0x0000000d:0872b3f4] [tid=0x1] ti.sdo.ce.VISA: [+5] VISA_enter(visa=0x8b013020): algHandle = 0x8b013058

[C674X_0] [t=0x0000000d:08733918] [tid=0x1] ti.sdo.ce.alg.Algorithm: [+E] Algorithm_activate> Enter(alg=0x8b013058)

[C674X_0] [t=0x0000000d:0873b99f] [tid=0x1] ti.sdo.fc.dskt2: [+E] DSKT2_activateAlg> Enter (scratchId=3, alg=0x8b2f6d68)

[C674X_0] [t=0x0000000d:0874476c] [tid=0x1] ti.sdo.fc.dskt2: [+2] DSKT2_activateAlg> Last active algorithm 0x0, current algorithm to be activated 0x8b2f6d68

[C674X_0] [t=0x0000000d:0874f4d2] [tid=0x1] ti.sdo.fc.dskt2: [+X] DSKT2_activateAlg> Exit

[C674X_0] [t=0x0000000d:0875582a] [tid=0x1] ti.sdo.ce.alg.Algorithm: [+X] Algorithm_activate> Exit

[C674X_0] [t=0x0000000d:0875ce88] [tid=0x1] ti.sdo.ce.VISA: [+5] VISA_exit(visa=0x8b013020): algHandle = 0x8b013058

[C674X_0] [t=0x0000000d:087651b3] [tid=0x1] ti.sdo.ce.alg.Algorithm: [+E] Algorithm_deactivate> Enter(alg=0x8b013058)

[C674X_0] [t=0x0000000d:0876d4c0] [tid=0x1] ti.sdo.fc.dskt2: [+E] DSKT2_deactivateAlg> Enter (scratchId=3, algHandle=0x8b2f6d68)

[C674X_0] [t=0x0000000d:0877646f] [tid=0x1] ti.sdo.fc.dskt2: [+4] DSKT2_deactivateAlg> Lazy deactivate of algorithm 0x8b2f6d68

[C674X_0] [t=0x0000000d:0877f17b] [tid=0x1] ti.sdo.fc.dskt2: [+X] DSKT2_deactivateAlg> Exit

[C674X_0] [t=0x0000000d:0878537b] [tid=0x1] ti.sdo.ce.alg.Algorithm: [+X] Algorithm_deactivate> Exit

[C674X_0] [t=0x0000000d:0878c2a7] [tid=0x1] ti.sdo.ce.speech1.SPHDEC1: [+X] SPHDEC1_process> Exit (handle=0x8b013020, retVal=0x8e006720)

[C674X_0] Decoder outBufDesc.bufSize = 320

[C674X_0] App-> Decoder frame  processing FAILED, status = 0x8e006720, extendedError = 0x8b238020

[C674X_0] Channel: Got Event 2

[C674X_0] Channel: isRtpInputTask = TRUE

[C674X_0] Channel: Got Input Data from RTP

[C674X_0] Channel: RingIO RTP in loop

[C674X_0] Channel: RingIO HW out loop

[C674X_0] Decoder-> Processing frame ...

[C674X_0] [t=0x0000000d:087da6d2] [tid=0x1] ti.sdo.ce.speech1.SPHDEC1: [+E] SPHDEC1_process> Enter (handle=0x8b013020, inBuf=0x8b0113fc, outBuf=0x8b011408, inArgs=0x8b011418, outArgs=0x8b011428)

[C674X_0] [t=0x0000000d:087e7fc4] [tid=0x1] ti.sdo.ce.speech1.SPHDEC1: [+X] SPHDEC1_process> Exit (handle=0x8b013020, retVal=0xffffffff)

[C674X_0] Decoder outBufDesc.bufSize = -1962862044

[C674X_0] App-> Decoder frame  processing FAILED, status = 0xffffffff, extendedError = 0x8b238020

[C674X_0] Channel: Got Event 2

[C674X_0] Channel: isRtpInputTask = TRUE

[C674X_0] Channel: Got Input Data from RTP

[C674X_0] Channel: RingIO RTP in loop

[C674X_0] Channel: RingIO HW out loop

[C674X_0] Decoder-> Processing frame ...

[C674X_0] [t=0x0000000d:0882daf4] [tid=0x1] ti.sdo.ce.speech1.SPHDEC1: [+E] SPHDEC1_process> Enter (handle=0x8b013020, inBuf=0x8b0113fc, outBuf=0x8b011408, inArgs=0x8b011418, outArgs=0x8b011428)

[C674X_0] [t=0x0000000d:0883b3e3] [tid=0x1] ti.sdo.ce.speech1.SPHDEC1: [+X] SPHDEC1_process> Exit (handle=0x8b013020, retVal=0xffffffff)

[C674X_0] Decoder outBufDesc.bufSize = -1962862044

[C674X_0] App-> Decoder frame  processing FAILED, status = 0xffffffff, extendedError = 0x8b238020

[C674X_0] Channel: Got Event 2

[C674X_0] Channel: isRtpInputTask = TRUE

[C674X_0] Channel: Got Input Data from RTP

[C674X_0] Channel: RingIO RTP in loop

[C674X_0] Channel: RingIO HW out loop

[C674X_0] Decoder-> Processing frame ...

[C674X_0] [t=0x0000000d:088812c1] [tid=0x1] ti.sdo.ce.speech1.SPHDEC1: [+E] SPHDEC1_process> Enter (handle=0x8b013020, inBuf=0x8b0113fc, outBuf=0x8b011408, inArgs=0x8b011418, outArgs=0x8b011428)

[C674X_0] [t=0x0000000d:0888ebb1] [tid=0x1] ti.sdo.ce.speech1.SPHDEC1: [+X] SPHDEC1_process> Exit (handle=0x8b013020, retVal=0xffffffff)

[C674X_0] Decoder outBufDesc.bufSize = -1962862044

[C674X_0] App-> Decoder frame  processing FAILED, status = 0xffffffff, extendedError = 0x8b238020

[C674X_0] Channel: Got Event 2

[C674X_0] Channel: isRtpInputTask = TRUE

[C674X_0] Channel: Got Input Data from RTP

[C674X_0] Channel: RingIO RTP in loop

[C674X_0] Channel: RingIO HW out loop

[C674X_0] Decoder-> Processing frame ...

[C674X_0] [t=0x0000000d:088d4799] [tid=0x1] ti.sdo.ce.speech1.SPHDEC1: [+E] SPHDEC1_process> Enter (handle=0x8b013020, inBuf=0x8b0113fc, outBuf=0x8b011408, inArgs=0x8b011418, outArgs=0x8b011428)

[C674X_0] A0=0x0 A1=0x0

[C674X_0] A2=0x0 A3=0x8b011408

[C674X_0] A4=0x8 A5=0x42a

[C674X_0] A6=0x8b011408 A7=0x0

[C674X_0] A8=0x8b011428 A9=0x8b011210

[C674X_0] A10=0xfff8 A11=0x8b011408

[C674X_0] A12=0x8 A13=0x8b0113fc

[C674X_0] A14=0x8b013020 A15=0xffffffff

[C674X_0] A16=0x0 A17=0x0

[C674X_0] A18=0x78 A19=0x64

[C674X_0] A20=0x6c A21=0x4c

[C674X_0] A22=0xff7c A23=0x84

[C674X_0] A24=0xff7c A25=0x0

[C674X_0] A26=0x84ff7c A27=0x84ff7c

[C674X_0] A28=0x84ff7c A29=0x84ff7c

[C674X_0] A30=0x3d08e A31=0x0

[C674X_0] B0=0x1 B1=0x0

[C674X_0] B2=0x0 B3=0x8b241c14

[C674X_0] B4=0x8b0113fc B5=0x2a

[C674X_0] B6=0x8b011418 B7=0x4

[C674X_0] B8=0x50 B9=0x0

[C674X_0] B10=0x8b01138c B11=0x8b011418

[C674X_0] B12=0x0 B13=0x8b011428

[C674X_0] B14=0x8b304400 B15=0x8b011380

[C674X_0] B16=0x8 B17=0x8

[C674X_0] B18=0xa B19=0x78

[C674X_0] B20=0x69 B21=0x0

[C674X_0] B22=0xff7c B23=0x84

[C674X_0] B24=0xff7c B25=0x84

[C674X_0] B26=0x84ff7c B27=0x84ff7c

[C674X_0] B28=0x84ff7c B29=0x0

[C674X_0] B30=0xffffffff B31=0x8b011380

[C674X_0] NTSR=0x1020f

[C674X_0] ITSR=0x20f

[C674X_0] IRP=0x8b28f97a

[C674X_0] SSR=0x0

[C674X_0] AMR=0x0

[C674X_0] RILC=0x0

[C674X_0] ILC=0x0

[C674X_0] Exception at 0x8b0114d8

[C674X_0] EFR=0x3 NRP=0x8b0114d8

[C674X_0] Internal exception: IERR=0x8

[C674X_0] Opcode exception

[C674X_0] [t=0x0000000d:08929f18] [tid=0x1] ti.sysbios.family.c64p.Exception: ERROR: $F$S

[C674X_0] ti.sysbios.family.c64p.Exception: line 248: E_exceptionMin: pc = 0x8b28f97a, sp = 0x8b011380.

[C674X_0] xdc.runtime.Error.raise: terminating execution