<?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: app crashing due to SIGSEGV .. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651203#M46091</link>
    <description>Here is the only thing that really stuck out when I did &lt;BR /&gt;strings core | more&lt;BR /&gt;&lt;BR /&gt; HP3000 mode packed decimal error &lt;BR /&gt; Check true/false trap &lt;BR /&gt; Signal  1: hangup&lt;BR /&gt; Signal  2: interrupt&lt;BR /&gt; Signal  3: quit&lt;BR /&gt; Signal  4: illegal instruction&lt;BR /&gt; Signal  5: trace trap&lt;BR /&gt; Signal  6: abort&lt;BR /&gt; Signal  7: not enough memory available&lt;BR /&gt; Signal  8: floating point exception&lt;BR /&gt; Signal  9: kill&lt;BR /&gt; Signal 10: bus error&lt;BR /&gt; Signal 11: segmentation violation&lt;BR /&gt; Signal 12: bad argument for system call&lt;BR /&gt; Signal 13: write on a pipe with no one to read&lt;BR /&gt; Signal 14: alarm clock trap&lt;BR /&gt; Signal 15: software termination signal&lt;BR /&gt; Signal 16: user defined signal 1 trap&lt;BR /&gt; Signal 17: user defined signal 2 trap&lt;BR /&gt; Signal 18: death of a child&lt;BR /&gt; Signal 19: power fail&lt;BR /&gt;Error&amp;lt;2&amp;gt;: Out of memory while tracing stack.&lt;BR /&gt;Error&amp;lt;3&amp;gt;: Out of memory while tracing stack.&lt;BR /&gt;&lt;BR /&gt;Leads back to a memory problem .. right??&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 23 Jan 2002 20:16:00 GMT</pubDate>
    <dc:creator>someone_4</dc:creator>
    <dc:date>2002-01-23T20:16:00Z</dc:date>
    <item>
      <title>app crashing due to SIGSEGV ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651196#M46084</link>
      <description>I have a radius app that core dumbs ..&lt;BR /&gt;&lt;BR /&gt;core: core file from 'radiusd' - received SIGSEGV&lt;BR /&gt; &lt;BR /&gt; Well I have found out that  SIGSEGV is an Invalid memory reference. The radius is having some kind of memory issue.I was thinking of starting with increasing the kernel parameters maxdsiz, maxssiz and or maxtsiz. Maybe 2 to 3 times higher as I read on another post. But when I got in there thoose kernal params are not numbers. They are like &lt;BR /&gt;0x0000000040000000 &lt;BR /&gt;How do I increase that? &lt;BR /&gt;And am I going the right route over all with this issue.&lt;BR /&gt;&lt;BR /&gt;THanks&lt;BR /&gt;Richard.</description>
      <pubDate>Wed, 23 Jan 2002 18:00:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651196#M46084</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-01-23T18:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: app crashing due to SIGSEGV ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651197#M46085</link>
      <description>I believe that through sam, you can specify another formula or value by selecting the option after highlighting the parameter and selecting modify.  Otherwise, you can use a calculator like I sometimes do - enter in the number and hit hex.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 23 Jan 2002 18:04:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651197#M46085</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2002-01-23T18:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: app crashing due to SIGSEGV ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651198#M46086</link>
      <description>You can add a fixed number in the /stand/system file or via sam.&lt;BR /&gt;&lt;BR /&gt;You can also increase the number by &lt;BR /&gt;&lt;BR /&gt;replacing the 0x0004 with 0x006 for instance and it will increase the parms.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jan 2002 18:11:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651198#M46086</guid>
      <dc:creator>Krishna Prasad</dc:creator>
      <dc:date>2002-01-23T18:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: app crashing due to SIGSEGV ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651199#M46087</link>
      <description>So the old &lt;BR /&gt;0x0000000040000000&lt;BR /&gt;&lt;BR /&gt;would be &lt;BR /&gt;&lt;BR /&gt;0x0000000080000000 &lt;BR /&gt;&lt;BR /&gt;And that would increase it by 2x?&lt;BR /&gt;&lt;BR /&gt;Richard&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jan 2002 18:13:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651199#M46087</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-01-23T18:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: app crashing due to SIGSEGV ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651200#M46088</link>
      <description>Richard:&lt;BR /&gt;&lt;BR /&gt;The notation (0x) denotes hexadecimal values.  You might want to convert to decimal to decide if a new value is "reasonable", and then enter the new value in hexadecimal.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 23 Jan 2002 18:25:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651200#M46088</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-01-23T18:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: app crashing due to SIGSEGV ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651201#M46089</link>
      <description>Hi Richard:&lt;BR /&gt;&lt;BR /&gt;It is rather rare for a need to increase maxtsiz but in almost all cases 256MB-512MB is plenty. Maxssiz is almost always fine at 32MB or , in general, the programmer is an idiot (unenlightened, mentally challenged, you pick).&lt;BR /&gt;Maxdsiz is probably your boy. The danger to increasing any of these to really big values is that a process can then grab all the resources and bring a box to it's knees. &lt;BR /&gt;&lt;BR /&gt;Bear in mind, that your crash may have nothing to do with resource limits but may instead simply be a programming error.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jan 2002 18:31:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651201#M46089</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-01-23T18:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: app crashing due to SIGSEGV ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651202#M46090</link>
      <description>you need to look through the core file with strings and look for any error messages, I just had a similar problem on 11i, and it was a libc patch.</description>
      <pubDate>Wed, 23 Jan 2002 19:13:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651202#M46090</guid>
      <dc:creator>Kevin Wright</dc:creator>
      <dc:date>2002-01-23T19:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: app crashing due to SIGSEGV ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651203#M46091</link>
      <description>Here is the only thing that really stuck out when I did &lt;BR /&gt;strings core | more&lt;BR /&gt;&lt;BR /&gt; HP3000 mode packed decimal error &lt;BR /&gt; Check true/false trap &lt;BR /&gt; Signal  1: hangup&lt;BR /&gt; Signal  2: interrupt&lt;BR /&gt; Signal  3: quit&lt;BR /&gt; Signal  4: illegal instruction&lt;BR /&gt; Signal  5: trace trap&lt;BR /&gt; Signal  6: abort&lt;BR /&gt; Signal  7: not enough memory available&lt;BR /&gt; Signal  8: floating point exception&lt;BR /&gt; Signal  9: kill&lt;BR /&gt; Signal 10: bus error&lt;BR /&gt; Signal 11: segmentation violation&lt;BR /&gt; Signal 12: bad argument for system call&lt;BR /&gt; Signal 13: write on a pipe with no one to read&lt;BR /&gt; Signal 14: alarm clock trap&lt;BR /&gt; Signal 15: software termination signal&lt;BR /&gt; Signal 16: user defined signal 1 trap&lt;BR /&gt; Signal 17: user defined signal 2 trap&lt;BR /&gt; Signal 18: death of a child&lt;BR /&gt; Signal 19: power fail&lt;BR /&gt;Error&amp;lt;2&amp;gt;: Out of memory while tracing stack.&lt;BR /&gt;Error&amp;lt;3&amp;gt;: Out of memory while tracing stack.&lt;BR /&gt;&lt;BR /&gt;Leads back to a memory problem .. right??&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jan 2002 20:16:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651203#M46091</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-01-23T20:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: app crashing due to SIGSEGV ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651204#M46092</link>
      <description>Hi Richard:&lt;BR /&gt;&lt;BR /&gt;No, that does not necessarily lead back to a memory problem. Your strings command is simply dumping text error messages. I should say the text for potential error messages. These strings are no more meaningful than Name, Address, Phone Number. It's just program data. You will have to dig deeper.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jan 2002 20:25:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651204#M46092</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-01-23T20:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: app crashing due to SIGSEGV ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651205#M46093</link>
      <description>search through the strings output for errno, it should have something like that in the output..IE mine was an ld error, which lead me to the linker, which lead me to a libc patch, and that fixed the problem...</description>
      <pubDate>Wed, 23 Jan 2002 20:37:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651205#M46093</guid>
      <dc:creator>Kevin Wright</dc:creator>
      <dc:date>2002-01-23T20:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: app crashing due to SIGSEGV ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651206#M46094</link>
      <description>Ok digging in a little deeper .. I found this .. and it seems like nis/memory issue&lt;BR /&gt;Would it be save to start with Maxdsiz ? Or should I keep digging?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;mp: no free space&lt;BR /&gt;__itom1&lt;BR /&gt;__itom2&lt;BR /&gt;inet&lt;BR /&gt;inet&lt;BR /&gt;inet&lt;BR /&gt;inet&lt;BR /&gt;inet&lt;BR /&gt;/usr/lib/&lt;BR /&gt;/usr/lib/%s&lt;BR /&gt;_netdir_getbyname&lt;BR /&gt;_netdir_getbyaddr&lt;BR /&gt;_taddr2uaddr&lt;BR /&gt;_uaddr2taddr&lt;BR /&gt;_netdir_options&lt;BR /&gt;n2a: memory allocation failed &lt;BR /&gt;n2a: successful completion &lt;BR /&gt;n2a: hostname not found &lt;BR /&gt;n2a: service name not found &lt;BR /&gt;n2a: access denied for shared object &lt;BR /&gt;n2a: attempt to free unknown object &lt;BR /&gt;n2a: bad arguments passed to routine &lt;BR /&gt;n2a: unknown option passed &lt;BR /&gt;n2a: control operation failed &lt;BR /&gt;n2a: system error: %s &lt;BR /&gt;n2a: unknown error: %d &lt;BR /&gt;%s: %s&lt;BR /&gt;n2a: error&lt;BR /&gt;tpi_clts&lt;BR /&gt;tpi_cots&lt;BR /&gt;tpi_cots_ord&lt;BR /&gt;tpi_raw&lt;BR /&gt;/etc/netconfig&lt;BR /&gt;NETPATH&lt;BR /&gt;no error&lt;BR /&gt;out of memory&lt;BR /&gt;routine called before calling           setnetpath() or setnetconfig()&lt;BR /&gt;cannot open /etc/netconfig&lt;BR /&gt;%s %d %s %d&lt;BR /&gt;error in /etc/netconfig: field&lt;BR /&gt;of line %d&lt;BR /&gt;netid not found in /etc/netconfig&lt;BR /&gt;no more entries in /etc/netconfig&lt;BR /&gt;unknown error&lt;BR /&gt;%s: %s&lt;BR /&gt;NIS+:NisDirCacheEntry()::myConstructor - xdr_directory_obj failed&lt;BR /&gt;NIS+: NisDirCacheEntry::write_info :alignmemt error&lt;BR /&gt;NisDirCacheEntry::write: xdr_directory_obj failed&lt;BR /&gt;CacheBind: xdr_directory_obj failed&lt;BR /&gt;possible loop detected in name space (directory name:%s&lt;BR /&gt;NIS+: NisBindCache runtime error: pure virtual function print() called&lt;BR /&gt;/var/nis/NIS_SHARED_DIRCACHE&lt;BR /&gt;%s.tmpXXXXXX&lt;BR /&gt;NIS+: writeColdStartFile cannot open file '%s' for writing: %m&lt;BR /&gt;NIS+: writeColdStartFile: fdopen() failed for '%s': %m&lt;BR /&gt;NIS+: writeColdStartFile: could not chmod cold_start file: %m&lt;BR /&gt;NIS+: writeColdStartFile: xdr_directory_obj failed&lt;BR /&gt;NIS+: writeColdStartFile: error while renaming '%s' to '%s': (%m)&lt;BR /&gt;/var/nis/NIS_COLD_START&lt;BR /&gt;/var/nis/NIS_COLD_START&lt;BR /&gt;/var/nis/NIS_COLD_START&lt;BR /&gt;nis_cast: no memory&lt;BR /&gt;nis_cast: t_open: %s:%m&lt;BR /&gt;nis_cast: t_bind: %m&lt;BR /&gt;nis_cast: t_alloc: %m&lt;BR /&gt;nis_cast: ignoring host %s&lt;BR /&gt;nis_cast: no memory&lt;BR /&gt;nis_cast: no memory&lt;BR /&gt;nis_cast: %s: address not known&lt;BR /&gt;nis_cast: couldn't find addresses&lt;BR /&gt;nis_cast: select: %m&lt;BR /&gt;nis_cast: t_rcvudata: %s:%m&lt;BR /&gt;nis_cast: t_rcvudata: %s: buffer overflow&lt;BR /&gt;nis_cast: no memory&lt;BR /&gt;nis_cast: no memory&lt;BR /&gt;nis_cast: no memory&lt;BR /&gt;nis_cast: Unable to convert universal address %s for %s (%d).&lt;BR /&gt;nis_cast: accounting error.&lt;BR /&gt;nis_addmember: Out of memory&lt;BR /&gt;%s.%s&lt;BR /&gt;nis_addmember: Out of memory&lt;BR /&gt;%s.%s&lt;BR /&gt;nislib:insert_name out of memory.&lt;BR /&gt;nislib:insert_name out of memor&lt;BR /&gt;__nis_isadmin: buffer too small&lt;BR /&gt;%s.org_dir.%s&lt;BR /&gt;__nis_isadmin: could not lookup '%s' table&lt;BR /&gt;__nis_isadmin: not a table object&lt;BR /&gt;rpcbind&lt;BR /&gt;!z%s.%s&lt;BR /&gt;%s.%s%s&lt;BR /&gt;%s.%s&lt;BR /&gt;NIS_PATH&lt;BR /&gt;NIS_DIRECTORY&lt;BR /&gt;%s.%s&lt;BR /&gt;Success&lt;BR /&gt;Probable success&lt;BR /&gt;Not found&lt;BR /&gt;Probably not found&lt;BR /&gt;Cache expired&lt;BR /&gt;NIS+ servers unreachable&lt;BR /&gt;Unknown object&lt;BR /&gt;Server busy, try again&lt;BR /&gt;Generic system error&lt;BR /&gt;First/Next chain broken&lt;BR /&gt;Permission denied&lt;BR /&gt;outgoing connection pending&lt;BR /&gt;incomming connection pending&lt;BR /&gt;data transfer&lt;BR /&gt;outgoing release pending&lt;BR /&gt;incomming release pending&lt;BR /&gt;unknown state&lt;BR /&gt;max number of poll threads already running&lt;BR /&gt;net_init failed&lt;BR /&gt;out of memory&lt;BR /&gt;parameter error&lt;BR /&gt;no poll thread available&lt;BR /&gt;max number of listen threads already running&lt;BR /&gt;Host name not found in /etc/hosts&lt;BR /&gt;Internal error - data structure&lt;BR /&gt;Not in correct state for operation&lt;BR /&gt;Message with zero length found&lt;BR /&gt;service name not specified&lt;BR /&gt;connection rejected - too many users, or invalid user name&lt;BR /&gt;REQUESTS in TBCONFIG greater than %d</description>
      <pubDate>Fri, 25 Jan 2002 17:35:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651206#M46094</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-01-25T17:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: app crashing due to SIGSEGV ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651207#M46095</link>
      <description>The SIGSEGV error is within the program. As you guessed, it is a memory issue, but unless the program very badly written, not related to kernel parameters. It is a segmentation violation where the program is trying to use a non-existant portion the program's memory. That is very different than asking for more memory with a malloc request and not getting it--unless the program never checks for success and starts using the memory, a common newbie error.&lt;BR /&gt;&lt;BR /&gt;Without tracing the program's execution, there is nothing you can determine about the nature of the error. The strings command is simply dumping out every ASCII string in the program or core file--the result has nothing to do with the program's problem.&lt;BR /&gt;&lt;BR /&gt;As far as the kernel parameters, 0x0000000040000000 is indeed a number, in hexadecimal. SAM decodes this for you right underneath and 0x40000000 is 64 megs. Just delete the 0x... number and replace it with a desired value, perhaps 500 megs (ie, 500000000). maxdsiz is the only one you need to change. maxtsiz and maxssiz are likely just fine--unless the program has very special requirements, and of course, the programmer will have documented those kernel values for you.</description>
      <pubDate>Wed, 11 Jun 2003 00:33:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651207#M46095</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-06-11T00:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: app crashing due to SIGSEGV ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651208#M46096</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;SIGSEGV is generated when a process causes stack overflow.&lt;BR /&gt;&lt;BR /&gt;kernel parameter for 32 bit kernel : maxssiz is directly related to the stack.&lt;BR /&gt;&lt;BR /&gt;kernel parameter for 64 bit kernel : maxssiz_64bit is directly related to the stack.&lt;BR /&gt; &lt;BR /&gt;Increasing it will help to solve the problem.&lt;BR /&gt;&lt;BR /&gt;I hope you are running radiusd daemon as some other unprivileged user for security purpose.&lt;BR /&gt;&lt;BR /&gt;Then check the Resource limits set for that user ( EUID with which daemon runs )and also for root using this command.&lt;BR /&gt;&lt;BR /&gt;ulimit -s&lt;BR /&gt;&lt;BR /&gt;it should give the stack size limit for the user.&lt;BR /&gt;&lt;BR /&gt;eg:&lt;BR /&gt;&lt;BR /&gt;8192 ( in kbps )&lt;BR /&gt;&lt;BR /&gt;Try Increasing the user's ulimit stack size limit and start the daemon .&lt;BR /&gt;&lt;BR /&gt;ulimit -s 28000&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Jun 2003 07:41:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/app-crashing-due-to-sigsegv/m-p/2651208#M46096</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-06-11T07:41:29Z</dc:date>
    </item>
  </channel>
</rss>

