<?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 Re: ippsFFTFwd access violation in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFFTFwd-access-violation/m-p/902607#M12971</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Zero size is valid for that function. Please pay attention that you trying to call FFT for order 13 but providing only 4096 elements buffer.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
    <pubDate>Mon, 06 Nov 2006 21:51:32 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2006-11-06T21:51:32Z</dc:date>
    <item>
      <title>ippsFFTFwd access violation</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFFTFwd-access-violation/m-p/902605#M12969</link>
      <description>Getting the following access violation when executing the ippsFFTFwd_RToPack_64f_I command:&lt;BR /&gt;&lt;BR /&gt;0xC0000005: Access violation writing location 0x00000000.&lt;BR /&gt;&lt;BR /&gt;Here's the relevant snippits from my code:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&lt;PRE&gt; IppsFFTSpec_R_64f * mIppFFTSpecP;&lt;/PRE&gt; UInt8 * mIppWorkBufferP;&lt;BR /&gt; double *fftBuffer1 = new double[4096];&lt;BR /&gt;    int fftOrder = 13; &lt;BR /&gt; result = ippSetNumThreads(1);  // Multithreading needs to be turned off for my purposes&lt;BR /&gt; result = ippsFFTInitAlloc_R_64f(&lt;BR /&gt;       &amp;amp;mIppFFTSpecP,    &lt;BR /&gt;       fftOrder,&lt;BR /&gt;       IPP_FFT_DIV_FWD_BY_N, &lt;BR /&gt;       ippAlgHintNone);  &lt;BR /&gt; int ippFftWorkBufferSize = 0;&lt;BR /&gt; result = ippsFFTGetBufSize_R_64f(&lt;BR /&gt;      mIppFFTSpecP, &lt;BR /&gt;      &amp;amp;ippFftWorkBufferSize);&lt;BR /&gt; mIppWorkBufferP = new UInt8[ippFftWorkBufferSize];&lt;BR /&gt; result = ippsFFTFwd_RToPack_64f_I(&lt;BR /&gt;       fftBuffer1,&lt;BR /&gt;       mIppFFTSpecP,     &lt;BR /&gt;       mIppWorkBufferP);  &lt;BR /&gt;&lt;BR /&gt;Any suggestions?
&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Nov 2006 07:26:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFFTFwd-access-violation/m-p/902605#M12969</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2006-11-03T07:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: ippsFFTFwd access violation</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFFTFwd-access-violation/m-p/902606#M12970</link>
      <description>I've found another problem in this code:&lt;BR /&gt;&lt;BR /&gt;When I call ippsFFTGetBufSize, the value of ippFftWorkBufferSize remains 0. What would cause an invalid value to be returned?&lt;BR /&gt;&lt;BR /&gt;result = ippsFFTGetBufSize_R_64f(&lt;BR /&gt;      mIppFFTSpecP, &lt;BR /&gt;      &amp;amp;ippFftWorkBufferSize);&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Nov 2006 07:54:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFFTFwd-access-violation/m-p/902606#M12970</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2006-11-03T07:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: ippsFFTFwd access violation</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFFTFwd-access-violation/m-p/902607#M12971</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Zero size is valid for that function. Please pay attention that you trying to call FFT for order 13 but providing only 4096 elements buffer.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2006 21:51:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFFTFwd-access-violation/m-p/902607#M12971</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-11-06T21:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: ippsFFTFwd access violation</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFFTFwd-access-violation/m-p/902608#M12972</link>
      <description>Thank you for your response, Vladimir -&lt;BR /&gt;&lt;BR /&gt;I had a typo in my previous post. I am indeed using an order of 12. &lt;BR /&gt;&lt;BR /&gt;I have tested the code with a statically-linked version of IPP 4.0, and everything works fine without any exception errors at all. (Replacing the in-place FFT call with the IPP 4.0 equivalent, of course). &lt;BR /&gt;&lt;BR /&gt;Is there any possible reason that, in a large multi-threaded application, the dynamically-linked IPP 5.1 code will generate exceptions when statically-linked IPP 4.0 code will succeed? I have tried disabling IPP multithreading by setting ippSetNumThreads(1), like the Tips documentation suggests, but it does not help.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ryan&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Nov 2006 02:58:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFFTFwd-access-violation/m-p/902608#M12972</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2006-11-07T02:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: ippsFFTFwd access violation</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFFTFwd-access-violation/m-p/902609#M12973</link>
      <description>Some more info on this problem:&lt;BR /&gt;&lt;BR /&gt;I am getting access violations in both the FFTFwd and FFTInv routines. Here is some debug dump info:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;FFTFwd:&lt;/PRE&gt;&lt;PRE&gt;-------&lt;/PRE&gt;&lt;PRE&gt;First-chance exception at 0x7c9111de in ProTools.exe: 0xC0000005: Access violation reading location 0x3c7068da.&lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;(Address 0x7c9111de is in ntdll.dll)&lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;EAX = 3C7068DA EBX = 17E20000 ECX = 17E23D78 EDX = 17E20378 ESI = 17E23D70 EDI = 9A2B23D9 EIP = 7C9111DE ESP = 1C79EBFC EBP = 1C79EE1C EFL = 00010202 &lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;..&lt;/PRE&gt;&lt;PRE&gt;7C9111C4 sub esi,8 &lt;/PRE&gt;&lt;PRE&gt;7C9111C7 mov dword ptr [ebp-38h],esi &lt;/PRE&gt;&lt;PRE&gt;7C9111CA lea ecx,[esi+8] &lt;/PRE&gt;&lt;PRE&gt;7C9111CD mov edi,dword ptr [ecx] &lt;/PRE&gt;&lt;PRE&gt;7C9111CF mov dword ptr [ebp-0F4h],edi &lt;/PRE&gt;&lt;PRE&gt;7C9111D5 mov eax,dword ptr [esi+0Ch] &lt;/PRE&gt;&lt;PRE&gt;7C9111D8 mov dword ptr [ebp-98h],eax &lt;/PRE&gt;&lt;PRE&gt;7C9111DE mov edx,dword ptr [eax]  &amp;lt;---- Breaks here&lt;/PRE&gt;&lt;PRE&gt;7C9111E0 cmp edx,dword ptr [edi+4] &lt;/PRE&gt;&lt;PRE&gt;..&lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;FFTInv:&lt;/PRE&gt;&lt;PRE&gt;-------&lt;/PRE&gt;&lt;PRE&gt;First-chance exception at 0x17d39f0b in ProTools.exe: 0xC0000005: Access violation reading location 0x00000000.&lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;EAX = 00000800 EBX = 192723E0 ECX = 192763E0 EDX = 00000000 ESI = 192723E0 EDI = 1927A3E0 EIP = 17D39F0B ESP = 1C79EE58 EBP = 1927A3E0 EFL = 00000206 &lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;(Address 0x17d39f0b is in ippsv8-5.1.dll)&lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;17D39EE6 movsd xmm4,mmword ptr [edi-8] &lt;/PRE&gt;&lt;PRE&gt;17D39EEB movsd xmm7,mmword ptr [edi-18h] &lt;/PRE&gt;&lt;PRE&gt;17D39EF0 movlhps xmm4,xmm7 &lt;/PRE&gt;&lt;PRE&gt;17D39EF3 movapd xmm2,xmm0 &lt;/PRE&gt;&lt;PRE&gt;17D39EF7 subpd xmm0,xmm3 &lt;/PRE&gt;&lt;PRE&gt;17D39EFB addpd xmm2,xmm3 &lt;/PRE&gt;&lt;PRE&gt;17D39EFF movapd xmm5,xmm1 &lt;/PRE&gt;&lt;PRE&gt;17D39F03 addpd xmm5,xmm4 &lt;/PRE&gt;&lt;PRE&gt;17D39F07 subpd xmm1,xmm4 &lt;/PRE&gt;&lt;PRE&gt;17D39F0B movapd xmm6,xmmword ptr [edx]  &amp;lt;---- Breaks here&lt;/PRE&gt;&lt;PRE&gt;17D39F0F mulpd xmm6,xmm0 &lt;/PRE&gt;&lt;PRE&gt;17D39F13 movapd xmm7,xmmword ptr [edx+10h] &lt;/PRE&gt;&lt;PRE&gt;17D39F18 mulpd xmm0,xmm7 &lt;/PRE&gt;&lt;PRE&gt;17D39F1C mulpd xmm7,xmm5 &lt;/PRE&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Nov 2006 07:06:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFFTFwd-access-violation/m-p/902609#M12973</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2006-11-07T07:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: ippsFFTFwd access violation</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFFTFwd-access-violation/m-p/902610#M12974</link>
      <description>OK, I found out the cause of this problem.&lt;BR /&gt;&lt;BR /&gt;In the application that was using the IPP functions, we are also using a third-party library that contains IPP code. The IPP code linked in the 3rd-party library is an older version, which for some reason is confusing the IPPCore dispatcher. We're currently working on ways in which we can include both libraries without conflict.&lt;BR /&gt;&lt;BR /&gt;-Ryan&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Nov 2006 07:54:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFFTFwd-access-violation/m-p/902610#M12974</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2006-11-08T07:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: ippsFFTFwd access violation</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFFTFwd-access-violation/m-p/902611#M12975</link>
      <description>&lt;P&gt;Hi Ryan,&lt;/P&gt;
&lt;P&gt;that's great you find solution!&lt;/P&gt;
&lt;P&gt;By the way, could youshare the name of third party component which also use IPP?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2006 01:26:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsFFTFwd-access-violation/m-p/902611#M12975</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-11-17T01:26:01Z</dc:date>
    </item>
  </channel>
</rss>

