- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- adb64 can not open core file over 2GB
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
Forums
Discussions
Discussions
Discussions
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
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
06-28-2005 11:22 PM
06-28-2005 11:22 PM
adb64 can not open core file over 2GB
HP-UX ring B.11.11 U 9000/800 1868900601 unlimited-user license
The original adb64 can not open core file of 64-bit application that is over 2GB.
adb64 ./hyperroll $TMPDIR/core.org
PA-64 adb ($h help $q quit)
cannot open `/hyperroll/run/alexey/tmp/core.org', errno = 72, Value too large to be stored in data type
When I use the adb64 from the patch PHCO_31592, ir reports something different:
~/src/hpux11/patches/adb-open64/adb-64 ./hyperroll $TMPDIR/core.org
adb: warning: /hyperroll/run/alexey/tmp/core.org: Unknown errno: 72.
adb: warning: /hyperroll/run/alexey/tmp/core.org: Unknown errno: 72.
adb: warning: /hyperroll/run/alexey/tmp/core.org: Unknown errno: 72.
adb: warning: /hyperroll/run/alexey/tmp/core.org: Unknown file type.
adb: warning: File '/hyperroll/run/alexey/tmp/core.org' is not a memory file.
Both of adb64 do not work.
The core file size is 2,239,305,600 bytes.
Please do not recommend other debuggers (q4, gdb, etc).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 11:42 PM
06-28-2005 11:42 PM
Re: adb64 can not open core file over 2GB
open("/hyperroll/run/alexey/tmp/core.org", O_RDONLY|O_LARGEFILE, 070100) = 4
fstat(4, 0x7f7f1750) ERR#72 EOVERFLOW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 11:48 PM
06-28-2005 11:48 PM
Re: adb64 can not open core file over 2GB
what does
what `which adb64`
return?
What was this application written in?
What compiler was used?
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 12:22 AM
06-29-2005 12:22 AM
Re: adb64 can not open core file over 2GB
$Revision: B.11.11_LR
Fri Oct 27 01:03:48 PDT 2000 $
92453-07 linker command s800.sgs libelf PA64 B.11.16 BE 000601
$ B.11.11_LR Oct 26 2000 22:38:10 $
./adb-64:
$Revision: 92453-07 linker linker crt0.o B.11.16.01 030415 $
$Revision: B11.23.0409LR
(this one taken from the HPUX 11.33 patch)
/opt/aCC/bin/aCC:
HP aC++ B3910B A.03.13
HP aC++ B3910B X.03.11.10 Language Support Library
(the compiler used)
/usr/bin/ld:
$Revision: 92453-07 linker linker crt0.o B.11.37 040218 $
HP aC++ B3910B A.03.52 Classic Iostream Library
HP aC++ B3910B A.03.52 Language Support Library
ld_msgs.cat: $Revision: 1.85 $
92453-07 linker command s800.sgs ld PA64 B.11.43 REL 050124
"swlist | grep GOLD" returns:
GOLDAPPS11i B.11.11.0406.5 (June 2004)
GOLDBASE11i B.11.11.0406.5 (June 2004)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 12:55 AM
06-29-2005 12:55 AM
Re: adb64 can not open core file over 2GB
what `which aCC`
/opt/aCC/bin/aCC:
$Revision: 92453-07 linker linker crt0.o B.11.16.01 030316 $
HP aC++ B3910B A.03.52
HP aC++ B3910B A.03.52
HP aC++ B3910B X.03.37.01 Language Support Library
Also, what are your kernel parameter settings?
kmtune
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 12:59 AM
06-29-2005 12:59 AM
Re: adb64 can not open core file over 2GB
Also, we expect that adb64 is not a part of aCC bundle. As I've seen from the PHCO_31592, our expectations are right, and adb should be fixed.
My tries with library interposing of open() and fstat() functions (LD_PRELOAD) didn't catch for adb64 binary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 01:03 AM
06-29-2005 01:03 AM
Re: adb64 can not open core file over 2GB
I think you were interested in maxdsiz*:
maxdsiz 0x80000000 - 0X80000000
maxdsiz_64bit 0x300000000 - 0X300000000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 01:17 AM
06-29-2005 01:17 AM
Re: adb64 can not open core file over 2GB
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 01:29 AM
06-29-2005 01:29 AM
Re: adb64 can not open core file over 2GB
1. OS version does not match
2. The patch does not fix the problem fully
I've just extracted binaries from the depot file (using "tar -xf ...").
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 02:09 AM
06-29-2005 02:09 AM
Re: adb64 can not open core file over 2GB
and the runtime to 3.61: http://www2.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.pdb|patch.breadcrumb.search|&patchid=PHSS_32573&context=hpux:800:11:11
If it continues to have issue with adb, then I'd open a support call with HP.
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 07:11 AM
06-29-2005 07:11 AM
Re: adb64 can not open core file over 2GB
Also, can you explain *exactly*, how aCC and C++ runtime bundle affect adb64 behavior ? adb64 does not use dependant libraries (ldd shows none, chatr says it's a shared executable, but not dynamically linked).
I want to know *exactly* *how* these patches may fix the problem. Because as far as I understand (and I may be wrong), that seem to have no effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 07:42 AM
06-29-2005 07:42 AM
Re: adb64 can not open core file over 2GB
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 07:46 AM
06-29-2005 07:46 AM
Re: adb64 can not open core file over 2GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 07:52 AM
06-29-2005 07:52 AM
Re: adb64 can not open core file over 2GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 07:57 AM
06-29-2005 07:57 AM
Re: adb64 can not open core file over 2GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 08:29 PM
06-29-2005 08:29 PM
Re: adb64 can not open core file over 2GB
PHCO_28774 s700_800 11.11 nadb(1) enablement
This certainly adds a newer version of adb to your 11.11 system for both 32 & 64 bit cores. Doesn't actually indicate whether it fixes your problem though... I guess its worth a try.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 10:06 PM
06-29-2005 10:06 PM
Re: adb64 can not open core file over 2GB
nadb ./hyperroll $TMPDIR/core.org
adb: warning: /hyperroll/run/alexey/tmp/core.org: Unknown errno: 72.
adb: warning: /hyperroll/run/alexey/tmp/core.org: Unknown errno: 72.
adb: warning: /hyperroll/run/alexey/tmp/core.org: Unknown errno: 72.
adb: warning: /hyperroll/run/alexey/tmp/core.org: Unknown file type.
adb: warning: File '/hyperroll/run/alexey/tmp/core.org' is not a memory file.
adb>