- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Bus error: 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
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
тАО08-27-2001 03:17 AM
тАО08-27-2001 03:17 AM
Bus error: core dump
successfully compiled but now have a problem with. The problem is that it crashes immediately. It receives a SIGBUS and then cores. When debugging I noticed that it cores before it even does anything in main function. If I place a breakpoint before all the commands in main the core still happens. The program has been compiled on other platforms and it creates for threads, but here on HP I suspect that the core happens when the threads get created. The program uses dce and I am linking with libdce.
I would appreciate any help very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2001 06:35 AM
тАО08-27-2001 06:35 AM
Re: Bus error: core dump
The bus was unable to resolve the memory location that you wanted.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2003 08:42 AM
тАО10-10-2003 08:42 AM
Re: Bus error: core dump
Are you using aCC? If so you may need to use the -mt command line option in order to use threads. I hope this helps.
http://docs.hp.com/hpux/onlinedocs/dev/aCC/a_03_30/options.htm#option-mt
-Jeremy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2003 07:50 AM
тАО10-11-2003 07:50 AM
Re: Bus error: core dump
to resolve this problem please recompile your source code on this platform. If you'll try to run 2.0 code on 1.0 or 64bit code on 32bit system I guess it will not work
Eugeny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2003 09:33 PM
тАО10-12-2003 09:33 PM
Re: Bus error: core dump
Problem with DCE comes most probably from thread libraries.
Please have a look:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=73484
Be sure you do not link with libpthread.sl and libcma.sl to the same program (this must be ensured together with all other involved libraries also).
Good luck
Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2003 04:23 AM
тАО10-15-2003 04:23 AM
Re: Bus error: core dump
Your program will run constructor code for C++ global variables before it starts to run main. You may have a simple problem that can be debugged in your C++ constructors.
People are suggesting many ways to cause a crash. There are indeed very many ways. It would be more efficient to give more information, such as OS version, compiler versions, link line, and stack trace. That would rapidly narrow the search for a cause.