- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Core dump when throw exception
Operating System - Linux
1748180
Members
4248
Online
108759
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО07-25-2006 02:38 AM
тАО07-25-2006 02:38 AM
Hi.
I have such problem.
System: HP-UX ahka B.11.23 U 9000/800 576770528 unlimited-user license
GCC 64-bit compiler 4.1.1
simple test:
--------------------------------------------
#include
#include
using namespace std;
int main(int argc, char** argv)
{
cout<<"Hello world from std exception"< try {
throw runtime_error("Runtime error");
}
catch(exception& err) {
cerr< }
return 0;
}
--------------------------------------------
compiled with string: g++ -g gcc64test.cpp -o gcc64test
When i run tis test, it core dumped.
When i try see core by GDB, it dumped in core itself.
On Itanium system this test works correctly.
I have such problem.
System: HP-UX ahka B.11.23 U 9000/800 576770528 unlimited-user license
GCC 64-bit compiler 4.1.1
simple test:
--------------------------------------------
#include
#include
using namespace std;
int main(int argc, char** argv)
{
cout<<"Hello world from std exception"<
throw runtime_error("Runtime error");
}
catch(exception& err) {
cerr<
return 0;
}
--------------------------------------------
compiled with string: g++ -g gcc64test.cpp -o gcc64test
When i run tis test, it core dumped.
When i try see core by GDB, it dumped in core itself.
On Itanium system this test works correctly.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 04:03 PM
тАО07-25-2006 04:03 PM
Re: Core dump when throw exception
Vadim,
I am not a c++ programmer, I am more of a C programmer. However, I am wondering if you need the option for optimizing this code on hp-pa architecture.
Nik
I am not a c++ programmer, I am more of a C programmer. However, I am wondering if you need the option for optimizing this code on hp-pa architecture.
Nik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 09:16 PM
тАО07-25-2006 09:16 PM
Re: Core dump when throw exception
Hi Nik.
I don't listen about hp_pa optimization options for gcc. Can you give me some example?
I don't listen about hp_pa optimization options for gcc. Can you give me some example?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2006 02:46 AM
тАО07-26-2006 02:46 AM
Solution
This is a GCC alignment bug. It looks like it is in GCC 4.1.0 and 4.1.1. The bug does not appear to be in 4.0.3 and I tested no-yet-released versions of 4.1.2 and 4.2. These have the fix in them, so they should be OK when they are released. If you want to use officially released GCC bits I would recommend 4.0.3.
I don't believe there is any workaround for this problem since the problem is with the alignment of data in the GCC library.
I don't believe there is any workaround for this problem since the problem is with the alignment of data in the GCC library.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP