- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CORE in PERL process?!?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2004 07:34 PM
тАО09-02-2004 07:34 PM
CORE in PERL process?!?
we run a PERL process, which sometimes calls executable libraries; at a certain moment the process dumps because of a SIGSEGV .... it produces a core file ....
A PERL program can really produce a core?!?
How can I get informations from the core? i.e. where the memory fault occurred.....
Thanks a lot
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2004 07:51 PM
тАО09-02-2004 07:51 PM
Re: CORE in PERL process?!?
Memory Usage - ├в What is using all of the memory├в ?
by:eric.herberholz@hp.com
Last modified: August 19, 2004
Latest version available at external ftp site:
ftp://eh:spear9@hprc.external.hp.com/memory.htm
Look at J
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2004 08:27 PM
тАО09-02-2004 08:27 PM
Re: CORE in PERL process?!?
You can start to debug core file as,
file core
what core
I hope you knew some informations there on core file. core file is created because of getting signals for the memory problem.
It is good to start with debuggine mode to know the problem more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2004 08:32 PM
тАО09-02-2004 08:32 PM
Re: CORE in PERL process?!?
very difficult to run in debug mode...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2004 08:37 PM
тАО09-02-2004 08:37 PM
Re: CORE in PERL process?!?
is there a similar tool for PERL modules?
by file and what I can get very few informations on the core, or better, on what caused the core (the SIGSEGV)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2004 08:47 PM
тАО09-02-2004 08:47 PM
Re: CORE in PERL process?!?
then use a debugger such as gdb to get a stack trace (perl path here is an example):
gdb /opt/perl/bin/perl core
gdb's backtrace (bt) command gives you the stack trace. you can also list the shared libraries loaded using "info sharedlibrary". if the backtrace is unable to list names of functions, you can check the instruction address and try finding out which shared library it was in, using the output of "info sharedlibrary".
--
ranga
[i work for hpe]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2004 09:20 PM
тАО09-02-2004 09:20 PM
Re: CORE in PERL process?!?
A running perl script is nothing more than the perl process that runs the compiled script.
Problems arise when perl forks of other processes that crash, like when using DBI and backend SQL processes are started
Enjoy, Have FUN! H.Merijn