- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Memory fault(core dump)
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
04-29-2007 10:53 PM
04-29-2007 10:53 PM
Memory fault(core dump)
I am facing a strange problem.
I have migrated code from HP-UX11.11 to HP-UX11.23. We compiled the code successfully and created the new shared libraries.
For sanity testing of my application, I have a c program which takes batch number as an input and give the result as bathes.
For eg. If the input file is having 25 products, batch size is 5 ( Result is sucessful).
batch size is 4 (Result is successful).. Here it is taking entire file into 7 batches(last batch is having only one) in this case also result is successful.
In case last batch is having less than the batch size and more than one product.. the following error is coming.(eg: batch size is 7)
First 3 batches are successful
first product in last batch is successful.
Memory fault(core dump)
Note: In the old m/c, the same program or same executable very well working. No matter how many products are there in the input file, what is batch size.
But in the new m/c(HP-UX11.23), I am confused with the surprising behavior.
Anybody else is facing this kind of problem?.
Please advise me on this. Do I install any patches to avoid this error?
Please let me know in case you require any further information..
Regards,
Sathis.
- Tags:
- SIGSEGV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2007 08:52 PM
04-30-2007 08:52 PM
Re: Memory fault(core dump)
A number of points. As most of your questions are related to C code and libraries, I would suggest posting these in the "Languages and Scripting" sub-forum. I've moved your recent posts here to keep them together.
Please review the answers you've been given to your earlier posts and assign points to them. That both rewards the posters and lets others with similar problem assess how useful the answers may be to them. If you don't do this, and you don't give feedback to the suggestions you've received, you may find that the people who could help you lose interest in doing so.
Regarding the specific question, the description seems to have got garbled somehow, but if you are seeing a core dump, that is almost always a sign of a coding error. There are always differences between different architectures, and a coding error on one may cause a core dump and not on another. I suggest running a debugger on the core or on the program while its running to see which statement is causing the core dump; if for some reason you can't do that, add trace statements around the point at which it crashes to display all the variables at each stage; standard debugging procedures, in fact.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 01:59 AM
05-01-2007 01:59 AM
Re: Memory fault(core dump)
If you feel this issue is resolved, assign points and close this thread.
You have not assigned any points 0 out of 41 responses, hope you understand that people spend their valuable time helping you. Also read the forum guidelines in assigning points.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 02:17 AM
05-01-2007 02:17 AM
Re: Memory fault(core dump)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2007 05:14 PM
05-02-2007 05:14 PM
Re: Memory fault(core dump)
Clay is correct, you need to get a stack trace and use a debugger to see where the problem is.