<?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 Segmentation fault in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/segmentation-fault/m-p/3378503#M102541</link>
    <description>This fault is happening when calling a fonction :&lt;BR /&gt;&lt;BR /&gt;Program terminated with signal 11, Segmentation fault. &lt;BR /&gt;#0  0x6ff3597c in _sigfillset+0x61c () from /usr/lib/libc.2 &lt;BR /&gt;(gdb) where &lt;BR /&gt;#0  0x6ff3597c in _sigfillset+0x61c () from /usr/lib/libc.2 &lt;BR /&gt;#1  0x6ff33734 in _sscanf+0x67c () from /usr/lib/libc.2 &lt;BR /&gt;#2  0x6ff38cfc in malloc+0x18c () from /usr/lib/libc.2 &lt;BR /&gt;#3  0x6fa75e88 in mem_malloc+0x50 ()&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;R. Mufti</description>
    <pubDate>Tue, 14 Sep 2004 05:06:52 GMT</pubDate>
    <dc:creator>MUFTI Rachid</dc:creator>
    <dc:date>2004-09-14T05:06:52Z</dc:date>
    <item>
      <title>Segmentation fault</title>
      <link>https://community.hpe.com/t5/operating-system-linux/segmentation-fault/m-p/3378503#M102541</link>
      <description>This fault is happening when calling a fonction :&lt;BR /&gt;&lt;BR /&gt;Program terminated with signal 11, Segmentation fault. &lt;BR /&gt;#0  0x6ff3597c in _sigfillset+0x61c () from /usr/lib/libc.2 &lt;BR /&gt;(gdb) where &lt;BR /&gt;#0  0x6ff3597c in _sigfillset+0x61c () from /usr/lib/libc.2 &lt;BR /&gt;#1  0x6ff33734 in _sscanf+0x67c () from /usr/lib/libc.2 &lt;BR /&gt;#2  0x6ff38cfc in malloc+0x18c () from /usr/lib/libc.2 &lt;BR /&gt;#3  0x6fa75e88 in mem_malloc+0x50 ()&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;R. Mufti</description>
      <pubDate>Tue, 14 Sep 2004 05:06:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/segmentation-fault/m-p/3378503#M102541</guid>
      <dc:creator>MUFTI Rachid</dc:creator>
      <dc:date>2004-09-14T05:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation fault</title>
      <link>https://community.hpe.com/t5/operating-system-linux/segmentation-fault/m-p/3378504#M102542</link>
      <description>Memoru allocation is getting failed there. &lt;BR /&gt;Try to analyse frame by frame as,&lt;BR /&gt;&lt;BR /&gt;gdb) info f 0&lt;BR /&gt;&lt;BR /&gt;zero'th frame information's will be given.&lt;BR /&gt;&lt;BR /&gt;what program did you try to execute there.?&lt;BR /&gt;&lt;BR /&gt;I hope your tried to get the wrong type of input with scanf() call there after memory allocation. It is good to have your code to analyse more.</description>
      <pubDate>Tue, 14 Sep 2004 08:28:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/segmentation-fault/m-p/3378504#M102542</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-14T08:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation fault</title>
      <link>https://community.hpe.com/t5/operating-system-linux/segmentation-fault/m-p/3378505#M102543</link>
      <description>is your problem still resolved?&lt;BR /&gt;&lt;BR /&gt;I am also facing the same problem. Any pointers?</description>
      <pubDate>Fri, 28 Oct 2005 10:47:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/segmentation-fault/m-p/3378505#M102543</guid>
      <dc:creator>Amit Sukhija</dc:creator>
      <dc:date>2005-10-28T10:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation fault</title>
      <link>https://community.hpe.com/t5/operating-system-linux/segmentation-fault/m-p/3378506#M102544</link>
      <description>It would help if you could post the relevent portion of source code. One common mistake in using scanf() functions is that if the argument is say an integer you need to pass the address of where you want to store it, rather than just the name of a variable.&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;int a, b, c;&lt;BR /&gt;int rc;&lt;BR /&gt;char * buffer = "1 2 3";&lt;BR /&gt;&lt;BR /&gt;rc = sscanf(buffer, "%d %d %d", &amp;amp;a, &amp;amp;b, &amp;amp;c);&lt;BR /&gt;&lt;BR /&gt;NOT&lt;BR /&gt;&lt;BR /&gt;rc = sscanf(buffer, "%d %d %d", a, b, c);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 31 Oct 2005 04:04:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/segmentation-fault/m-p/3378506#M102544</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-10-31T04:04:20Z</dc:date>
    </item>
  </channel>
</rss>

