<?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>GUI GuiderのトピックRe: Segmentation fault by switching screens by using timer in pthread</title>
    <link>https://community.nxp.com/t5/GUI-Guider/Segmentation-fault-by-switching-screens-by-using-timer-in/m-p/1756790#M604</link>
    <description>&lt;P&gt;Which version of BSP are you using?&lt;/P&gt;
&lt;P&gt;Could you tell me the steps of reproducing this issue? So, I could try it on my side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Nov 2023 08:52:14 GMT</pubDate>
    <dc:creator>jimmychan</dc:creator>
    <dc:date>2023-11-14T08:52:14Z</dc:date>
    <item>
      <title>Segmentation fault by switching screens by using timer in pthread</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Segmentation-fault-by-switching-screens-by-using-timer-in/m-p/1754694#M592</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp; I am using i.MX93 in my application i want to switch screen in every 3 minutes. I have created 3 screen and used timer API lv_timer_create(switch_screen_timer_cb, 60000, NULL) in pthread but when I used only one label in screen it is working fine ,but once i increased the widgets in on screens i am getting segmentation fault, below is error message i am getting when simulate the project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;[4071:1108/164957.408810:ERROR:platform_shared_memory_region_posix.cc(217)] Creating shared memory in /dev/shm/.org.chromium.Chromium.kAPwS0 failed: Too many open files (24)&lt;BR /&gt;[4071:1108/164957.409471:ERROR:platform_shared_memory_region_posix.cc(217)] Creating shared memory in /dev/shm/.org.chromium.Chromium.U1cb7Z failed: Too many open files (24)&lt;BR /&gt;[4071:1108/164957.410060:ERROR:platform_shared_memory_region_posix.cc(217)] Creating shared memory in /dev/shm/.org.chromium.Chromium.TVn703 failed: Too many open files (24)&lt;BR /&gt;[4071:1108/164957.411169:ERROR:platform_shared_memory_region_posix.cc(217)] Creating shared memory in /dev/shm/.org.chromium.Chromium.p0xOFZ failed: Too many open files (24)&lt;BR /&gt;[4071:1108/164957.411656:ERROR:platform_shared_memory_region_posix.cc(217)] Creating shared memory in /dev/shm/.org.chromium.Chromium.PXUfX0 failed: Too many open files (24)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How to resolve this plz help&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;__PRESENT&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 06:27:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Segmentation-fault-by-switching-screens-by-using-timer-in/m-p/1754694#M592</guid>
      <dc:creator>vandana</dc:creator>
      <dc:date>2023-11-09T06:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation fault by switching screens by using timer in pthread</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Segmentation-fault-by-switching-screens-by-using-timer-in/m-p/1756790#M604</link>
      <description>&lt;P&gt;Which version of BSP are you using?&lt;/P&gt;
&lt;P&gt;Could you tell me the steps of reproducing this issue? So, I could try it on my side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 08:52:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Segmentation-fault-by-switching-screens-by-using-timer-in/m-p/1756790#M604</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2023-11-14T08:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation fault by switching screens by using timer in pthread</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Segmentation-fault-by-switching-screens-by-using-timer-in/m-p/1760692#M628</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sorry for very late response, I am using&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt; 6.1.1 version. first you need to create 2 thread&amp;nbsp;thread&amp;nbsp;A &amp;amp; thread B. where I am using thread A to receive&amp;nbsp;data from ZMQ dealer. by thread B used for display data on screen and switch between screens. for switching between screen I am using timer and in timer i load next screen. once I reach timer handler it working fine but after 4 - 5 switching I got segmentation&amp;nbsp;fault.&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;__PRESENT&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 10:56:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Segmentation-fault-by-switching-screens-by-using-timer-in/m-p/1760692#M628</guid>
      <dc:creator>vandana</dc:creator>
      <dc:date>2023-11-21T10:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation fault by switching screens by using timer in pthread</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Segmentation-fault-by-switching-screens-by-using-timer-in/m-p/1761463#M634</link>
      <description>&lt;P&gt;Seems after 4-5 switching, the memory is not enough. You may check if the allocated memory is not used and then need to 'free' the memory.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 03:01:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Segmentation-fault-by-switching-screens-by-using-timer-in/m-p/1761463#M634</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2023-11-22T03:01:01Z</dc:date>
    </item>
  </channel>
</rss>

