<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>20869</bug_id>
          
          <creation_ts>2009-07-25 02:40:21 +0400</creation_ts>
          <short_desc>Exсeption throwing when using cvLoadImage()</short_desc>
          <delta_ts>2009-07-28 18:17:28 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>libopencv3</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nikolay A. Fetisov">naf</reporter>
          <assigned_to name="real@altlinux.org">real</assigned_to>
          <cc>at</cc>
    
    <cc>enp</cc>
    
    <cc>george</cc>
    
    <cc>hiddenman</cc>
    
    <cc>lav</cc>
    
    <cc>ldv</cc>
    
    <cc>mithraen</cc>
    
    <cc>ns</cc>
    
    <cc>real</cc>
    
    <cc>sin</cc>
    
    <cc>swi</cc>
    
    <cc>vitty</cc>
    
    <cc>viy</cc>
    
    <cc>vvk</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95245</commentid>
    <comment_count>0</comment_count>
    <who name="Nikolay A. Fetisov">naf</who>
    <bug_when>2009-07-25 02:40:21 +0400</bug_when>
    <thetext>В libopencv3-1.1-alt2.svn20090630 возникает исключение при попытке 
использовать функцию cvLoadImage.

Пример:

$ cat &gt; test.c &lt;&lt;END
#include &lt;opencv/highgui.h&gt;
int main( int argc, char** argv )
{
    IplImage *img = cvLoadImage(&quot;usr/share/doc/gcc-4.4/libstdc++/html/ext/pb_ds/checked_by_tidy.gif&quot;,CV_LOAD_IMAGE_COLOR);
    cvReleaseImage(&amp;img);
    return 0;
}
END
$ gcc test.c -o test -lhighgui
$ ./test
terminate called after throwing an instance of &apos;Iex::EnoentExc&apos;
  what():  Cannot read image file &quot;&quot;. No such file or directory.
Аварийный останов
$

Указываемый в cvLoadImage() файл роли не играет, до его загрузки дело не доходит. Исключение возникает, по-видимому, в каком-то конструкторе внутри libopencv. 


Из пострадавших пакетов: php5-facedetect, с невозможностью просто включения расширения в конфигурации PHP, и, возможно, digikam через kde4-kipi-plugins, см. http://lists.altlinux.org/pipermail/mandrake-russian/2009-July/653941.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95388</commentid>
    <comment_count>1</comment_count>
    <who name="real@altlinux.org">real.altlinux.org</who>
    <bug_when>2009-07-28 18:17:28 +0400</bug_when>
    <thetext>1.2.1-alt1.svn20090728 ушёл в сизиф.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>