<?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: Memory-leaks in ipp dll !!! in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954845#M18976</link>
    <description>Windows XP Professional SP2&lt;BR /&gt;IPP 5.0. (ippcore.dll ver. 5.0.11.63, libguide40.dll ver. 4.0.2005.607)&lt;BR /&gt;Visual Studio 2005&lt;BR /&gt;</description>
    <pubDate>Fri, 04 May 2007 17:52:13 GMT</pubDate>
    <dc:creator>geneus</dc:creator>
    <dc:date>2007-05-04T17:52:13Z</dc:date>
    <item>
      <title>Memory-leaks in ipp dll !!!</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954838#M18969</link>
      <description>hi,&lt;BR /&gt;i have build a dv transcodeur based on a lib which use IPP Dv decoding function. I work on a sigle-processor IA32 old P4(IPP-&amp;gt;W7) and to build i have add all ipp*.lib to my VS'03 project and set W7 in the preprocessing properties of my lib and my exe.&lt;BR /&gt;&lt;BR /&gt;my transcodeur works fine and fast, but in my quality software procedure, i have use boundchecker from Numega to control that my soft was memory-safe. But the Boundcheck report say :&lt;BR /&gt;&lt;BR /&gt;1) Ressource leak in Kernel32 from libguide40.dll&lt;BR /&gt;   * CloseHandle&lt;BR /&gt;   * DeleteCriticalSection&lt;BR /&gt;2) Memory Leak in dll :&lt;BR /&gt;* ippvcw7&lt;BR /&gt;* ippiw7&lt;BR /&gt;* ippvc&lt;BR /&gt;* ippi&lt;BR /&gt;* ippcore&lt;BR /&gt;* libguide40&lt;BR /&gt;&lt;BR /&gt;i use only the following function :&lt;BR /&gt;* ippiInitAllocHuffmanTable_DV_32u&lt;BR /&gt;* ippiFreeHuffmanTable_DV_32u&lt;BR /&gt;* ippiHuffmanDecodeSegment_DV_8u16s&lt;BR /&gt;* ippiQuantInv_DV_16s_C1I&lt;BR /&gt;* ippiDCT8x8Inv_16s_C1I&lt;BR /&gt;* ippiDCT2x4x8Inv_16s_C1I&lt;BR /&gt;&lt;BR /&gt;have you an idea of the leak's source, where they come from ?</description>
      <pubDate>Fri, 30 Dec 2005 17:58:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954838#M18969</guid>
      <dc:creator>abuatnext04</dc:creator>
      <dc:date>2005-12-30T17:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Memory-leaks in ipp dll !!!</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954839#M18970</link>
      <description>We're seeing the same thing. Thread handle leaks as well as memory. In our application, it looks like two thread handles are leaked for every thread created. Coincidentaly, we use two ipp dlls (signal processing and speech coding).&lt;BR /&gt;&lt;BR /&gt;It appears that every single thread created in the application causes (in our case) two thread handles to be leaked. My guess would be that the IPP dlls are processing DLL_THREAD_ATTACH and duplicating the thread handle at that point, but not closing the handle after DLL_THREAD_DETACH. But that's just a guess.&lt;BR /&gt;&lt;BR /&gt;As a test, I modified the usc_speech_codec example to, just before it exits, create 1000 threads on a thread procedure that immediately exits and then pause for a keystroke before exiting. When it gets to the pause, I viewed the process via Process Explorer from &lt;A href="https://community.intel.com/www.sysinternals.com" target="_blank"&gt;www.sysinternals.com&lt;/A&gt; and even though the process only showed a single thread, it showed over 1000 open thread handles.&lt;BR /&gt;&lt;BR /&gt;This bug is particularly nasty because the amount of leakage is totally unrelated to when or how you use ipp. It looks like just being link to ipp and creating and destroying a thread causes one or more handles to leak.</description>
      <pubDate>Tue, 10 Jan 2006 03:34:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954839#M18970</guid>
      <dc:creator>kevino</dc:creator>
      <dc:date>2006-01-10T03:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Memory-leaks in ipp dll !!!</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954840#M18971</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;we were able to reproduce your case (with speech sample). The reason of that is difference in libguide40.dll versions, one which comes with IPP in bin folder and another in your Intel Compiler bin folder. I can recommend you two workaround for that isuue.&lt;/P&gt;
&lt;P&gt;1)you canmodify your system environment path variable toset path to compiler's bin folder before IPP path.&lt;BR /&gt;OR&lt;BR /&gt;2) you can place compiler's libguide40.dll at the same folder where your application is located.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 Jan 2006 04:07:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954840#M18971</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-01-13T04:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Memory-leaks in ipp dll !!!</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954841#M18972</link>
      <description>We are not using the Intel compiler, we're using MS Visual Studio .Net 2003. I've searched the entire system and the only libguide40.dll is file that came with IPP 5.0.&lt;BR /&gt;&lt;BR /&gt;Are you saying that the version of libguide40.dll distributed with IPP 5.0 is wrong or bad and that the correct version is included in the Intel Compiler?</description>
      <pubDate>Mon, 16 Jan 2006 23:31:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954841#M18972</guid>
      <dc:creator>kevino</dc:creator>
      <dc:date>2006-01-16T23:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Memory-leaks in ipp dll !!!</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954842#M18973</link>
      <description>&lt;DIV&gt;It seems that libguide40.dll contains some issue related to threading. Can you link your application with IPP static libraries?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;</description>
      <pubDate>Fri, 20 Jan 2006 03:55:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954842#M18973</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-01-20T03:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Memory-leaks in ipp dll !!!</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954843#M18974</link>
      <description>Have you guys fixed the handle leak? Is there a patch? I'm seeing the same thing as the original poster. Two handles are being leaked every time the ippcore dll loaded.&lt;BR /&gt;&lt;BR /&gt;Here's the stack trace when a handle is created that doesn't get cleaned up (you probably know this already though)&lt;BR /&gt;&lt;BR /&gt;0x03423c4d: libguide40!_kmp_launch_monitor+0x00000215&lt;BR /&gt;0x0341776b: libguide40!_kmp_fork_call+0x00002f1b&lt;BR /&gt;0x03418e39: libguide40!_kmp_fork_call+0x000045e9&lt;BR /&gt;0x03418ad8: libguide40!_kmp_fork_call+0x00004288&lt;BR /&gt;0x034196d9: libguide40!_kmpc_invoke_task_func+0x000006ad&lt;BR /&gt;0x0341a815: libguide40!_kmpc_begin+0x00000011&lt;BR /&gt;0x033f144b: ippcore!ippSetDenormAreZeros+0x0000007b&lt;BR /&gt;0x033f3157: ippcore!ippGetLibVersion+0x00000c37&lt;BR /&gt;0x7c9011a7: ntdll!LdrInitializeThunk+0x00000029&lt;BR /&gt;0x7c918f65: ntdll!CsrNewThread+0x000000eb&lt;BR /&gt;0x7c918dde: ntdll!RtlUnicodeStringToInteger+0x0000017d&lt;BR /&gt;0x7c90eac7: ntdll!KiUserApcDispatcher+0x00000007&lt;BR /&gt;</description>
      <pubDate>Fri, 04 May 2007 15:16:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954843#M18974</guid>
      <dc:creator>geneus</dc:creator>
      <dc:date>2007-05-04T15:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Memory-leaks in ipp dll !!!</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954844#M18975</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;could you please specify OS, version of IPP and compiler you use?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2007 15:42:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954844#M18975</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2007-05-04T15:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Memory-leaks in ipp dll !!!</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954845#M18976</link>
      <description>Windows XP Professional SP2&lt;BR /&gt;IPP 5.0. (ippcore.dll ver. 5.0.11.63, libguide40.dll ver. 4.0.2005.607)&lt;BR /&gt;Visual Studio 2005&lt;BR /&gt;</description>
      <pubDate>Fri, 04 May 2007 17:52:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954845#M18976</guid>
      <dc:creator>geneus</dc:creator>
      <dc:date>2007-05-04T17:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Memory-leaks in ipp dll !!!</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954846#M18977</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;that's known issue (related to libguide library) which was detected on IPP v5.0 and was fixed in IPP v5.1.&lt;/P&gt;
&lt;P&gt;Note, the latest version of IPP is 5.2 beta and IPP 5.2 final release is just coming soon (expected sometime in the end of Q2'07).&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2007 18:07:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954846#M18977</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2007-05-04T18:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Memory-leaks in ipp dll !!!</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954847#M18978</link>
      <description>I got the same trouble with IPP5.3.&lt;BR /&gt;&lt;BR /&gt;As long as VBA creats an object from my COM DLL which was compiled by intel compiler, I see a memory loss almost 22MB immediately when createobject() function being called. &lt;BR /&gt;This only happens the first time I create an object from my dll. When I repeatly call my functions, there are no more leaks.&lt;BR /&gt;&lt;BR /&gt;I got this trouble only after I migrate my compiler from VC7.1 to IPP5.3.&lt;BR /&gt;&lt;BR /&gt;Is this due to handle leak? Could you provide me a way to eliminate it? If I cannot solve this problem then I will have to migrate back to VC compiler which I am very unhappy to do.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Kai&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Apr 2008 16:25:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leaks-in-ipp-dll/m-p/954847#M18978</guid>
      <dc:creator>kaikailiu</dc:creator>
      <dc:date>2008-04-29T16:25:37Z</dc:date>
    </item>
  </channel>
</rss>

