- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- U_get_current_frame() dumps core
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
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-08-2003 10:08 PM
тАО08-08-2003 10:08 PM
U_get_current_frame() dumps core
Here is the trace back:
#0 0xc0000000001ba5f4 in U_get_current_frame+0x74 ()
from /usr/lib/pa20_64/libcl.2
(gdb) tb
Breakpoint 1 at 0xc0000000001ba5f4
(gdb) bt
#0 0xc0000000001ba5f4 in U_get_current_frame+0x74 ()
from /usr/lib/pa20_64/libcl.2
#1 0x40000000001239b8 in ABC(frameP=0x800003ffff7f0fe8 "\200")
at pkthread.c:2236
#2 0x4000000000f45ce4 in XYZ
(amount=72,
file=0x80000001002568a0 "outinit.c", line=203) at pkmemory.c:204
#3 0x4000000000eb6504 in outInit (
language=0x80000001000001e8 "en_US.iso88591", maxCached=3000)
at outinit.c:203
#4 0x4000000000115cd8 in main (argCount=1, argVector=0x800003ffff7f05c8)
at test.c:670
(gdb)
Here is my routine
long ABC(void *frameP)
{
int rc = 0;
curr_frame_info curr_frame;
prev_frame_info prev_frame;
U_get_current_frame(&curr_frame);
perror ("return from U_get_current_frame");
printf("curr_frame.size:%l\n", curr_frame.size);
printf("curr_frame.sp:%l\n", curr_frame.sp);
return (0);
}
My application is 64bit running on HP11.11.
Any help will be appreciated. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2003 11:06 PM
тАО08-10-2003 11:06 PM
Re: U_get_current_frame() dumps core
which version of libcl are you using ?
could not see the problem with the version i have:
bash-2.01$ what /usr/lib/pa20_64/libcl.2
/usr/lib/pa20_64/libcl.2:
libcl.sl version B.11.01.08 - Jun 15, 2001
Trap Library version UX.11.01.03(GS IB4) - November 16, 1998
Unwind Library version UX.11.01.05 - 00/08/15
--
ranga
[i work for hpe]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 05:04 AM
тАО08-11-2003 05:04 AM
Re: U_get_current_frame() dumps core
Check against
http://devrsrc1.external.hp.com/STK/partner/unwind.pdf
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 02:15 PM
тАО08-11-2003 02:15 PM
Re: U_get_current_frame() dumps core
root@frau[/usr/lib/pa20_64]% what libcl.2
libcl.2:
libIO77 HP HPUX [ Release B.11.01.15 PA 64bit ]
(hp700:hp/ux) Jan 7 2003
Copyright (c) 2001 Hewlett Packard.
libcl.sl version B.11.01.18 - Jan 3 2003
Trap Library version UX.11.01.06 - 02/04/16
Unwind Library version UX.11.01.05 - 00/08/15
root@frau[/usr/lib/pa20_64]%
I have read "UNWIND PA64 FUNCTIONAL SPECIFICATION" but maybe I don't understand correctly. What routines I should use to setup the current frame before I can call U_get_previous_frame(). My main task is getting information in the previous frame.
Please help if you have used those routines.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 10:30 PM
тАО08-11-2003 10:30 PM
Re: U_get_current_frame() dumps core
curr_frame_info U_get_current_frame (void);
and using it this way gave me some nice-looking results too :
prev_frame_info prev_frame;
curr_frame_info curr_frame=
(U_get_current_frame());
U_get_previous_frame(&curr_frame,&prev_frame);
--
ranga
[i work for hpe]