<?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: Crash in U_STACK_TRACE function in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/crash-in-u-stack-trace-function/m-p/4310871#M670099</link>
    <description>&amp;gt;What type of crash? Signal 11 stack overflow?&lt;BR /&gt;Do you have the latest Unwind Lib patches? PHSS_38139 for 11.31.&lt;BR /&gt;&lt;BR /&gt;I am getting SIGSEGV.&lt;BR /&gt;I do not have latest patch of libunwind.so.1. &lt;BR /&gt;&lt;BR /&gt;&amp;gt; Is there any specific reason for this behavior?&lt;BR /&gt;&lt;BR /&gt;Thread dump showed that even with stack size cap of 8192, stack was not fully used still I got the crash. However with increased stack size this was prevented. That is why I asked.</description>
    <pubDate>Sat, 22 Nov 2008 04:39:22 GMT</pubDate>
    <dc:creator>Harin Vadodaria</dc:creator>
    <dc:date>2008-11-22T04:39:22Z</dc:date>
    <item>
      <title>Crash in U_STACK_TRACE function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crash-in-u-stack-trace-function/m-p/4310869#M670097</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am calling U_STACK_TRACE function from my application and getting crash at following location&lt;BR /&gt;&lt;BR /&gt;#11 0xc00000000192c9a0:0 in uwx_restore_reg+0x1a0 ()&lt;BR /&gt;from /usr/lib/hpux64/libunwind.so.1&lt;BR /&gt;#12 0xc000000001950d60:0 in uwx_step+0x15e0 ()&lt;BR /&gt;from /usr/lib/hpux64/libunwind.so.1&lt;BR /&gt;#13 0xc00000000195ed40:0 in _UNW_STACK_TRACE_COMMON(FILE*,uwx_env*,uwx_self_in&lt;BR /&gt;fo*)+0x120 () from /usr&lt;BR /&gt;/lib/hpux64/libunwind.so.1&lt;BR /&gt;#14 0xc00000000195eab0:0 in U_STACK_TRACE+0x1f0 ()&lt;BR /&gt;from /usr/lib/hpux64/libunwind.so.1 &lt;BR /&gt;&lt;BR /&gt;At this point ulimit -a says that stack limit for process is 8192&lt;BR /&gt;&lt;BR /&gt;When I increase stack space available for process by "ulimit -s" command, to some large value say 32767, I do not encounter the error!&lt;BR /&gt;&lt;BR /&gt;Is there any specific reason for this behavior?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 21 Nov 2008 14:48:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crash-in-u-stack-trace-function/m-p/4310869#M670097</guid>
      <dc:creator>Harin Vadodaria</dc:creator>
      <dc:date>2008-11-21T14:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Crash in U_STACK_TRACE function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crash-in-u-stack-trace-function/m-p/4310870#M670098</link>
      <description>&amp;gt;getting crash at following location&lt;BR /&gt;&lt;BR /&gt;What type of crash?  Signal 11 stack overflow?&lt;BR /&gt;Do you have the latest Unwind Lib patches?  PHSS_38139 for 11.31.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Is there any specific reason for this behavior?&lt;BR /&gt;&lt;BR /&gt;You have answered your own question.  You must have a large enough stack to call U_STACK_TRACE.</description>
      <pubDate>Fri, 21 Nov 2008 15:07:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crash-in-u-stack-trace-function/m-p/4310870#M670098</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-11-21T15:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Crash in U_STACK_TRACE function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crash-in-u-stack-trace-function/m-p/4310871#M670099</link>
      <description>&amp;gt;What type of crash? Signal 11 stack overflow?&lt;BR /&gt;Do you have the latest Unwind Lib patches? PHSS_38139 for 11.31.&lt;BR /&gt;&lt;BR /&gt;I am getting SIGSEGV.&lt;BR /&gt;I do not have latest patch of libunwind.so.1. &lt;BR /&gt;&lt;BR /&gt;&amp;gt; Is there any specific reason for this behavior?&lt;BR /&gt;&lt;BR /&gt;Thread dump showed that even with stack size cap of 8192, stack was not fully used still I got the crash. However with increased stack size this was prevented. That is why I asked.</description>
      <pubDate>Sat, 22 Nov 2008 04:39:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crash-in-u-stack-trace-function/m-p/4310871#M670099</guid>
      <dc:creator>Harin Vadodaria</dc:creator>
      <dc:date>2008-11-22T04:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Crash in U_STACK_TRACE function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crash-in-u-stack-trace-function/m-p/4310872#M670100</link>
      <description>&amp;gt;I am getting SIGSEGV.&lt;BR /&gt;&lt;BR /&gt;But are you getting stack overflow?  Or have you enabled sigaltstack(2)?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I do not have latest patch of libunwind.so.1. &lt;BR /&gt;&lt;BR /&gt;Make it so.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Thread dump showed that even with stack size cap of 8192, stack was not fully used&lt;BR /&gt;&lt;BR /&gt;What's this?  Are you dealing with the main stack or a thread stack?&lt;BR /&gt;If the latter, 1/2 of the stack is used for the RSE stack.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;with increased stack size this was prevented. That is why I asked.&lt;BR /&gt;&lt;BR /&gt;Again, your changes answered your question.&lt;BR /&gt;You should ignore the incorrect/lying "Thread dump".</description>
      <pubDate>Sat, 22 Nov 2008 07:14:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crash-in-u-stack-trace-function/m-p/4310872#M670100</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-11-22T07:14:50Z</dc:date>
    </item>
  </channel>
</rss>

