Hello,
I have problem releasing H.264 HP decoder when it is initialized in multi-core mode. Master decoder hangs and slave decoder crashes when it comes to the following code:
memTab[0].base = alg;
n = fxns->algFree(alg, memTab);
Crash error from slave encoder:
A0=0x18b89a0 A1=0x0
A2=0x1 A3=0x83b4a0
A4=0x83d900 A5=0x1848030
A6=0x614100 A7=0x0
A8=0x1 A9=0x2000
A10=0x0 A11=0x83d6c8
A12=0xc3dde80 A13=0xc2ee3e8
A14=0x0 A15=0x0
A16=0x83d850 A17=0x18
A18=0x200 A19=0x206
A20=0x204 A21=0x8021d0
A22=0x2e A23=0x40
A24=0xffd0280 A25=0x1
A26=0xc3148f8 A27=0xc314908
A28=0xc314880 A29=0x4
A30=0x11 A31=0xc3e1e80
B0=0x0 B1=0x0
B2=0x0 B3=0xc30f098
B4=0x8092cd00 B5=0xc3dde80
B6=0x1844018 B7=0xc3e1e80
B8=0x1000 B9=0x86e728
B10=0xc3dce88 B11=0xc3dbe80
B12=0xc3dfe80 B13=0x0
B14=0x86f0a0 B15=0x83fd00
B16=0x69746361 B17=0x65746176
B18=0x80227c B19=0x80227a
B20=0x802278 B21=0x802270
B22=0xf28 B23=0xf04
B24=0xf3c B25=0xfd8
B26=0xf64 B27=0xf5c
B28=0xf44 B29=0x8683c4
B30=0x8683b8 B31=0x0
NTSR=0x1420f
ITSR=0x20f
IRP=0xc2fac7a
SSR=0x0
AMR=0x0
RILC=0x0
ILC=0x0
Exception at 0x83b514
EFR=0x2 NRP=0x83b514
Internal exception: IERR=0x8
Opcode exception
[t=0x1a704566] ti.sysbios.family.c64p.Exception: ERROR: line 255: E_exceptionMin: pc = 0x0083b514, sp = 0x0083fd00.
To see more exception detail, use ROV or set 'ti.sysbios.family.c64p.Exception.enablePrint = true;'
ti.sysbios.family.c64p.Exception: line 255: E_exceptionMin: pc = 0x0083b514, sp = 0x0083fd00.
To see more exception detail, use ROV or set 'ti.sysbios.family.c64p.Exception.enablePrint = true;'
xdc.runtime.Error.raise: terminating execution
The same code for single-core H.264 HP decoder works good. Also I use the same code\approach to create and release many other single and multi core algorithms (encoders and decoders) within application without any issues. It makes me believe that the problem is in the decoder itself.
Regards,
Andrey Lisnevich