- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Undefined line in gdb
Operating System - HP-UX
1753385
Members
5687
Online
108792
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
тАО05-16-2007 10:02 AM
тАО05-16-2007 10:02 AM
The operating system is Hp-UX 11i
I'd compiled a program with -g option
I run this program (called genfhist.exe) and resulted in core dumped:
Bus error (core dumped)
Then, I want to know what is the line in the program that caused the error, but I can't
I used the gdb debugger but not show me the line number or function name
#gdb -c core
Detected 64-bit corefile.
Invoking /opt/langtools/bin/gdb64.
HP gdb 2.1
Copyright 1986 - 1999 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 2.1 (based on GDB 5.0-hpwdb-20000630)
Wildebeest is free software, covered by the GNU General Public License, and
you are welcome to change it and/or distribute copies of it under certain
conditions. Type "show copying" to see the conditions. There is
absolutely no warranty for Wildebeest. Type "show warranty" for details.
Wildebeest was built for PA-RISC 2.0 (wide), HP-UX 11.00.
Reading symbols from genfhist.exe...done.
Core was generated by `genfhist.exe'.
Program terminated with signal 10, Bus error.
Unable to read in .dynamic section information.
#0 0xc0000000002ee5ec in ?? ()
(gdb) bt
#0 0xc0000000002ee5ec in ?? ()
Error accessing memory address 0x0: Invalid argument.
Can somebody help me, please ?
Thanks in advance
I'd compiled a program with -g option
I run this program (called genfhist.exe) and resulted in core dumped:
Bus error (core dumped)
Then, I want to know what is the line in the program that caused the error, but I can't
I used the gdb debugger but not show me the line number or function name
#gdb -c core
Detected 64-bit corefile.
Invoking /opt/langtools/bin/gdb64.
HP gdb 2.1
Copyright 1986 - 1999 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 2.1 (based on GDB 5.0-hpwdb-20000630)
Wildebeest is free software, covered by the GNU General Public License, and
you are welcome to change it and/or distribute copies of it under certain
conditions. Type "show copying" to see the conditions. There is
absolutely no warranty for Wildebeest. Type "show warranty" for details.
Wildebeest was built for PA-RISC 2.0 (wide), HP-UX 11.00.
Reading symbols from genfhist.exe...done.
Core was generated by `genfhist.exe'.
Program terminated with signal 10, Bus error.
Unable to read in .dynamic section information.
#0 0xc0000000002ee5ec in ?? ()
(gdb) bt
#0 0xc0000000002ee5ec in ?? ()
Error accessing memory address 0x0: Invalid argument.
Can somebody help me, please ?
Thanks in advance
Roger
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2007 10:23 AM
тАО05-16-2007 10:23 AM
Re: Undefined line in gdb
Imho the gdb you are using is built for HP-UX 11.0 not 11i. You most likely need the 11i version of gdb.
~cheers
~cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2007 03:51 PM
тАО05-16-2007 03:51 PM
Solution
First of all, gdb 2.1 is obsolete. This may prevent it from doing a stack trace. The latest is 5.6. You can download this from:
http://www.hp.com/go/wdb
Your signal 10 is occurring in some shared lib.
Have you tried running it in the debugger?
Also see my response in:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1127567
http://www.hp.com/go/wdb
Your signal 10 is occurring in some shared lib.
Have you tried running it in the debugger?
Also see my response in:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1127567
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2008 03:00 PM
тАО07-17-2008 03:00 PM
Re: Undefined line in gdb
Thank you so much
Roger
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