- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- " Core" not in executable format: File format not ...
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
тАО02-17-2010 06:50 AM
тАО02-17-2010 06:50 AM
" Core" not in executable format: File format not recognized - HP Itanium
I see the following error when I try to debug a core file into gdb.
# gdb core
HP gdb 6.1 for HP Itanium (32 or 64 bit) and target HP-UX 11iv2 and 11iv3.
Copyright 1986 - 2009 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 6.1 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
.."/core": not in executable format: File format not recognized
I have attached the elfdump output of core file as well .
- Tags:
- gdb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2010 06:58 AM
тАО02-17-2010 06:58 AM
Re: " Core" not in executable format: File format not recognized - HP Itanium
$ gdb executable core
If you need to move to another machine, the gdb packcore command can help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2010 07:23 AM
тАО02-17-2010 07:23 AM
Re: " Core" not in executable format: File format not recognized - HP Itanium
I run my program pr0sign and it crashes , when I check the core file , I find that the trigger of the crash happens at
#27 0x60000000d5830a70:0 in RtEventLog::Initialize (this=0x7fff2d00)
at ./RtEvtLog.CPP:1109
Now I run the program pr0sign in gdb , and try to set a brek point at the above point .
/users/yadvecha/ISLHPIA02/RTWIN/720/Source/HPIA23DebugUni> gdb pr0sign
HP gdb 6.1 for HP Itanium (32 or 64 bit) and target HP-UX 11iv2 and 11iv3.
Copyright 1986 - 2009 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 6.1 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..
(gdb) break main
Breakpoint 1 at 0x4011a90:1: file /users/mainsoft-v52-orig/mw/MainWin.C, line 319 from /home/yadvecha/ISLHPIA02/RTWIN/720/Source/HPIA23DebugUni/pr0sign.
(gdb) break /users/yadvecha/ISLHPIA02/RTWIN/720/Source/RTEVTLOG.CPP:1109
Breakpoint 2 (deferred) at "/users/yadvecha/ISLHPIA02/RTWIN/720/Source/RTEVTLOG.CPP:1109" ("/users/yadvecha/ISLHPIA02/RTWIN/720/Source/RTEVTLOG.CPP:1109" was not found).
Breakpoint deferred until a shared library containing "/users/yadvecha/ISLHPIA02/RTWIN/720/Source/RTEVTLOG.CPP:1109" is loaded.
Why does it show the above message ( unable to set breakpoint & defer it) , why am I unable to set the breakpoint 2 ?
Also If i run the gdb , it never stops at the breakpoint mentioned above.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2010 07:55 AM
тАО02-17-2010 07:55 AM
Re: " Core" not in executable format: File format not recognized - HP Itanium
#27 0x60000000d5830a70:0 in RtEventLog::Initialize ./RtEvtLog.CPP:1109
This is the statement after the call. You could set a breakpoint at the beginning of RtEventLog::Initialize and then step through it.
Or set a breakpoint just before the call:
b * 0x60000000d5830a70-16
>Why does it show the above message, why am I unable to set the breakpoint 2?
Because it never returns from that call?
Why do you think stopping in RtEventLog::Initialize will help? You want to step through all 27 frames to see where it goes wrong?
You can use the frame command to look at locals after the abort.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2010 01:06 PM
тАО02-26-2010 01:06 PM
Re: " Core" not in executable format: File format not recognized - HP Itanium
If you are happy with the answers you got, please read the following about assigning points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33
http://forums.itrc.hp.com/service/forums/pageList.do?userId=WW387958&listType=unassigned