<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3572</bug_id>
          
          <creation_ts>2012-12-12 16:34:36 +0000</creation_ts>
          <short_desc>QT/Phonon integration on imx.6</short_desc>
          <delta_ts>2013-02-08 17:43:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-fsl-arm</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.4 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daiane">angolini</reporter>
          <assigned_to>disabled.leonardo.sandoval</assigned_to>
          <cc>disabled.leonardo.sandoval</cc>
    
    <cc>otavio</cc>
    
    <cc>rogerio.pimentel</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>28193</commentid>
    <comment_count>0</comment_count>
    <who name="Daiane">angolini</who>
    <bug_when>2012-12-12 16:34:36 +0000</bug_when>
    <thetext>I did find an issue with qmediaplayer on i.MX6 though. It appears that a
reference to /dev/video17 leaks during each video playback.

Before playing any videos, no handles are open:

~# ls -l /proc/`pidof qmediaplayer`/fd | grep /dev/video
~#

During the first video, two handles are open:

~# ls -l /proc/`pidof qmediaplayer`/fd | grep /dev/video
lrwx------    1 root     root            64 Dec  9 23:49 16 -&gt; /dev/video17
lrwx------    1 root     root            64 Dec  9 23:49 17 -&gt; /dev/video17


If I let the first complete, then open another video, I see
three handles:

~# ls -l /proc/`pidof qmediaplayer`/fd | grep /dev/video
lrwx------    1 root     root            64 Dec  9 23:49 16 -&gt; /dev/video17
lrwx------    1 root     root            64 Dec  9 23:49 17 -&gt; /dev/video17
lrwx------    1 root     root            64 Dec  9 23:52 18 -&gt; /dev/video17

and so on.

I caught this after repeatedly playing the very short akiyo.mp4
from /unit_tests. After a few successful runs, video playback
stopped.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28993</commentid>
    <comment_count>1</comment_count>
    <who name="">disabled.leonardo.sandoval</who>
    <bug_when>2013-01-21 20:52:51 +0000</bug_when>
    <thetext>I was able to reproduced it under a imx6qmachine. I wonder if this problem has to be solved under the meta-fsl-arm or we simple have to report it to the right community. Checking on google for possible solutions...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29690</commentid>
    <comment_count>2</comment_count>
    <who name="">disabled.leonardo.sandoval</who>
    <bug_when>2013-02-08 17:41:36 +0000</bug_when>
    <thetext>commit e280c54d1ba2c7ec46e5d699fbd880f70e6c387d
Author: Leonardo Sandoval &lt;leonardo.sandoval@freescale.com&gt;
Date:   Thu Feb 7 15:14:34 2013 -0600

    imx-test: Condition the mxc_epdc_x11_fb_test installation
    
    Condition the compilation/installation of the unit test
    &apos;/unit_tests/mxc_epdc_x11_fb_test&apos;.
    
    This binary is only valid on specific platforms (not yet supported by
    current layer) like IMX508.
    
    Tested on a Sabre SD i.MX6Q board. Fixes:
    https://bugzilla.yoctoproject.org/show_bug.cgi?id=3615
    
    [YOCTO #3615]
    
    Signed-off-by: Leonardo Sandoval &lt;leonardo.sandoval@freescale.com&gt;
    Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29691</commentid>
    <comment_count>3</comment_count>
    <who name="">disabled.leonardo.sandoval</who>
    <bug_when>2013-02-08 17:43:31 +0000</bug_when>
    <thetext>Sorry, this is the correct commit which solved the issue.


commit c2cbd977ee7ffa53f715222a13feec599b9836d1
Author: Leonardo Sandoval &lt;leonardo.sandoval@freescale.com&gt;
Date:   Thu Feb 7 11:41:14 2013 -0600

    qt4: Add a unreference instruction on qt4 phonon patch
    
    Correct the qt4 phonon patch adding a statement which unreferences
    an object representing the freescale video sink. Tested on a iMX6Q
    machine using the fsl-image-gui image.
    
    Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3572
    
    [YOCTO #3572]
    
    Signed-off-by: Leonardo Sandoval &lt;leonardo.sandoval@freescale.com&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>