<?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: SIGSEGV Error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477258#M704331</link>
    <description>SIGSEGV is a programm issue and not kernel tunable&lt;BR /&gt;issue. &lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
    <pubDate>Wed, 02 Feb 2005 21:14:28 GMT</pubDate>
    <dc:creator>Biswajit Tripathy</dc:creator>
    <dc:date>2005-02-02T21:14:28Z</dc:date>
    <item>
      <title>SIGSEGV Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477252#M704325</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to run an ProC program on HP-UNIX 11i box, and have been getting the following error.&lt;BR /&gt;&lt;BR /&gt;Pid 10932 received a SIGSEGV for stack growth failure.&lt;BR /&gt;Possible causes: insufficient memory or swap space,&lt;BR /&gt;or stack size exceeded maxssiz. &lt;BR /&gt;&lt;BR /&gt;The program quits after creating the core file.&lt;BR /&gt;&lt;BR /&gt;I pasting the output of the "what core" command.&lt;BR /&gt;&lt;BR /&gt;/home/barts/scripts $ what core&lt;BR /&gt;core:&lt;BR /&gt;$ PATCH_11.11/PHCO_25568 Dec 19 2001 06:21:26 $ &lt;BR /&gt;pigrid.cxx 1.20 1.20 07/03/96]&lt;BR /&gt;pigrid.cxx 1.20 1.20 07/03/96]&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pievent.hxx 1.28 04/26/96&lt;BR /&gt;ptevent.hxx 1.5]&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pievent.hxx 1.28 04/26/96&lt;BR /&gt;ptevent.hxx 1.5]&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pievent.hxx 1.28 04/26/96&lt;BR /&gt;ptevent.hxx 1.5]&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pievent.hxx 1.28 04/26/96&lt;BR /&gt;ptevent.hxx 1.5]&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pievent.hxx 1.28 04/26/96&lt;BR /&gt;ptevent.hxx 1.5]&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitime.cxx 1.87 09/26/96]&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pivalue.cxx 1.143 01/21/97]&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pievent.hxx 1.28 04/26/96&lt;BR /&gt;ptevent.hxx 1.5]&lt;BR /&gt;pievent.cxx 1.14 09/11/96&lt;BR /&gt;pievent.cxx 1.14 09/11/96&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pisecobj.cxx 1.27 09/30/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;pisecobj.cxx 1.27 09/30/96]:&lt;BR /&gt;pitmplar.hxx 1.54 07/18/96]:&lt;BR /&gt;$ B.11.11_LR Oct 26 2000 23:10:23 $ &lt;BR /&gt;Pthread Interfaces &lt;BR /&gt;$Revision: libpthread.1: @(#) depot-32pa R11.11_BL2003_1209_2 PATCH_11.11 PHCO_29960 Tue Dec 9 01:51:37 PST 2003 $&lt;BR /&gt;HP-UX libm shared PA1.1 C Math Library 20000331 (201031) UX11.01&lt;BR /&gt;HP-UX libisamstub.sl 19991217 (135120) B3907DB/B3909DB B.11.01.11&lt;BR /&gt;fs_amod.s $Revision: 1.9.1.1 $&lt;BR /&gt;libcl.sl version B.11.01.18 - Jan 3 2003&lt;BR /&gt;$ PATCH_11.11/PHCO_29495 Sep 15 2003 04:29:46 $ &lt;BR /&gt;SMART_BIND&lt;BR /&gt;92453-07 dld dld dld.sl B.11.32 020411&lt;BR /&gt;&lt;BR /&gt;If I do "file core" command it shows the Proc program which I tried to run.&lt;BR /&gt;&lt;BR /&gt;/home/barts/scripts $ file core&lt;BR /&gt;core: core file from 'sy_ocstobarts' - received SIGSEGV&lt;BR /&gt;&lt;BR /&gt;Is there is a way to find out which statement or command in the ProC causing the issue ?.&lt;BR /&gt;&lt;BR /&gt;Any suggestion is welcome.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Partha&lt;/P&gt;
&lt;P&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Moved from HP-UX Technical Documentation to HP-UX &amp;gt; languages&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2013 07:46:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477252#M704325</guid>
      <dc:creator>Parthasarathy_1</dc:creator>
      <dc:date>2013-03-29T07:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477253#M704326</link>
      <description>I think the key actually is the initial error.&lt;BR /&gt;&lt;BR /&gt;Pid 10932 received a SIGSEGV for stack growth failure.&lt;BR /&gt;Possible causes: insufficient memory or swap space,&lt;BR /&gt;or stack size exceeded maxssiz. &lt;BR /&gt;&lt;BR /&gt;How much memory are you trying allocate with the program?  You may need to take a look at your max*siz kernel parameters.  What are their current values?</description>
      <pubDate>Wed, 02 Feb 2005 19:35:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477253#M704326</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-02-02T19:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477254#M704327</link>
      <description>Partha,&lt;BR /&gt;&lt;BR /&gt;It seems as if your  maxssiz tunable parameter is not set properly. Just post what is the value of this parameter in the output of 'kmtune -l'&lt;BR /&gt;&lt;BR /&gt;Alongwith brief system Config.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devender</description>
      <pubDate>Wed, 02 Feb 2005 19:39:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477254#M704327</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-02-02T19:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477255#M704328</link>
      <description>How much memory are you trying allocate with the program? &lt;BR /&gt;Ans: Can you let me know how to find it ?.&lt;BR /&gt;&lt;BR /&gt;You may need to take a look at your max*siz kernel parameters. What are their current values? &lt;BR /&gt;&lt;BR /&gt;Ans: Is there is some command using which I can query the kernel parameters ?. As, I am not the UNIX administrator, I don't have the above details. Please help.</description>
      <pubDate>Wed, 02 Feb 2005 19:43:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477255#M704328</guid>
      <dc:creator>Parthasarathy_1</dc:creator>
      <dc:date>2005-02-02T19:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477256#M704329</link>
      <description>SIGSEGV is a defect in your program. You typically&lt;BR /&gt;get segmenation violation if you are trying to access&lt;BR /&gt;outside the boundary of your memory. For example,&lt;BR /&gt;accessing memory outside the bounds of an array,&lt;BR /&gt;trying to write into read-only memory or de-referencing&lt;BR /&gt;a NULL pointer. Check for possible presence of these&lt;BR /&gt;problems in your code. &lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2005 19:44:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477256#M704329</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-02-02T19:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477257#M704330</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Below are the requested details.&lt;BR /&gt;&lt;BR /&gt;System Configuration :&lt;BR /&gt;HP9000/RP7400 with 2 550MHz CPU's, 4GB of memory and 8GB of swap space.&lt;BR /&gt;&lt;BR /&gt;Kernel Parameters:&lt;BR /&gt;The parameters are:&lt;BR /&gt; maxdsiz 2063835136&lt;BR /&gt; maxdsiz_64bit 0x80000000&lt;BR /&gt; maxssiz 0x8000000&lt;BR /&gt; maxssiz_64bit 0x40000000&lt;BR /&gt; maxtsiz  0x4000000&lt;BR /&gt; maxtsiz_64bit 0x40000000&lt;BR /&gt;&lt;BR /&gt;The output of kmtune is attached:</description>
      <pubDate>Wed, 02 Feb 2005 20:10:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477257#M704330</guid>
      <dc:creator>Parthasarathy_1</dc:creator>
      <dc:date>2005-02-02T20:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477258#M704331</link>
      <description>SIGSEGV is a programm issue and not kernel tunable&lt;BR /&gt;issue. &lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2005 21:14:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477258#M704331</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-02-02T21:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477259#M704332</link>
      <description>Actually a segmentation violation could be either a programming error or the result of hitting a kernel limit. In order to nail down what is actually happening you need to examine the core file with a debugger (e.g. gdb) and get a stack trace. If you compile with the -g option and let that executable die and then examine the resulting the core with a debugger there is a rather good change that the stak trace will point you to the exact source code line. Until you examine the stack trace (or possibly put probes in your code), all other approaches are simply using "The Force".&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2005 22:12:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477259#M704332</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-02-02T22:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477260#M704333</link>
      <description>I think, if you see a SIGSEGV because of hitting a&lt;BR /&gt;kernel limit, you should contact HP representative&lt;BR /&gt;and file a defect.&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2005 23:30:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477260#M704333</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-02-02T23:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477261#M704334</link>
      <description>Partha,&lt;BR /&gt;&lt;BR /&gt;In my last post, I said:&lt;BR /&gt;&amp;gt; I think, if you see a SIGSEGV because of hitting a&lt;BR /&gt;&amp;gt; kernel limit, you should contact HP representative&lt;BR /&gt;&amp;gt; and file a defect.&lt;BR /&gt;&lt;BR /&gt;I think it came out a little different than I intended&lt;BR /&gt;it to. So let me clarify that. There are only few &lt;BR /&gt;conditions, like a program overflowing the stack, &lt;BR /&gt;when SIGSEGV can happen because of inadequate &lt;BR /&gt;value of kernel parameter. This is because  the&lt;BR /&gt;program needs a stack larger than 'maxssiz'. You&lt;BR /&gt;might have hit that in your case if there is no &lt;BR /&gt;problem with your code (can be confirmed by following  A. Clay Stephenson's suggestion of&lt;BR /&gt;compiling with -g option). If the problem is in your&lt;BR /&gt;code, you will hit SIGSEGV even if you increase &lt;BR /&gt;'maxssiz'. In general, SIGSEGV can happen because&lt;BR /&gt;of 2 conditions, 1) illegal address being referenced&lt;BR /&gt;and 2) invalid permission for the address.&lt;BR /&gt;&lt;BR /&gt;Hope this is clear now.&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Feb 2005 00:28:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error/m-p/3477261#M704334</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-02-03T00:28:05Z</dc:date>
    </item>
  </channel>
</rss>

