<?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 IPP and OpenCV crashing. in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-and-OpenCV-crashing/m-p/995274#M22855</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We're are working on an application that will do some real-time image processing using OpenCV.  It works fine with OpenCV, but then I installed IPP and every call to an OpenCV functions causes the program to crash.  &lt;BR /&gt;&lt;BR /&gt;I have the latest OpenCV, and the latest evaluation version of IPP on Windows XP SP2, on an Intel P4 1.7GHz.&lt;BR /&gt;&lt;BR /&gt;The error signature given by the windows crash handler is:&lt;BR /&gt;AppName: opencvtest.exe	 AppVer: 0.0.0.0	 ModName: ippcvw7.dll&lt;BR /&gt;ModVer: 4.1.10.72	 Offset: 0004e4c8&lt;BR /&gt;&lt;BR /&gt;The debugger says: Unhandled exception in OpenCVTest.exe (IPPCVW7.DLL): 0xC0000005: Access Violation&lt;BR /&gt;&lt;BR /&gt;Anyone know what the problem could be?  &lt;BR /&gt;It crashes on the line: &lt;BR /&gt;cvMinMaxLoc(img2, &amp;amp;minValue, &amp;amp;maxValue);&lt;BR /&gt;&lt;BR /&gt;It seems to crash on most cv functions, not specifically that one.&lt;BR /&gt;But the OpenCV code is not the problem, since it runs fine without IPP installed.&lt;BR /&gt;&lt;BR /&gt;Any help is greatly appreciated.</description>
    <pubDate>Fri, 18 Feb 2005 03:42:53 GMT</pubDate>
    <dc:creator>leos</dc:creator>
    <dc:date>2005-02-18T03:42:53Z</dc:date>
    <item>
      <title>IPP and OpenCV crashing.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-and-OpenCV-crashing/m-p/995274#M22855</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We're are working on an application that will do some real-time image processing using OpenCV.  It works fine with OpenCV, but then I installed IPP and every call to an OpenCV functions causes the program to crash.  &lt;BR /&gt;&lt;BR /&gt;I have the latest OpenCV, and the latest evaluation version of IPP on Windows XP SP2, on an Intel P4 1.7GHz.&lt;BR /&gt;&lt;BR /&gt;The error signature given by the windows crash handler is:&lt;BR /&gt;AppName: opencvtest.exe	 AppVer: 0.0.0.0	 ModName: ippcvw7.dll&lt;BR /&gt;ModVer: 4.1.10.72	 Offset: 0004e4c8&lt;BR /&gt;&lt;BR /&gt;The debugger says: Unhandled exception in OpenCVTest.exe (IPPCVW7.DLL): 0xC0000005: Access Violation&lt;BR /&gt;&lt;BR /&gt;Anyone know what the problem could be?  &lt;BR /&gt;It crashes on the line: &lt;BR /&gt;cvMinMaxLoc(img2, &amp;amp;minValue, &amp;amp;maxValue);&lt;BR /&gt;&lt;BR /&gt;It seems to crash on most cv functions, not specifically that one.&lt;BR /&gt;But the OpenCV code is not the problem, since it runs fine without IPP installed.&lt;BR /&gt;&lt;BR /&gt;Any help is greatly appreciated.</description>
      <pubDate>Fri, 18 Feb 2005 03:42:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-and-OpenCV-crashing/m-p/995274#M22855</guid>
      <dc:creator>leos</dc:creator>
      <dc:date>2005-02-18T03:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: IPP and OpenCV crashing.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-and-OpenCV-crashing/m-p/995275#M22856</link>
      <description>Just some followup.  Stepping through my code in debug mode, it goes into the OpenCV function cvMinMaxLoc and hits this line:&lt;BR /&gt;&lt;BR /&gt;IPPI_CALL( func( mat-&amp;gt;data.ptr, mat_step, size,&lt;BR /&gt;                             minVal, maxVal, minLoc, maxLoc ));&lt;BR /&gt;&lt;BR /&gt;then jumps to:&lt;BR /&gt;&lt;BR /&gt;ICV_DEF_MINMAXLOC_ALL( 8u, uchar, int, float )&lt;BR /&gt;&lt;BR /&gt;At which point the exception occurs on the line:&lt;BR /&gt;&lt;BR /&gt;00C4E4C8   mov         dword ptr [edi],ebx&lt;BR /&gt;&lt;BR /&gt;in ippcvw7.dll</description>
      <pubDate>Fri, 18 Feb 2005 04:07:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-and-OpenCV-crashing/m-p/995275#M22856</guid>
      <dc:creator>leos</dc:creator>
      <dc:date>2005-02-18T04:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: IPP and OpenCV crashing.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-and-OpenCV-crashing/m-p/995276#M22857</link>
      <description>&lt;DIV&gt;&lt;FONT color="#000080" size="2"&gt;
&lt;P&gt;Hi, there is comment from our expert:&lt;/P&gt;
&lt;P&gt;It is known problem that is fixed in the current CVS version of OpenCV.&lt;/P&gt;
&lt;P&gt;ippiMinMaxIndx_***, called from cvMinMaxLoc, crashes when some of output pointers are NULL.&lt;/P&gt;
&lt;P&gt;To avoid the problem with OpenCV beta 3.1 or beta 4, pass all the output pointers to cvMinMaxLoc.&lt;/P&gt;
&lt;P&gt;E.g.&lt;/P&gt;
&lt;P&gt;CvPoint minLoc, maxLoc;&lt;BR /&gt;double minValue, maxValue;&lt;BR /&gt;cvMinMaxLoc( img2, &amp;amp;minValue, &amp;amp;maxValue, &amp;amp;minLoc, &amp;amp;maxLoc );&lt;/P&gt;
&lt;P&gt;It wont affect the function performance.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Feb 2005 17:58:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-and-OpenCV-crashing/m-p/995276#M22857</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2005-02-18T17:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: IPP and OpenCV crashing.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-and-OpenCV-crashing/m-p/995277#M22858</link>
      <description>Ah.  Thank you very much.  That fixed it.  I was wrong when I said that other cv functions cause it to crash too, it was just that one.&lt;BR /&gt;&lt;BR /&gt;The support on this forum is excellent!</description>
      <pubDate>Sat, 19 Feb 2005 03:25:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-and-OpenCV-crashing/m-p/995277#M22858</guid>
      <dc:creator>leos</dc:creator>
      <dc:date>2005-02-19T03:25:45Z</dc:date>
    </item>
  </channel>
</rss>

