<?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 SIGSEGV error after HP UX 11.11 upgrade in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117930#M686901</link>
    <description>Hello All,&lt;BR /&gt;          We had an OS upgrade for HP itanium from HP UX 11.00 to HP UX 11.11 and aCC compiler upgrade from A.03.33 to A.03.45. I have a pro*C code which was compiled and running using old configuration. After upgrade the code errors out with SIGSEGV error for insufficent stack size or maxdsize and coredumps.&lt;BR /&gt;I am using -o -s -Wl,-archive,+vnocompatwarnings switches while compiling and also tried using +DA2.0 along with the above switches. But all of them fail.&lt;BR /&gt;I am specifying -lclntst9  -lclient9 -ln9 -lnl9 -lnro9 -lntcp9 -ltrace9 -lvsn9 -lcommon9 -lgeneric9 -lpls9 -lplp9 -lmm -lnls9 -lcore9 -l:libcl.sl -l:librt.sl -lpthread -l:libnss_dns.1 -l:libdld.sl -lm while linking.&lt;BR /&gt; Are there any specific patches I need to apply or am I missing out any switches while compiling.&lt;BR /&gt; Thanks&lt;BR /&gt; Shishir  &lt;BR /&gt;</description>
    <pubDate>Mon, 07 Jul 2008 17:04:24 GMT</pubDate>
    <dc:creator>Shishir K</dc:creator>
    <dc:date>2008-07-07T17:04:24Z</dc:date>
    <item>
      <title>SIGSEGV error after HP UX 11.11 upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117930#M686901</link>
      <description>Hello All,&lt;BR /&gt;          We had an OS upgrade for HP itanium from HP UX 11.00 to HP UX 11.11 and aCC compiler upgrade from A.03.33 to A.03.45. I have a pro*C code which was compiled and running using old configuration. After upgrade the code errors out with SIGSEGV error for insufficent stack size or maxdsize and coredumps.&lt;BR /&gt;I am using -o -s -Wl,-archive,+vnocompatwarnings switches while compiling and also tried using +DA2.0 along with the above switches. But all of them fail.&lt;BR /&gt;I am specifying -lclntst9  -lclient9 -ln9 -lnl9 -lnro9 -lntcp9 -ltrace9 -lvsn9 -lcommon9 -lgeneric9 -lpls9 -lplp9 -lmm -lnls9 -lcore9 -l:libcl.sl -l:librt.sl -lpthread -l:libnss_dns.1 -l:libdld.sl -lm while linking.&lt;BR /&gt; Are there any specific patches I need to apply or am I missing out any switches while compiling.&lt;BR /&gt; Thanks&lt;BR /&gt; Shishir  &lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jul 2008 17:04:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117930#M686901</guid>
      <dc:creator>Shishir K</dc:creator>
      <dc:date>2008-07-07T17:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV error after HP UX 11.11 upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117931#M686902</link>
      <description>HI:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; We had an OS upgrade for HP itanium from HP UX 11.00 to HP UX 11.11 and aCC compiler upgrade from A.03.33 to A.03.45.&lt;BR /&gt;&lt;BR /&gt;First, Itanium servers require something later than 11.11 --- either 11.23 or 11.31.&lt;BR /&gt;&lt;BR /&gt;Version A.03.45 is very old (ca. 2003).&lt;BR /&gt;&lt;BR /&gt;That said, you need to examine your 'maxdsiz' and 'maxssiz' kernel parameters with 'kmtune'.  increase those values appropriately, and try again.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 07 Jul 2008 17:31:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117931#M686902</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-07-07T17:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV error after HP UX 11.11 upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117932#M686903</link>
      <description>Hi James,&lt;BR /&gt;         I apologize for incorrect information. We had an upgrade for HP PA-RISC system from HP UX 11.00 to HP UX 11.11. I executed the ulimit -a command and here are the results&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         1048576&lt;BR /&gt;stack(kbytes)        131072&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jul 2008 17:41:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117932#M686903</guid>
      <dc:creator>Shishir K</dc:creator>
      <dc:date>2008-07-07T17:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV error after HP UX 11.11 upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117933#M686904</link>
      <description>Hi (again) Shirhir:&lt;BR /&gt;&lt;BR /&gt;The data and stack sizes shown in your 'ulimit' output far above the default values.&lt;BR /&gt;&lt;BR /&gt;You could also be out of sufficient swap space.  Do:&lt;BR /&gt;&lt;BR /&gt;# swapinfo -tam&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 07 Jul 2008 18:01:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117933#M686904</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-07-07T18:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV error after HP UX 11.11 upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117934#M686905</link>
      <description>Hi James,&lt;BR /&gt;         Below is the output of swapinfo -tam&lt;BR /&gt;&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        2048       0    2048    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev        3752       0    3752    0%       0       -    1  /dev/vg00/swap2&lt;BR /&gt;reserve       -     926    -926&lt;BR /&gt;memory    11879    4839    7040   41%&lt;BR /&gt;total     17679    5765   11914   33%       -       0    -&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jul 2008 18:08:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117934#M686905</guid>
      <dc:creator>Shishir K</dc:creator>
      <dc:date>2008-07-07T18:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV error after HP UX 11.11 upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117935#M686906</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;If you have 'glance' you could start running that and watch what happens to swap utilization during an abortive code run.  Otherwise, you could do something like:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt;    swapinfo -tam &amp;gt; /tmp/swapinfo&lt;BR /&gt;    sleep 5&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;...and launch that into the background to collect swap utiliztation data.&lt;BR /&gt;&lt;BR /&gt;What you have posted is undoubtedly not when your code fails, or if it is, then swap isn't our problem.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 07 Jul 2008 18:32:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117935#M686906</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-07-07T18:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV error after HP UX 11.11 upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117936#M686907</link>
      <description>Hi James,&lt;BR /&gt;         Am attaching the output of the swapinfo script when the exe failed with SIGSEGV. I took a snapshot every 10 seconds.&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Shishir&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jul 2008 19:30:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117936#M686907</guid>
      <dc:creator>Shishir K</dc:creator>
      <dc:date>2008-07-07T19:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV error after HP UX 11.11 upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117937#M686908</link>
      <description>Hi Shishir:&lt;BR /&gt;&lt;BR /&gt;You swap is fine.&lt;BR /&gt;&lt;BR /&gt;Can you post the values of maxssiz, maxssiz_64, maxdsiz, maxdsiz_64.&lt;BR /&gt;&lt;BR /&gt;Are you 32 or 64 bit?&lt;BR /&gt;&lt;BR /&gt;Your application manufacturer should have recommendations for the size of these kernel parameters.  Like with Oracle or SAP.  If home grown then check the previous values.</description>
      <pubDate>Mon, 07 Jul 2008 22:16:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117937#M686908</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2008-07-07T22:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV error after HP UX 11.11 upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117938#M686909</link>
      <description>&amp;gt;After upgrade the code errors out with SIGSEGV error for insufficient stack size or maxdsiz and coredumps.&lt;BR /&gt;&lt;BR /&gt;Did you recompile or just try running existing executables?  The latest aC++ is A.03.80.&lt;BR /&gt;Have you gotten a stack trace to see why?&lt;BR /&gt;This could just be a simple recursive stack overflow.</description>
      <pubDate>Tue, 08 Jul 2008 11:15:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117938#M686909</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-08T11:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV error after HP UX 11.11 upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117939#M686910</link>
      <description>Hi,&lt;BR /&gt;   Thanks to all for your help. Actually debugged the code step by step and was able to fix SIGSEGV error which was coming. Still not able to understand how memcpy worked for -ve values(end - start +1) when input was empty character sequence in old compiler and not in latest one.&lt;BR /&gt;&lt;BR /&gt;GetString ( const char * input, unsigned short size ) const{&lt;BR /&gt;   char tmp[31];&lt;BR /&gt;        memset(tmp,'\0',31);&lt;BR /&gt;        int start=0, end=size-1;&lt;BR /&gt;        const char * ptr = input;&lt;BR /&gt;        while ( *ptr == ' ' )&lt;BR /&gt;        {       start++; ptr++;         }&lt;BR /&gt;        ptr = input + size - 1;&lt;BR /&gt;        while ( *ptr == ' ' )&lt;BR /&gt;        {       end--; ptr--;           }&lt;BR /&gt;        if( end &amp;gt; start + 1 )// not there earlier and added now to fix SIGSEGV&lt;BR /&gt;                memcpy(tmp,input+start,end-start+1);&lt;BR /&gt;        return string(tmp);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Can anybody shed any light on this.&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Shishir</description>
      <pubDate>Tue, 08 Jul 2008 13:15:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117939#M686910</guid>
      <dc:creator>Shishir K</dc:creator>
      <dc:date>2008-07-08T13:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV error after HP UX 11.11 upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117940#M686911</link>
      <description>Hi,&lt;BR /&gt;   I think, my issue is similar to issue discussed in  the thread &lt;A href="http://forums12.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1215537879881+28353475&amp;amp;threadId=146257." target="_blank"&gt;http://forums12.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1215537879881+28353475&amp;amp;threadId=146257.&lt;/A&gt;&lt;BR /&gt;   I guess its an patch which must have come with upgrade and rightly so. I am closing the thread. Thank you very much for your help and patience.</description>
      <pubDate>Tue, 08 Jul 2008 16:27:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117940#M686911</guid>
      <dc:creator>Shishir K</dc:creator>
      <dc:date>2008-07-08T16:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV error after HP UX 11.11 upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117941#M686912</link>
      <description>memcpy() function has been patched and it gives SIGSEGV signal if negative parameter is specified as length to copy. This has happened for HP UX upgrade from 11.00 to 11i and further.</description>
      <pubDate>Tue, 08 Jul 2008 16:29:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117941#M686912</guid>
      <dc:creator>Shishir K</dc:creator>
      <dc:date>2008-07-08T16:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: SIGSEGV error after HP UX 11.11 upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117942#M686913</link>
      <description>&amp;gt;I think, my issue is similar to issue discussed in the thread  threadId=146257.&lt;BR /&gt;&lt;BR /&gt;Yes.  memcpy takes a size_t which is unsigned.  And a negative number is really a large unsigned number.  memcpy must be able to move more than 2 Gb, so a check was removed.  When you go beyond your stack bounds, you get a stack overflow.</description>
      <pubDate>Wed, 09 Jul 2008 01:26:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sigsegv-error-after-hp-ux-11-11-upgrade/m-p/5117942#M686913</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-09T01:26:25Z</dc:date>
    </item>
  </channel>
</rss>

