Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Jacky_C_2
Beginner
31 Views

AMRNB decode crash

Hi,

I am using the IPP 8.2.3 speech coding lib and USC interface for AMRNB decoder. The decode process crashed.

Here is the gdb infos.

bt

#0  0x000000000069593d in apiGSMAMRDecode ()
#1  0x000000000068800e in Decode ()
#2  0x00000000005fd820 in m_amrnb_dec ()
#3  0x00000000005a489d in execute_ingress_decoder ()
#4  0x00000000005a3ae9 in ingress_process_event ()
#5  0x00000000005a39b9 in uph_speech_ingress_data_event ()
#6  0x00000000005995d6 in uph_speech ()
#7  0x000000000059183c in fw_uph ()
#8  0x000000000065491a in dispatch_events ()
#9  0x0000000000653d1a in termination_process ()
#10 0x00000000006524c7 in slave_process ()
#11 0x0000000000652276 in master_process ()
#12 0x0000000000402276 in odo_process_entry ()
#13 0x000000000040188e in arch_setup_context ()
#14 0x0000000000000000 in ?? ()

disas

   0x000000000069586c <+3052>:	punpckhwd %xmm4,%xmm5
   0x0000000000695870 <+3056>:	movdqa %xmm1,%xmm4
   0x0000000000695874 <+3060>:	punpcklwd %xmm5,%xmm1
   0x0000000000695878 <+3064>:	punpckhwd %xmm5,%xmm4
   0x000000000069587c <+3068>:	punpcklwd %xmm4,%xmm1
   0x0000000000695880 <+3072>:	movdqu 0x10(%rdi),%xmm4
   0x0000000000695885 <+3077>:	pcmpgtw %xmm4,%xmm6
   0x0000000000695889 <+3081>:	movdqa %xmm4,%xmm5
=> 0x000000000069588d <+3085>:	movaps %xmm1,0x220(%rsp)
   0x0000000000695895 <+3093>:	punpcklwd %xmm6,%xmm5
   0x0000000000695899 <+3097>:	punpckhwd %xmm6,%xmm4
   0x000000000069589d <+3101>:	movdqa %xmm3,%xmm6
   0x00000000006958a1 <+3105>:	movdqa %xmm5,%xmm1
   0x00000000006958a5 <+3109>:	psrlq  $0x20,%xmm5
   0x00000000006958aa <+3114>:	pmuludq %xmm2,%xmm5
   0x00000000006958ae <+3118>:	pshufd $0x8,%xmm5,%xmm5

I checked the memory bank allocation, all memory were allocated normally. How can I troubleshoot it? 

0 Kudos
2 Replies
Chao_Y_Intel
Employee
31 Views

Jacky, 

Are you doing some evaluation on the IPP legacy speech codec samples, or were they used in your project before?  You may notice,  the speech codec and the high level USC sample code was deprecated before.   please check if the deprecated code may meet your request. 

For the error, the apiGSMAMRDecode()functions is in the USC source code of the legacy sample code. Did you add some debug option to build these source code, and see if it can debug form the source on see where the code reports crash.

Thanks,
Chao

Jacky_C_2
Beginner
31 Views

Hi Chao,

Thanks for your reply! 

Yes, I never used it in the project before. I just installed the IPP product and got the binary libs from the installation directory. Without the source code, it's hard to add debug info in that function. I checked from the high level invoking, seemed nothing abnormal.

Does it effect if I am using the legacy samples? But I notice from the release note. In IPP 8.2, these speech coding samples were just deprecated, not total removed. Is there any difference from it was been deprecated?