<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Bug in umc_speech_RTP_codec sample. in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777169#M1218</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dear Ying,&lt;/P&gt;&lt;P&gt;thanks for your answer, let me know if you can test those attached files.&lt;/P&gt;&lt;P&gt;soundyes.rtp -&amp;gt; works&lt;/P&gt;&lt;P&gt;souundno.rtp -&amp;gt; crashes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx!&lt;/P&gt;&lt;P&gt;microintel99&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Aug 2012 09:59:14 GMT</pubDate>
    <dc:creator>Pippo_Pippo</dc:creator>
    <dc:date>2012-08-07T09:59:14Z</dc:date>
    <item>
      <title>Bug in umc_speech_RTP_codec sample.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777165#M1214</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I found a bug in umc_speech_RTP_codec sample compiled with IPP 7.0 and Microsoft Visual Studio 10.&lt;/P&gt;
&lt;P&gt;I tried to decode a rtp sample (perfectly decoded with pcap2wav tool at &lt;A href="http://pcap2wav.xplico.org)" target="_blank"&gt;http://pcap2wav.xplico.org)&lt;/A&gt; but the umc_speech_RTP_codec.exe application crashes at packet number 18747 (the last in the sample)&lt;/P&gt;
&lt;P&gt;The bugged DLL seems to be ippsp8-7.0.dll.&lt;/P&gt;
&lt;P&gt;I made some experiments with different samples and often this crash happens so I can say this application is not reliable now.&lt;/P&gt;
&lt;P&gt;The bug seems not related to a specific packet because if you try to decode last packets in the sample you don't obtain the crash. It seems a memory leak in the dll that cause the crash when it reaches some particular conditions.&lt;/P&gt;
&lt;P&gt;The command used is:&lt;/P&gt;
&lt;P&gt;[bash]umc_speech_rtp_codec -r18000 -format IPP_MSRTAwb_FP soundno.rtp soundno.wav[/bash]&lt;/P&gt;
&lt;P&gt;Hint: if you discard the last packet the application works correctly, but last packet it's not bugged in any way: soundno.rtp doesn't work, soundyes.rtp works correctly (last packet cut).&lt;/P&gt;
&lt;P&gt;Can you check please the attached sample ?&lt;/P&gt;
&lt;P&gt;A second issue I noted in correctly decoded samples (like attached soundyes.rtp) is the added comfort noise during silences. This tone is really annoying (tooloud) and is really a "discomfort noise".&lt;/P&gt;
&lt;P&gt;Any way to modify in the source code the volumeof the comfort noise?&lt;BR /&gt;&lt;BR /&gt;Thx a lot!&lt;/P&gt;
&lt;P&gt;microintel99&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2012 17:16:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777165#M1214</guid>
      <dc:creator>Pippo_Pippo</dc:creator>
      <dc:date>2012-07-30T17:16:23Z</dc:date>
    </item>
    <item>
      <title>Bug in umc_speech_RTP_codec sample.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777166#M1215</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can add more debug info about the crash:&lt;/P&gt;&lt;P&gt;Exception at 0x022092bb in umc_speech_rtp_codec.exe:&lt;/P&gt;&lt;P&gt;0xC0000005: unhandled exception access violation 0x026cd000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody can test umc_speech_rtp_codec sample with attached .rtp?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx a lot&lt;/P&gt;&lt;P&gt;microintel99&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2012 08:41:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777166#M1215</guid>
      <dc:creator>Pippo_Pippo</dc:creator>
      <dc:date>2012-07-31T08:41:54Z</dc:date>
    </item>
    <item>
      <title>Bug in umc_speech_RTP_codec sample.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777167#M1216</link>
      <description>&lt;P&gt;Followup..&lt;/P&gt;
&lt;P&gt;I tried to compile umc_speech_rtp_codec version 6.x and IPP 6.x (32bit version).&lt;/P&gt;
&lt;P&gt;In this case you need to specify also the frequency:&lt;/P&gt;
&lt;P&gt;[bash]umc_speech_rtp_codec -f16000 -r18000 -format IPP_MSRTA_FP soundno.rtp soundno.wav[/bash]&lt;/P&gt;
&lt;P&gt;The application crashes in similar way as IPP 7.x (it behave correctly with soundyes.rtp sample instead)&lt;/P&gt;
&lt;P&gt;It seems that the issue pertains lockout procedures in multithreading.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;So again, the IPP 6.x and IPP 7.x frameworks seems to have a serious flaw with attached sample soundno.rtp.&lt;/P&gt;
&lt;P&gt;Is it possible to open a ticket to reproduce and debug this?&lt;/P&gt;
&lt;P&gt;Thx&lt;/P&gt;
&lt;P&gt;microintel99&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2012 12:40:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777167#M1216</guid>
      <dc:creator>Pippo_Pippo</dc:creator>
      <dc:date>2012-08-06T12:40:00Z</dc:date>
    </item>
    <item>
      <title>Bug in umc_speech_RTP_codec sample.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777168#M1217</link>
      <description>Hi Microintel99, &lt;BR /&gt;&lt;BR /&gt;Thanks a lot for the reports. But we can't see the attatched files. Could you please attachthem again?&lt;BR /&gt;When you reply the message, you will see a Button "Add Files", where you can add a zip file to your post. &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ying</description>
      <pubDate>Tue, 07 Aug 2012 06:13:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777168#M1217</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2012-08-07T06:13:03Z</dc:date>
    </item>
    <item>
      <title>Bug in umc_speech_RTP_codec sample.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777169#M1218</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dear Ying,&lt;/P&gt;&lt;P&gt;thanks for your answer, let me know if you can test those attached files.&lt;/P&gt;&lt;P&gt;soundyes.rtp -&amp;gt; works&lt;/P&gt;&lt;P&gt;souundno.rtp -&amp;gt; crashes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx!&lt;/P&gt;&lt;P&gt;microintel99&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2012 09:59:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777169#M1218</guid>
      <dc:creator>Pippo_Pippo</dc:creator>
      <dc:date>2012-08-07T09:59:14Z</dc:date>
    </item>
    <item>
      <title>Bug in umc_speech_RTP_codec sample.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777170#M1219</link>
      <description>Dear Microintel99, &lt;BR /&gt;&lt;BR /&gt;thanks much. I got the files and be able to reproduce the problem as you reported. I have escalated it to USC team for further check. I will keep you update if any news. &lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying</description>
      <pubDate>Thu, 09 Aug 2012 06:46:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777170#M1219</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2012-08-09T06:46:10Z</dc:date>
    </item>
    <item>
      <title>Bug in umc_speech_RTP_codec sample.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777171#M1220</link>
      <description>Hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Could you try the following (may be it's just a workaround, needs additional investigation)?&lt;/DIV&gt;&lt;DIV&gt;In the file &lt;B&gt;umc_speech_rtp_codec/src/timedplayer.cpp @ line 130&lt;/B&gt; improve condition check:&lt;/DIV&gt;&lt;DIV&gt;[cpp]        if(m_pParams-&amp;gt;m_pTimer-&amp;gt;isTime() &amp;amp;&amp;amp; pcktSize &amp;lt; inMediaBuffer.GetDataSize()) {
[/cpp] instead of simple if(...isTime()).&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;It must work.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The question about files attached: is it true that provided RTP files are produced from corresponding CAP files?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Sergey&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 Aug 2012 10:24:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777171#M1220</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2012-08-10T10:24:06Z</dc:date>
    </item>
    <item>
      <title>Bug in umc_speech_RTP_codec sample.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777172#M1221</link>
      <description>&lt;P&gt;Dear Sergey,&lt;/P&gt;
&lt;P&gt;the workaround works for that sample but doesn't seems conclusive.&lt;/P&gt;
&lt;P&gt;Please try this other sample in attach, it crashes in the same way.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;The question about files attached: is it true that provided RTP files are produced from corresponding CAP files?&lt;/P&gt;
&lt;P&gt;Correct. To obtain rtp files you can use Wireshark loading .cap:&lt;/P&gt;
&lt;P&gt;-Analyze/DecodeAs/RTP&lt;BR /&gt;-Telephony/RTP/Show_all_streams/SaveAs .rtp&lt;/P&gt;
&lt;P&gt;Hope crash.rtp can give you more hints about these anomalous crashes.&lt;/P&gt;
&lt;P&gt;Thx a lot!&lt;/P&gt;
&lt;P&gt;microintel99&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2012 13:50:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777172#M1221</guid>
      <dc:creator>Pippo_Pippo</dc:creator>
      <dc:date>2012-08-10T13:50:00Z</dc:date>
    </item>
    <item>
      <title>Bug in umc_speech_RTP_codec sample.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777173#M1222</link>
      <description>&lt;P&gt;Hi Sergej,&lt;/P&gt;
&lt;P&gt;I tried with IPP 6.x too, same behaviour as IPP 7.x.&lt;/P&gt;
&lt;P&gt;I added a printf before the check:&lt;/P&gt;
&lt;P&gt;[cpp]printf("packetsize %d, buffer %d\n",pcktSize,inMediaBuffer.GetDataSize());[/cpp]&lt;/P&gt;
&lt;P&gt;The following are last packets before the crash:&lt;/P&gt;
&lt;P&gt;[plain]packetsize 25600, buffer 1144316&lt;BR /&gt;packetsize 100, buffer 1144316&lt;BR /&gt;packetsize 25600, buffer 1144316&lt;BR /&gt;packetsize 100, buffer 1144316&lt;BR /&gt;packetsize 99, buffer 1144208&lt;BR /&gt;packetsize 90, buffer 1144101&lt;BR /&gt;packetsize 23040, buffer 1144101&lt;BR /&gt;packetsize 90, buffer 1144101&lt;BR /&gt;packetsize 90, buffer 1144003&lt;BR /&gt;packetsize 90, buffer 1143905&lt;BR /&gt;packetsize 23040, buffer 1143905&lt;BR /&gt;packetsize 90, buffer 1143905&lt;BR /&gt;packetsize 90, buffer 1143807&lt;BR /&gt;packetsize 98, buffer 1143709&lt;BR /&gt;packetsize 102, buffer 1143603&lt;BR /&gt;packetsize 26112, buffer 1143603&lt;BR /&gt;packetsize 102, buffer 1143603&lt;BR /&gt;packetsize 76, buffer 1143493&lt;BR /&gt;packetsize 19456, buffer 1143493&lt;BR /&gt;packetsize 76, buffer 1143493&lt;BR /&gt;packetsize 77, buffer 1143409&lt;BR /&gt;packetsize 19712, buffer 1143409[/plain]&lt;/P&gt;
&lt;P&gt;packetsize values are anomalous, I can't justify those big values (19712, 19456, 26112..)&lt;/P&gt;
&lt;P&gt;I see those strange numbers also for other samples (soundyes.rtp, soundno.rtp).&lt;/P&gt;
&lt;P&gt;It appears a tricky bug...&lt;/P&gt;
&lt;P&gt;Let me now thx!&lt;/P&gt;
&lt;P&gt;microintel99&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2012 16:38:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777173#M1222</guid>
      <dc:creator>Pippo_Pippo</dc:creator>
      <dc:date>2012-08-10T16:38:00Z</dc:date>
    </item>
    <item>
      <title>Bug in umc_speech_RTP_codec sample.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777174#M1223</link>
      <description>Hi,&lt;BR /&gt;any update about this IPP framework bug?&lt;BR /&gt;&lt;BR /&gt;thx&lt;BR /&gt;microintel99</description>
      <pubDate>Wed, 15 Aug 2012 20:17:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777174#M1223</guid>
      <dc:creator>Pippo_Pippo</dc:creator>
      <dc:date>2012-08-15T20:17:39Z</dc:date>
    </item>
    <item>
      <title>Hi Microintel99,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777175#M1224</link>
      <description>Hi Microintel99, 

May you please try this?

Function SampleTimer::IsTime (speech-codecs\application\umc_speech_rtp_codec\src\timer.cpp) should be:
int SampleTimer::isTime()
{
   if(m_CurrTime &amp;lt;= m_nextTime) {
      return 1;
   }
   return 0;
}

Function  RTP_Packet::GetPayloadDataPointer(void) (speech-codecs\codec\speech_rtp\src\umc_rtp_packet.cpp(150))
   void *RTP_Packet::GetPayloadDataPointer(void)
   {
      return (void *)((Ipp8s*)m_pDataPointer+(sizeof(sRTP_Header)+(m_Header-&amp;gt;cc * sizeof(Ipp32u))));
   }

Regards,
Ying</description>
      <pubDate>Thu, 20 Sep 2012 02:02:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-umc-speech-RTP-codec-sample/m-p/777175#M1224</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2012-09-20T02:02:18Z</dc:date>
    </item>
  </channel>
</rss>

