- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to locate Perl program line that caused co...
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
Forums
Discussions
Discussions
Discussions
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
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
05-20-2001 07:16 PM
05-20-2001 07:16 PM
How to locate Perl program line that caused coredump?
One of our Perl program went into coredump. Can someone please tell me the ways to determine which line from within the program caused that?
Thanks
Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2001 11:19 PM
05-20-2001 11:19 PM
Re: How to locate Perl program line that caused coredump?
Have you tried:
1) #!/usr/local/bin/perl -w
2) Inserting "print STDOUT" statements inside your perl program
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2001 11:31 PM
05-20-2001 11:31 PM
Re: How to locate Perl program line that caused coredump?
The Perl program runs on production environment therefore adding print statements isn't preferred. It may as well generate too much warnings if the -w flag is on. The most difficult part of this problem is that it seems intermittent, which only occurs once every few months. Diagnostic would be a lot easier if the program line that caused the coredump can be located.
Rgds,
Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2001 12:21 AM
05-21-2001 12:21 AM
Re: How to locate Perl program line that caused coredump?
#what core
#strings core|more
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2001 07:01 AM
05-22-2001 07:01 AM
Re: How to locate Perl program line that caused coredump?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 01:38 AM
05-29-2001 01:38 AM
Re: How to locate Perl program line that caused coredump?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 01:41 AM
05-29-2001 01:41 AM
Re: How to locate Perl program line that caused coredump?
gdb program
(gdb) run [parameters]
It will run the program and will tell you when it's breaking.
(gdb) quit
Grato!