<?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: gst-launch-1.0 segmentation Fault in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/gst-launch-1-0-segmentation-Fault/m-p/690683#M106986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jamal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are using gstreamer-imx version, there are also nxp imx-gst1.0-plugins,&lt;/P&gt;&lt;P&gt;for details please refer to:&amp;nbsp; trac.gateworks.com/wiki/Yocto/gstreamer&lt;/P&gt;&lt;P&gt;Alternatively one can try nxp imx-gst1.0-plugins, described in nxp linux documentation:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0-LINUX-DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product" title="http://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0-LINUX-DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product"&gt;http://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0-LINUX-DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW" title="http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW"&gt;i.MX 6 / i.MX 7 Series Software and Development Tool|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as for gstreamer-imx, issue can be posted on meta-fsl-arm mailing list, so that someone&lt;/P&gt;&lt;P&gt;familiar with it could try to assist you.&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale" rel="nofollow" target="_blank"&gt;https://lists.yoctoproject.org/listinfo/meta-freescale&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 May 2017 10:33:01 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2017-05-24T10:33:01Z</dc:date>
    <item>
      <title>gst-launch-1.0 segmentation Fault</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/gst-launch-1-0-segmentation-Fault/m-p/690682#M106985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using gst-launch in our application to stream the CSI over Display whenever it detects Signal and Stop the Streamer when there is no signal..&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thus, i was testing gst-launch functionality with the following simple code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void MainLoop()&lt;BR /&gt;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;char command[256];&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;int ret = 0;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;int loopCount = 0;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;while(1)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;memset(command, '\0', sizeof(command));&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sprintf(command, "/usr/bin/gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink &amp;amp;");&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ret = system(command);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf("StartStreamer: command=[%s], status:%d\n", command, ret);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sleep(15);&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;memset(command, '\0', sizeof(command));&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sprintf(command, "killall gst-launch-1.0");&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ret = system(command);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf("StopStreamer: command=[%s], status = %d\n", command, ret);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sleep(15);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;loopCount++;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf("Loop Count:%d\n", loopCount);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fflush(stdout);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After running a loop count of about 2400+ it failed with segmentation Fault, in the next restart of the utility, it crashed at 551 Loop Count and then at &amp;nbsp;1300+ Loop Count..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is the Log at the stdout before segmentation Fault:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop Count:551&lt;BR /&gt;StartStreamer: command=[/usr/bin/gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink &amp;amp;], status:0&lt;BR /&gt;StopStreamer: command=[killall gst-launch-1.0], status = 4&lt;BR /&gt;Loop Count:276828289&lt;BR /&gt;StartStreamer: command=[/usr/bin/gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink &amp;amp;], status:32512&lt;BR /&gt;StopStreamer: command=[killall gst-launch-1.0], status = 32512&lt;BR /&gt;Loop Count:276828290&lt;BR /&gt;StartStreamer: command=[/usr/bin/gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink &amp;amp;], status:32512&lt;BR /&gt;StopStreamer: command=[killall gst-launch-1.0], status = 32512&lt;BR /&gt;Loop Count:276828291&lt;BR /&gt;StartStreamer: command=[/usr/bin/gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink &amp;amp;], status:32512&lt;BR /&gt;StopStreamer: command=[killall gst-launch-1.0], status = 32512&lt;BR /&gt;Loop Count:276828292&lt;BR /&gt;StartStreamer: command=[/usr/bin/gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink &amp;amp;], status:32512&lt;BR /&gt;StopStreamer: command=[killall gst-launch-1.0], status = 32512&lt;BR /&gt;Loop Count:276828293&lt;BR /&gt;StartStreamer: command=[/usr/bin/gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink &amp;amp;], status:32512&lt;BR /&gt;StopStreamer: command=[killall gst-launch-1.0], status = 32512&lt;BR /&gt;Loop Count:276828294&lt;BR /&gt;StartStreamer: command=[/usr/bin/gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink &amp;amp;], status:32512&lt;BR /&gt;StopStreamer: command=[killall gst-launch-1.0], status = 32512&lt;BR /&gt;Loop Count:276828295&lt;BR /&gt;StartStreamer: command=[/usr/bin/gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink &amp;amp;], status:32512&lt;BR /&gt;StopStreamer: command=[killall gst-launch-1.0], status = 32512&lt;BR /&gt;Loop Count:276828296&lt;BR /&gt;StartStreamer: command=[/usr/bin/gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink &amp;amp;], status:32512&lt;BR /&gt;StopStreamer: command=[killall gst-launch-1.0], status = 32512&lt;BR /&gt;Loop Count:276828297&lt;BR /&gt;StartStreamer: command=[/usr/bin/gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink &amp;amp;], status:32512&lt;BR /&gt;StopStreamer: command=[killall gst-launch-1.0], status = 32512&lt;BR /&gt;Loop Count:276828298&lt;BR /&gt;StartStreamer: command=[/usr/bin/gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink &amp;amp;], status:32512&lt;BR /&gt;StopStreamer: command=[killall gst-launch-1.0], status = 32512&lt;BR /&gt;Loop Count:276828299&lt;BR /&gt;StartStreamer: command=[/usr/bin/gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink &amp;amp;], status:32512&lt;BR /&gt;StopStreamer: command=[killall gst-launch-1.0], status = 32512&lt;BR /&gt;Loop Count:276828300&lt;BR /&gt;StartStreamer: command=[/usr/bin/gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink &amp;amp;], status:32512&lt;BR /&gt;StopStreamer: command=[killall gst-launch-1.0], status = 32512&lt;BR /&gt;Loop Count:276828301&lt;BR /&gt;StartStreamer: command=[/usr/bin/gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink &amp;amp;], status:32512&lt;BR /&gt;[1]+ Segmentation fault ./startStop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe it is due to some memory corruption .. How can we resolve this issue...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 08:38:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/gst-launch-1-0-segmentation-Fault/m-p/690682#M106985</guid>
      <dc:creator>jamalmohiuddin</dc:creator>
      <dc:date>2017-05-24T08:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: gst-launch-1.0 segmentation Fault</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/gst-launch-1-0-segmentation-Fault/m-p/690683#M106986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jamal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are using gstreamer-imx version, there are also nxp imx-gst1.0-plugins,&lt;/P&gt;&lt;P&gt;for details please refer to:&amp;nbsp; trac.gateworks.com/wiki/Yocto/gstreamer&lt;/P&gt;&lt;P&gt;Alternatively one can try nxp imx-gst1.0-plugins, described in nxp linux documentation:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0-LINUX-DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product" title="http://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0-LINUX-DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product"&gt;http://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0-LINUX-DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW" title="http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW"&gt;i.MX 6 / i.MX 7 Series Software and Development Tool|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as for gstreamer-imx, issue can be posted on meta-fsl-arm mailing list, so that someone&lt;/P&gt;&lt;P&gt;familiar with it could try to assist you.&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale" rel="nofollow" target="_blank"&gt;https://lists.yoctoproject.org/listinfo/meta-freescale&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 10:33:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/gst-launch-1-0-segmentation-Fault/m-p/690683#M106986</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-05-24T10:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: gst-launch-1.0 segmentation Fault</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/gst-launch-1-0-segmentation-Fault/m-p/690684#M106987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.. What is the difference between those versions..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 10:40:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/gst-launch-1-0-segmentation-Fault/m-p/690684#M106987</guid>
      <dc:creator>jamalmohiuddin</dc:creator>
      <dc:date>2017-05-24T10:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: gst-launch-1.0 segmentation Fault</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/gst-launch-1-0-segmentation-Fault/m-p/690685#M106988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;difference is described on&lt;/P&gt;&lt;P&gt;trac.gateworks.com/wiki/Yocto/gstreamer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 10:45:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/gst-launch-1-0-segmentation-Fault/m-p/690685#M106988</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-05-24T10:45:20Z</dc:date>
    </item>
  </channel>
</rss>

