<?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>i.MX ProcessorsのトピックRe: Double-Free Corruption Crash from eglQueryString when starting Wayland Client</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Double-Free-Corruption-Crash-from-eglQueryString-when-starting/m-p/657135#M100756</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a bug for p4.5 that Wayland and EglQuery does not free window memory until the application exits, apparently this is the main reason of your issue, So i recommend to migrate to p7.1 &amp;nbsp;or better latest bsp with 5.0.11p8.6v.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jan 2017 16:25:15 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2017-01-31T16:25:15Z</dc:date>
    <item>
      <title>Double-Free Corruption Crash from eglQueryString when starting Wayland Client</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Double-Free-Corruption-Crash-from-eglQueryString-when-starting/m-p/657134#M100755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On my iMX.6 Dualcore device, I can see the following GPU driver related crash completely reproducible at every application's start. My setting is a QtWaylandCompositor based compositor (though that should not make a big difference to Weston) and a simple application that runs as a Wayland client. My BSP contains the 5.0.11 p4.5 release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~# gdb --args sandbox -platform wayland&lt;BR /&gt;GNU gdb (GDB) 7.9.1&lt;BR /&gt;Copyright (C) 2015 Free Software Foundation, Inc.&lt;BR /&gt;&lt;SPAN&gt;License GPLv3+: GNU GPL version 3 or later &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgnu.org%2Flicenses%2Fgpl.html" rel="nofollow" target="_blank"&gt;http://gnu.org/licenses/gpl.html&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;This is free software: you are free to change and redistribute it.&lt;BR /&gt;There is NO WARRANTY, to the extent permitted by law.&amp;nbsp; Type "show copying"&lt;BR /&gt;and "show warranty" for details.&lt;BR /&gt;This GDB was configured as "arm-mel-linux-gnueabi".&lt;BR /&gt;Type "show configuration" for configuration details.&lt;BR /&gt;For bug reporting instructions, please see:&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fgdb%2Fbugs%2F" rel="nofollow" target="_blank"&gt;http://www.gnu.org/software/gdb/bugs/&lt;/A&gt;&lt;SPAN&gt;&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;Find the GDB manual and other documentation resources online at:&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fgdb%2Fdocumentation%2F" rel="nofollow" target="_blank"&gt;http://www.gnu.org/software/gdb/documentation/&lt;/A&gt;&lt;SPAN&gt;&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;For help, type "help".&lt;BR /&gt;Type "apropos word" to search for commands related to "word"...&lt;BR /&gt;Reading symbols from sandbox...(no debugging symbols found)...done.&lt;BR /&gt;(gdb) r&lt;BR /&gt;Starting program: /usr/bin/sandbox -platform wayland&lt;BR /&gt;[Thread debugging using libthread_db enabled]&lt;BR /&gt;Using host libthread_db library "/lib/libthread_db.so.1".&lt;BR /&gt;qml: surface appeared: 15&lt;BR /&gt;Using Wayland-EGL&lt;BR /&gt;*** Error in `/usr/bin/sandbox': double free or corruption (top): 0x001819e8 ***&lt;BR /&gt;[New Thread 0x6e1ff450 (LWP 1068)]&lt;BR /&gt;[New Thread 0x6e9ff450 (LWP 1067)]&lt;BR /&gt;[New Thread 0x6f1ff450 (LWP 1066)]&lt;BR /&gt;[New Thread 0x6f9ff450 (LWP 1065)]&lt;BR /&gt;[New Thread 0x701ff450 (LWP 1064)]&lt;BR /&gt;[New Thread 0x709ff450 (LWP 1063)]&lt;BR /&gt;[New Thread 0x711ff450 (LWP 1062)]&lt;BR /&gt;[New Thread 0x719ff450 (LWP 1061)]&lt;BR /&gt;[New Thread 0x721ff450 (LWP 1060)]&lt;BR /&gt;[New Thread 0x72d1b450 (LWP 1059)]&lt;BR /&gt;[New Thread 0x7351b450 (LWP 1058)]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program received signal SIGABRT, Aborted.&lt;BR /&gt;0x763d5880 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55&lt;BR /&gt;55&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);&lt;BR /&gt;(gdb) bt &lt;BR /&gt;#0&amp;nbsp; 0x763d5880 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55&lt;BR /&gt;#1&amp;nbsp; 0x763d9364 in __GI_abort () at abort.c:89&lt;BR /&gt;#2&amp;nbsp; 0x7640c6d0 in __libc_message (do_abort=do_abort@entry=2, fmt=0x764c53fc "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175&lt;BR /&gt;#3&amp;nbsp; 0x76417098 in malloc_printerr (action=&amp;lt;optimized out&amp;gt;, str=0x764c555c "double free or corruption (top)", ptr=&amp;lt;optimized out&amp;gt;, ar_ptr=&amp;lt;optimized out&amp;gt;) at malloc.c:5000&lt;BR /&gt;#4&amp;nbsp; 0x76417a24 in _int_free (av=0x764e27a8 &amp;lt;main_arena&amp;gt;, p=&amp;lt;optimized out&amp;gt;, have_lock=&amp;lt;optimized out&amp;gt;) at malloc.c:3861&lt;BR /&gt;#5&amp;nbsp; 0x7523415c in gcoOS_FreeMemory (Os=&amp;lt;optimized out&amp;gt;, Memory=&amp;lt;optimized out&amp;gt;) at gc_hal_user_os.c:2032&lt;BR /&gt;#6&amp;nbsp; 0x752341d0 in gcoOS_Free (Os=&amp;lt;optimized out&amp;gt;, Memory=&amp;lt;optimized out&amp;gt;) at gc_hal_user_os.c:1829&lt;BR /&gt;#7&amp;nbsp; 0x75227e00 in gcoVGHARDWARE_CloseContext (Hardware=0x180d0c) at gc_hal_user_hardware_context_vg.c:694&lt;BR /&gt;#8&amp;nbsp; 0x75228d34 in gcoVGHARDWARE_Construct (Hal=&amp;lt;optimized out&amp;gt;, Hardware=0x8c91c) at gc_hal_user_hardware_vg.c:6211&lt;BR /&gt;#9&amp;nbsp; 0x7522a338 in gcoVGHARDWARE_QueryChipIdentity (Hardware=Hardware@entry=0x0, ChipModel=0x7efff6d4, ChipModel@entry=0x7efff6cc, ChipRevision=ChipRevision@entry=0x0, ChipFeatures=ChipFeatures@entry=0x0, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ChipMinorFeatures=ChipMinorFeatures@entry=0x0, ChipMinorFeatures2=ChipMinorFeatures2@entry=0x0) at gc_hal_user_hardware_vg.c:6321&lt;BR /&gt;#10 0x7518891c in gcoHAL_QueryChipLimits (Hal=Hal@entry=0x0, Chip=Chip@entry=2, Mask=Mask@entry=7, Limits=Limits@entry=0x8d520) at gc_hal_user_query.c:1133&lt;BR /&gt;#11 0x751697b0 in veglGetThreadData () at gc_egl.c:281&lt;BR /&gt;#12 0x7515ff14 in eglQueryString (Dpy=0x0, name=12373) at gc_egl_init.c:1553&lt;BR /&gt;#13 0x72518b54 in ?? () from /usr/lib/qt5/plugins/wayland-graphics-integration-client/libwayland-egl.so&lt;BR /&gt;Backtrace stopped: previous frame identical to this frame (corrupt stack?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be happy for any hints if that issue might be fixed in more recent releases or if this is an open issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 07:44:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Double-Free-Corruption-Crash-from-eglQueryString-when-starting/m-p/657134#M100755</guid>
      <dc:creator>cola</dc:creator>
      <dc:date>2017-01-31T07:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Double-Free Corruption Crash from eglQueryString when starting Wayland Client</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Double-Free-Corruption-Crash-from-eglQueryString-when-starting/m-p/657135#M100756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a bug for p4.5 that Wayland and EglQuery does not free window memory until the application exits, apparently this is the main reason of your issue, So i recommend to migrate to p7.1 &amp;nbsp;or better latest bsp with 5.0.11p8.6v.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 16:25:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Double-Free-Corruption-Crash-from-eglQueryString-when-starting/m-p/657135#M100756</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2017-01-31T16:25:15Z</dc:date>
    </item>
  </channel>
</rss>

