<?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: how to debug the core dump file created by perl script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744398#M656144</link>
    <description>Hi Manix,&lt;BR /&gt;&lt;BR /&gt;I have tried that way, but the gdb will report "not in executable format: File format not recognized".&lt;BR /&gt;&lt;BR /&gt;I want to see the stack where the coredump happened. &lt;BR /&gt;&lt;BR /&gt;Kevin</description>
    <pubDate>Thu, 27 Jan 2011 08:04:16 GMT</pubDate>
    <dc:creator>yangk</dc:creator>
    <dc:date>2011-01-27T08:04:16Z</dc:date>
    <item>
      <title>how to debug the core dump file created by perl script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744396#M656142</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I have a perl script which create a core dump,&lt;BR /&gt;&lt;BR /&gt;root# file core.22&lt;BR /&gt;core.22:        ELF-32 core file - IA64 from 'test' - received SIGSEGV&lt;BR /&gt;&lt;BR /&gt;So is there any method which i can see the stack where the core happens?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;Kevin</description>
      <pubDate>Thu, 27 Jan 2011 02:31:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744396#M656142</guid>
      <dc:creator>yangk</dc:creator>
      <dc:date>2011-01-27T02:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the core dump file created by perl script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744397#M656143</link>
      <description>#try gdb &lt;APPLICATION path=""&gt; core file&lt;BR /&gt;example ..gdb /opt/bin/script.pl /core&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Manix&lt;/APPLICATION&gt;</description>
      <pubDate>Thu, 27 Jan 2011 06:10:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744397#M656143</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-01-27T06:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the core dump file created by perl script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744398#M656144</link>
      <description>Hi Manix,&lt;BR /&gt;&lt;BR /&gt;I have tried that way, but the gdb will report "not in executable format: File format not recognized".&lt;BR /&gt;&lt;BR /&gt;I want to see the stack where the coredump happened. &lt;BR /&gt;&lt;BR /&gt;Kevin</description>
      <pubDate>Thu, 27 Jan 2011 08:04:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744398#M656144</guid>
      <dc:creator>yangk</dc:creator>
      <dc:date>2011-01-27T08:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the core dump file created by perl script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744399#M656145</link>
      <description>Hello Kevin,&lt;BR /&gt;&lt;BR /&gt;Please try with below options as per man page.&lt;BR /&gt;Should work ,do check the permissions.&lt;BR /&gt;&lt;BR /&gt;gdb [-help] [-e executable-name] [-pid] [-c corefile-name]&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Manix</description>
      <pubDate>Thu, 27 Jan 2011 08:29:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744399#M656145</guid>
      <dc:creator>Manix</dc:creator>
      <dc:date>2011-01-27T08:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the core dump file created by perl script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744400#M656146</link>
      <description>When you're examining a core dump produced by a script, the executable should be the script interpreter, i.e. the "perl" binary in your case.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 27 Jan 2011 09:36:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744400#M656146</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-01-27T09:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the core dump file created by perl script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744401#M656147</link>
      <description>Hi MK,&lt;BR /&gt;&lt;BR /&gt;Ok, i try your way to debug the core.&lt;BR /&gt;root # gdb /usr/bin/perl core&lt;BR /&gt;&lt;BR /&gt;warning: core file may not match specified executable file.&lt;BR /&gt;Core was generated by `test'.&lt;BR /&gt;Program terminated with signal 11, Segmentation fault.&lt;BR /&gt;SEGV_MAPERR - Address not mapped to object&lt;BR /&gt;&lt;BR /&gt;warning: Some of the libraries in the core file are different from the libraries on this computer.  It might be possible to proceed with your debugging process successfully.  However, if you run into problems you must use packcore command or use the versions of the libraries used by the core.  The mismatches are:&lt;BR /&gt;&lt;BR /&gt;  /usr/lib/hpux32/libnsl.so.1 in the core file is different from&lt;BR /&gt;  /usr/lib/hpux32/libnsl.so.1 used by gdb&lt;BR /&gt;&lt;BR /&gt;  /usr/lib/hpux32/libnss_nis.so.1 in the core file is different from&lt;BR /&gt;  /usr/lib/hpux32/libnss_nis.so.1 used by gdb&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: No unwind information found.&lt;BR /&gt; Skipping this library /usr/lib/hpux32/libcl.so.1.&lt;BR /&gt;&lt;BR /&gt;#0  0x60000000c03a3260:0 in tree_delete+0x20 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0x60000000c03a3260:0 in tree_delete+0x20 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#1  0x60000000c039fe50:0 in real_realloc+0x1410 ()&lt;BR /&gt;   from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#2  0x60000000c039ea00:0 in _realloc+0xa0 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#3  0x60000000c03ac2f0:0 in realloc+0x230 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#4  0x60000000c8bf0c80:0 in Perl_safesysrealloc () at util.c:124&lt;BR /&gt;#5  0x60000000c8c55670:0 in Perl_sv_grow () at sv.c:1660&lt;BR /&gt;#6  0x60000000c4f7a4b0:0 in PerlIOScalar_write () at scalar.xs:132&lt;BR /&gt;#7  0x60000000c8d89e90:0 in Perl_PerlIO_write () at perlio.c:1593&lt;BR /&gt;#8  0x60000000c8d34e20:0 in Perl_do_print () at doio.c:1354&lt;BR /&gt;#9  0x60000000c8c36d00:0 in Perl_pp_print () at pp_hot.c:625&lt;BR /&gt;#10 0x60000000c8c2fc00:0 in Perl_runops_standard () at run.c:38&lt;BR /&gt;#11 0x60000000c8b32220:0 in S_run_body () at perl.c:2361&lt;BR /&gt;#12 0x60000000c8b319b0:0 in perl_run () at perl.c:2283&lt;BR /&gt;#13 0x4001ff0:0 in main () at perlmain.c:99&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But it seems that we can not see where the perl script create coredump.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Kevin</description>
      <pubDate>Thu, 27 Jan 2011 10:15:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744401#M656147</guid>
      <dc:creator>yangk</dc:creator>
      <dc:date>2011-01-27T10:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the core dump file created by perl script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744402#M656148</link>
      <description>Hi Kevin:&lt;BR /&gt;&lt;BR /&gt;I think you want to read the section entitled "Debugging" here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://perldoc.perl.org/perlhack.html" target="_blank"&gt;http://perldoc.perl.org/perlhack.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 27 Jan 2011 13:45:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744402#M656148</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-01-27T13:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the core dump file created by perl script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744403#M656149</link>
      <description>#0 0x60000000c03a3260:0 in tree_delete+0x20  /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#1 0x60000000c039fe50:0 in real_realloc+0x1410&lt;BR /&gt;#2 0x60000000c039ea00:0 in _realloc+0xa0&lt;BR /&gt;#3 0x60000000c03ac2f0:0 in realloc+0x230&lt;BR /&gt;#4 0x60000000c8bf0c80:0 in Perl_safesysrealloc util.c:124&lt;BR /&gt;#5 0x60000000c8c55670:0 in Perl_sv_grow  sv.c:1660&lt;BR /&gt;#6 0x60000000c4f7a4b0:0 in PerlIOScalar_write  scalar.xs:132&lt;BR /&gt;&lt;BR /&gt;This indicates that perl has corrupted the heap.</description>
      <pubDate>Fri, 28 Jan 2011 12:07:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-debug-the-core-dump-file-created-by-perl-script/m-p/4744403#M656149</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-01-28T12:07:18Z</dc:date>
    </item>
  </channel>
</rss>

