<?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: Wayland client crash in wl_buffer_release in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336551#M45826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/stephenminutillo"&gt;stephenminutillo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right, additional libraries must be needed. I can run the applications without any issues on my system.&lt;/P&gt;&lt;P&gt;Attaching the files you requested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this does not work, I can take a complete snapshot of my environment and make it available to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Hugo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2015 20:14:04 GMT</pubDate>
    <dc:creator>HugoOsornio</dc:creator>
    <dc:date>2015-03-25T20:14:04Z</dc:date>
    <item>
      <title>Wayland client crash in wl_buffer_release</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336546#M45821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are seeing crashes in our Wayland client applications.&amp;nbsp; Our applications open and close multiple windows throughout their lifecycle and it appears that the Vivante driver does not destroy the Wayland buffer proxy objects with wl_buffer_destroy, so they still get release events when they are already destroyed&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We were able to replicate this crash with a small modifiication to simple-egl.c, running under Weston.&amp;nbsp; Attached is the patch to simple-egl.c and the backtrace of the crash, collected on a SabreSD board running fsl-yocto-3.10.53-1.1.0 BSP.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is our code incorrect, or is this a bug?&amp;nbsp; If it is a bug, is there a workaround?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336073"&gt;simple-egl.c.patch.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336073"&gt;wl_buffer_release-crash-bt.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 18:56:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336546#M45821</guid>
      <dc:creator>stephenminutill</dc:creator>
      <dc:date>2015-03-20T18:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Wayland client crash in wl_buffer_release</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336547#M45822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/stephenminutillo"&gt;stephenminutillo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for providing the files, I will replicate it in our environment, we just created a patch that solved a similar issue, will verify if this applies to the patch and come back with an answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hugo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 21:56:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336547#M45822</guid>
      <dc:creator>HugoOsornio</dc:creator>
      <dc:date>2015-03-23T21:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Wayland client crash in wl_buffer_release</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336548#M45823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/stephenminutillo"&gt;stephenminutillo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already integrated the patch to the simple EGL and am running it on a 3.10.53 BSP.&lt;/P&gt;&lt;P&gt;It destroys and then creates an egl window every 100 frames, so far the issue has not happened, the demo has been for about 10 minutes now.&lt;/P&gt;&lt;P&gt;Will leave it running, for an hour, if the issue is not reproduced, then I will share my .so files with you so you can test it with them on your end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Hugo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 01:29:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336548#M45823</guid>
      <dc:creator>HugoOsornio</dc:creator>
      <dc:date>2015-03-24T01:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Wayland client crash in wl_buffer_release</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336549#M45824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/stephenminutillo"&gt;stephenminutillo&lt;/A&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I used the modified simple-egl app and left it running overnight.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I did not notice the issue on my end, the board powered off at some point at night but as soon as I got back and moved the mouse on the board, the system resumed execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I will proceed to attach the set of drivers that I have for you to test in your environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Cheers,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hugo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 14:29:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336549#M45824</guid>
      <dc:creator>HugoOsornio</dc:creator>
      <dc:date>2015-03-24T14:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Wayland client crash in wl_buffer_release</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336550#M45825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These libraries seem to fix the original problem, but with them installed simple-egl crashes with a different problem in our environment, in wl_list_empty:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#0&amp;nbsp; wl_list_empty (list=list@entry=0x0) at&lt;/P&gt;&lt;P&gt;/home/petersen/projects/fsl-release-bsp/build-wayland/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/wayland/1.6.0-r0/wayland-1.6.0/src/wayland-util.c:79&lt;/P&gt;&lt;P&gt;#1&amp;nbsp; 0x76ea04e4 in dispatch_queue (display=display@entry=0x14008, queue=queue@entry=0x0) at&lt;/P&gt;&lt;P&gt;/home/petersen/projects/fsl-release-bsp/build-wayland/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/wayland/1.6.0-r0/wayland-1.6.0/src/wayland-client.c:1260&lt;/P&gt;&lt;P&gt;#2&amp;nbsp; 0x76ea0e6c in wl_display_dispatch_queue (display=0x14008, queue=0x0) at&lt;/P&gt;&lt;P&gt;/home/petersen/projects/fsl-release-bsp/build-wayland/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/wayland/1.6.0-r0/wayland-1.6.0/src/wayland-client.c:1407&lt;/P&gt;&lt;P&gt;#3&amp;nbsp; 0x76afc7bc in ?? ()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible that additional libraries need to also be replaced to be compatible?&amp;nbsp; We noticed that the zip file did not contain these files which may also be related:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libg2d-viv.so&lt;/P&gt;&lt;P&gt;libgc_wayland_protocol.so.0.0.0&lt;/P&gt;&lt;P&gt;libGL.so.1.2.0&lt;/P&gt;&lt;P&gt;libVIVANTE.so&lt;/P&gt;&lt;P&gt;libwayland-viv.so.0.0.0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 13:26:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336550#M45825</guid>
      <dc:creator>stephenminutill</dc:creator>
      <dc:date>2015-03-25T13:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Wayland client crash in wl_buffer_release</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336551#M45826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/stephenminutillo"&gt;stephenminutillo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right, additional libraries must be needed. I can run the applications without any issues on my system.&lt;/P&gt;&lt;P&gt;Attaching the files you requested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this does not work, I can take a complete snapshot of my environment and make it available to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Hugo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 20:14:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336551#M45826</guid>
      <dc:creator>HugoOsornio</dc:creator>
      <dc:date>2015-03-25T20:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Wayland client crash in wl_buffer_release</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336552#M45827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, with these additional libraries installed the problem does go away.&amp;nbsp; Will this fix be going into some official patch or official release?&amp;nbsp; We need to get it integrated with the BSP provided by our vendor, TimeSys.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 17:02:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336552#M45827</guid>
      <dc:creator>stephenminutill</dc:creator>
      <dc:date>2015-03-26T17:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Wayland client crash in wl_buffer_release</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336553#M45828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are just on the fix and test cycle of the next BSP release, I am not aware of the dates yet, but must have more information by next week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Hugo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 19:27:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336553#M45828</guid>
      <dc:creator>HugoOsornio</dc:creator>
      <dc:date>2015-03-26T19:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Wayland client crash in wl_buffer_release</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336554#M45829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quick response to this problem.&amp;nbsp; Please let me know as soon as possible when this fix will be released.&amp;nbsp; It is a high severity issue for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see in Git a branch called daisy_3.10.53-1.1.2_patch with updated imx-gpu-viv and imx-gpu-viv-kernel packages.&amp;nbsp; Do those packages contain this fix?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 16:55:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336554#M45829</guid>
      <dc:creator>stephenminutill</dc:creator>
      <dc:date>2015-03-27T16:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Wayland client crash in wl_buffer_release</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336555#M45830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issues were fixed on the Dizzy Branch, I parsed through the changes and I cannot see the fix on the Daisy sources yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 17:04:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336555#M45830</guid>
      <dc:creator>HugoOsornio</dc:creator>
      <dc:date>2015-03-30T17:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Wayland client crash in wl_buffer_release</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336556#M45831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will the fixes also be back ported to the BSP based on the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;3.10.53 kernel?&amp;nbsp; That's what we are using now and we need to get these fixes integrated in ASAP.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 17:49:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336556#M45831</guid>
      <dc:creator>stephenminutill</dc:creator>
      <dc:date>2015-03-30T17:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Wayland client crash in wl_buffer_release</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336557#M45832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/stephenminutillo"&gt;stephenminutillo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just received confirmation from our GPU team that while the libs provided above fix the issue, they have still to fix/validate other artifacts caused by this fix.&lt;/P&gt;&lt;P&gt;They are not able to provide an estimate release time yet. And yes, the plan is to backport the fixes to the 3.10.53BSP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Hugo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 18:10:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wayland-client-crash-in-wl-buffer-release/m-p/336557#M45832</guid>
      <dc:creator>HugoOsornio</dc:creator>
      <dc:date>2015-03-30T18:10:42Z</dc:date>
    </item>
  </channel>
</rss>

