<?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: core file is not being generated in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-is-not-being-generated/m-p/3935166#M762556</link>
    <description>Not all program terminations result in a core file being generated. It also depends upon the signal handler that is in effect for a given signal for the process at the time. The very first thing to check is if you have write permissions in the CWD of the process. Bear in mind, it is possible for the application to do a chdir() so the directory that you started the process in might not be the CWD. One approach would be to use tusc to attach to the process. That should get you in the neighborhood of the problem though admittedly not as well as a stack trace would.</description>
    <pubDate>Tue, 30 Jan 2007 14:50:08 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2007-01-30T14:50:08Z</dc:date>
    <item>
      <title>core file is not being generated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-is-not-being-generated/m-p/3935165#M762555</link>
      <description>I have an executable running under HP-UX11 that is terminating abnormally but is not generating a core file to allow me to debug it.  Other applications do create a core file.  All of them were compiled using the aCC compiler but this is the only multi-threaded application.  Any suggestions?</description>
      <pubDate>Tue, 30 Jan 2007 14:39:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-is-not-being-generated/m-p/3935165#M762555</guid>
      <dc:creator>Scott Kolb</dc:creator>
      <dc:date>2007-01-30T14:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: core file is not being generated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-is-not-being-generated/m-p/3935166#M762556</link>
      <description>Not all program terminations result in a core file being generated. It also depends upon the signal handler that is in effect for a given signal for the process at the time. The very first thing to check is if you have write permissions in the CWD of the process. Bear in mind, it is possible for the application to do a chdir() so the directory that you started the process in might not be the CWD. One approach would be to use tusc to attach to the process. That should get you in the neighborhood of the problem though admittedly not as well as a stack trace would.</description>
      <pubDate>Tue, 30 Jan 2007 14:50:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-is-not-being-generated/m-p/3935166#M762556</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-01-30T14:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: core file is not being generated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-is-not-being-generated/m-p/3935167#M762557</link>
      <description>Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;The application does have write permission in the CWD.  I have used gdb to attach to the process and dump a core.  Unfortunately, this problem only occurs after running for several hours under high load and it is intermittent. Application tracing does not show anything unusual but then it suddenly stops and the process exits.&lt;BR /&gt;&lt;BR /&gt;My signal handlers print the signal before  exiting but I'm not getting any of that output. Under Solaris, the signal handlers do show the signals and generate a core.  I'm thinking that I'm missing some OS patch or compile time option but I've been unable to find anything.&lt;BR /&gt;&lt;BR /&gt;I forgot about tusc and will try it.  The output file will be huge but it is something.</description>
      <pubDate>Tue, 30 Jan 2007 15:16:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-is-not-being-generated/m-p/3935167#M762557</guid>
      <dc:creator>Scott Kolb</dc:creator>
      <dc:date>2007-01-30T15:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: core file is not being generated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-is-not-being-generated/m-p/3935168#M762558</link>
      <description>&amp;gt;Application tracing does not show anything unusual but then it suddenly stops and the process exits.&lt;BR /&gt;&lt;BR /&gt;In a debugger you can put breakpoints at exit, _exit and abort, etc., so you can catch those.</description>
      <pubDate>Tue, 30 Jan 2007 23:30:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-is-not-being-generated/m-p/3935168#M762558</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-01-30T23:30:17Z</dc:date>
    </item>
  </channel>
</rss>

