<?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: ippiFree static - atexit Access violation in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFree-static-atexit-Access-violation/m-p/912808#M14459</link>
    <description>&lt;P&gt;Hi Thomas,&lt;/P&gt;
&lt;P&gt;I do not think this problem exist for non express edition of VC2005&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
    <pubDate>Thu, 12 Oct 2006 17:22:12 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2006-10-12T17:22:12Z</dc:date>
    <item>
      <title>ippiFree static - atexit Access violation</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFree-static-atexit-Access-violation/m-p/912805#M14456</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Probably a very basic problem..&lt;BR /&gt;
&lt;BR /&gt;
I have an Image class using Ippi. When I use a static object of my
Image class in some Dos application and close the Ms Dos Shell window,
my application crash (Access violation reading) on ippiFree function
witch come in the Image destructor, called by the 'dynamic atexit
destructor'.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for help.&lt;BR /&gt;
Tom.&lt;BR /&gt;
&lt;BR /&gt;
This code reproduces the case:&lt;BR /&gt;
/**************************************************************/&lt;BR /&gt;
#include &lt;IPPI.H&gt;&lt;BR /&gt;
class myImage&lt;BR /&gt;
{&lt;BR /&gt;
public:&lt;BR /&gt;
 myImage(){&lt;BR /&gt;
  int lLineStep;&lt;BR /&gt;
  mPixels = (char*) ippiMalloc_8u_C1(256, 256, &amp;amp;lLineStep);&lt;BR /&gt;
 };&lt;BR /&gt;
&lt;BR /&gt;
 ~myImage(){&lt;BR /&gt;
  if(mPixels != 0){&lt;BR /&gt;
   ippiFree(mPixels);&lt;BR /&gt;
  }&lt;BR /&gt;
 }&lt;BR /&gt;
private:&lt;BR /&gt;
 char* mPixels;&lt;BR /&gt;
};&lt;BR /&gt;
&lt;BR /&gt;
static myImage gImage;&lt;BR /&gt;
&lt;BR /&gt;
int main()&lt;BR /&gt;
{&lt;BR /&gt;
 while(true);&lt;BR /&gt;
}&lt;BR /&gt;
/**************************************************************/&lt;BR /&gt;
(Building on Windows XP Visual Express 2005  Ippi version v3.0 Glod)&lt;BR /&gt;
&lt;BR /&gt;&lt;/IPPI.H&gt;</description>
      <pubDate>Wed, 30 Aug 2006 21:11:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFree-static-atexit-Access-violation/m-p/912805#M14456</guid>
      <dc:creator>to753</dc:creator>
      <dc:date>2006-08-30T21:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: ippiFree static - atexit Access violation</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFree-static-atexit-Access-violation/m-p/912806#M14457</link>
      <description>&lt;P&gt;Hello, I've tried your code with IPP v5.1.1 and MS .NET 2003 - it works. Might be there are some limitations of VC 2005 Express?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2006 02:20:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFree-static-atexit-Access-violation/m-p/912806#M14457</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-09-15T02:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: ippiFree static - atexit Access violation</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFree-static-atexit-Access-violation/m-p/912807#M14458</link>
      <description>Hi!&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your answer!&lt;BR /&gt;
Finally I fund that it's depend on the "Runtime Library" configuration..&lt;BR /&gt;
Using MS .Net 2003 it's work for all configurations "multithread dll", "multithread"etc.&lt;BR /&gt;
But with VC 2005 Express, it's only wok with the "multithread" setting and not with "multithread dll"...&lt;BR /&gt;
Strange..&lt;BR /&gt;
&lt;BR /&gt;
Do you think that the problem persist with VC 2005 (not the express edition)?&lt;BR /&gt;
Ragards,&lt;BR /&gt;
 Thomas&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Sep 2006 23:35:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFree-static-atexit-Access-violation/m-p/912807#M14458</guid>
      <dc:creator>to753</dc:creator>
      <dc:date>2006-09-25T23:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: ippiFree static - atexit Access violation</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFree-static-atexit-Access-violation/m-p/912808#M14459</link>
      <description>&lt;P&gt;Hi Thomas,&lt;/P&gt;
&lt;P&gt;I do not think this problem exist for non express edition of VC2005&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2006 17:22:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFree-static-atexit-Access-violation/m-p/912808#M14459</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-10-12T17:22:12Z</dc:date>
    </item>
  </channel>
</rss>

